Added footer2 logo left and middle text

This commit is contained in:
Simon Redfern 2017-03-28 17:05:42 +02:00
parent 6b1aa7b9cf
commit 930f8aec63
4 changed files with 29 additions and 1 deletions

View File

@ -4,6 +4,7 @@
```
Date Commit Action
28/03/2017 Added webui_footer2_logo_left_url and webui_footer2_middle_text - for bottom footer, default=""
28/03/2017 Added Props webui_top_text which is used by default.html (default="")
22/03/2017 51d1742 Added Props webui_api_manager_url which is used by button on home page.
21/03/2017 Added Props authUser.skipEmailValidation . This defaults to true to maintain current behaviour

View File

@ -207,6 +207,13 @@ webui_index_page_about_section_text = <p class="about-text"> \
webui_top_text=""
# Bottom Footer logo
#webui_footer2_logo_left_url=
# Bottom Footer middle text
#webui_footer2_middle_text=
# API Explorer url. Change to your instance
webui_api_explorer_url = http://apiexplorer.openbankproject.com

View File

@ -83,6 +83,16 @@ class WebUI extends Loggable{
"img [src]" #> Props.get("webui_header_logo_right_url", "")
}
def footer2LogoLeft = {
"img [src]" #> Props.get("webui_footer2_logo_left_url", "")
}
def footer2MiddleText: CssSel = {
"#footer2-middle-text *" #> scala.xml.Unparsed(Props.get("webui_footer2_middle_text", ""))
}
def aboutBackground: CssSel = {
"#main-about [style]" #> ("background-image: url(" + Props.get("webui_index_page_about_section_background_image_url", "") + ");")
}

View File

@ -136,8 +136,18 @@ Berlin 13359, Germany
<a class="sofi-link lift:WebUI.sofiLink" href="">Sofi</a>
</div>
</footer>
<footer2 id="footer2">
<div id="footer2-logo-left" class="lift:WebUI.footer2LogoLeft">
<a href="/"><img src="" alt=""></a>
</div>
<div id="footer2-middle-text" class="lift:WebUI.footer2MiddleText">
This is the footer2 middle text
</div>
</footer2>
</div>
<!-- <a id="feedBack" href="http://polarize.it/polarize/openbankprojectdemoa_78828874370"></a> -->
</div>
</body>
</html>