mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 11:06:49 +00:00
commit
9b40cb6147
@ -529,6 +529,11 @@ class Boot extends MdcLoggable {
|
||||
Menu.i("Plain") / "plain",
|
||||
Menu.i("Static") / "static",
|
||||
Menu.i("SDKs") / "sdks",
|
||||
Menu.i("Debug") / "debug",
|
||||
Menu.i("debug-basic") / "debug" / "debug-basic",
|
||||
Menu.i("debug-localization") / "debug" / "debug-localization",
|
||||
Menu.i("debug-plain") / "debug" / "debug-plain",
|
||||
Menu.i("debug-webui") / "debug" / "debug-webui",
|
||||
Menu.i("Consumer Admin") / "admin" / "consumers" >> Admin.loginFirst >> LocGroup("admin")
|
||||
submenus(Consumer.menus : _*),
|
||||
Menu("Consumer Registration", Helper.i18n("consumer.registration.nav.name")) / "consumer-registration" >> AuthUser.loginFirst,
|
||||
|
||||
@ -460,6 +460,12 @@ class WebUI extends MdcLoggable{
|
||||
def forBanks: CssSel = {
|
||||
"@for-banks [style]" #> s"display: $displayForBanks"
|
||||
}
|
||||
def userIsLoggedIn: CssSel = {
|
||||
if(AuthUser.loggedIn_?)
|
||||
"#register-link [href]" #> scala.xml.Unparsed(s"/already-logged-in")
|
||||
else
|
||||
"#register-link [href]" #> scala.xml.Unparsed(s"/user_mgt/sign_up")
|
||||
}
|
||||
|
||||
def alreadyLoggedIn: CssSel = {
|
||||
lazy val logoutLink = s" ${Constant.HostName}${AuthUser.logoutPath.foldLeft("")(_ + "/" + _)}"
|
||||
|
||||
44
obp-api/src/main/webapp/debug.html
Normal file
44
obp-api/src/main/webapp/debug.html
Normal file
@ -0,0 +1,44 @@
|
||||
<!--
|
||||
Open Bank Project - API
|
||||
Copyright (C) 2011-2021, TESOBE GmbH.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Email: contact@tesobe.com
|
||||
TESOBE GmbH
|
||||
Osloerstrasse 16/17
|
||||
Berlin 13359, Germany
|
||||
|
||||
This product includes software developed at
|
||||
TESOBE (http://www.tesobe.com/)
|
||||
by
|
||||
Simon Redfern : simon AT tesobe DOT com
|
||||
Sebastian Henschel: sebastian AT tesobe DOT com
|
||||
-->
|
||||
<title>The page for debugging</title>
|
||||
|
||||
<H1>Here are the debugging pages.</H1>
|
||||
|
||||
<h3><a href="/debug/debug-plain">debug-plain -- no Liftweb involved. </a></h3>
|
||||
<h3><a href="/debug/debug-basic">debug-basic -- call LiftWeb code 'surround'.</a></h3>
|
||||
<h3><a href="/debug/debug-localization">debug-localization -- call Localization 'lift:loc' method.</a></h3>
|
||||
<h3><a href="/debug/debug-webui">debug-webui -- call webui method 'apiDocumentationLink' method.</a></h3>
|
||||
|
||||
|
||||
<hr>
|
||||
<hr>
|
||||
<h1>Here are the debugging endpoints.</h1>
|
||||
<h3><a href="/obp/v5.0.0/root">Get Root -- Return data from Liftweb server. </a></h3>
|
||||
<h3><a href="/obp/v5.0.0/banks">Get Banks -- Return data from backend, default is postgres database. </a></h3>
|
||||
<h3><a href="/obp/v5.0.0/resource-docs/v5.0.0/obp">Get Resource Docs -- Return data from Liftweb, but around 2.3M data. </a></h3>
|
||||
20
obp-api/src/main/webapp/debug/debug-basic.html
Normal file
20
obp-api/src/main/webapp/debug/debug-basic.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
|
||||
|
||||
<head><title>Basic Liftweb Suround with default</title></head>
|
||||
|
||||
<div id="main" data-lift="surround?with=default;at=content" tabindex="-1">
|
||||
|
||||
<h1>I call LiftWeb code surround</h1>
|
||||
with a <a href="http://www.example.com">link</a>
|
||||
<h1>Link to static</h1><a href="/static">static image</a>
|
||||
<h1>Link to SDKs</h1><a href="/sdks">SDKs</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
164
obp-api/src/main/webapp/debug/debug-localization.html
Normal file
164
obp-api/src/main/webapp/debug/debug-localization.html
Normal file
@ -0,0 +1,164 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head><title>Debug The Localization</title></head>
|
||||
|
||||
<div>
|
||||
<h1>I will call Localization 'lift:loc' 40 times. </h1>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
<a class="api-documentation-link" href="">
|
||||
<lift:loc locid="api_documentation">Loc</lift:loc>
|
||||
</a><br>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -1,8 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head><title>Example HTML</title></head>
|
||||
<body bgcolor="green">
|
||||
<h1>I am some Example HTML</h1>
|
||||
<head><title>Plain HTML</title></head>
|
||||
<h1>I am an Example HTML, no Liftweb involved. </h1>
|
||||
with a <a href="http://www.example.com">link</a>
|
||||
<h1>Link to static</h1><a href="/static">static image</a>
|
||||
<h1>Link to SDKs</h1><a href="/sdks">SDKs</a>
|
||||
165
obp-api/src/main/webapp/debug/debug-webui.html
Normal file
165
obp-api/src/main/webapp/debug/debug-webui.html
Normal file
@ -0,0 +1,165 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
||||
<head><title>Debug Webui Props Exists with Loc</title></head>
|
||||
<body bgcolor="green">
|
||||
|
||||
<div>
|
||||
<h1>I will call webui method 'apiDocumentationLink' 40 times. </h1>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
<a class="api-documentation-link" data-lift="WebUI.apiDocumentationLink" href="">
|
||||
API
|
||||
</a><br>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user