From 62a26ece28b8307e48de2b2480b1f2e54508c6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sch=C3=A4rtl?= <andreas@schaertl.me> Date: Wed, 21 Oct 2020 15:10:33 +0200 Subject: [PATCH] app: add logos and legal links --- .../spark/template/freemarker/base.flt | 64 +++++++++++++++---- 1 file changed, 52 insertions(+), 12 deletions(-) diff --git a/src/ulo-storage-applications/src/main/resources/spark/template/freemarker/base.flt b/src/ulo-storage-applications/src/main/resources/spark/template/freemarker/base.flt index 1a21805..47d911d 100644 --- a/src/ulo-storage-applications/src/main/resources/spark/template/freemarker/base.flt +++ b/src/ulo-storage-applications/src/main/resources/spark/template/freemarker/base.flt @@ -29,9 +29,25 @@ footer { border-top: solid 1px; color: grey; + display: flex; margin-top: 1em; padding: 1em; + } + + div.left_footer { + float: left; + text-align: left; + width: 30%; + } + + div.right_footer { + float: right; text-align: right; + width: 70%; + } + + img.logo { + padding-right: 1em; } code { @@ -72,21 +88,45 @@ <@page_main/> </main> <footer> - <#if global_hostname??> - Application Host <code>${global_hostname}</code> | - </#if> + <div class="left_footer"> + <a href="https://kwarc.info"> + <img class="logo" src="https://mathhub.info/static/logos/kwarc_logo.png"> + </a> + + <a href="https://www.fau.de"> + <img class="logo" src="https://mathhub.info/static/logos/fau_logo.png"> + </a> + </div> + + <div class="right_footer"> + <#if global_hostname??> + Application Host <code>${global_hostname}</code> | + </#if> + + <#if global_server_url??> + GraphDB Server <code>${global_server_url}</code> | + </#if> + + <#if global_repository??> + GraphDB Repository <code>${global_repository}</code> | + </#if> + + <a href="https://gl.kwarc.info/supervision/schaertl_andreas/-/tree/master/src/ulo-storage-applications"> + Source Code + </a> + + | - <#if global_server_url??> - GraphDB Server <code>${global_server_url}</code> | - </#if> + <a href="https://privacy.kwarc.info/"> + Privacy Policy + </a> - <#if global_repository??> - GraphDB Repository <code>${global_repository}</code> | - </#if> + | - <a href="https://gl.kwarc.info/supervision/schaertl_andreas/-/tree/master/src/ulo-storage-applications"> - Source Code - </a> + <a href="https://mathhub.info/legal/imprint"> + Imprint + </a> + </div> </footer> </body> </html> -- GitLab