From bcacd7e084283ddc72bad7f0c99dfdc216fd4b95 Mon Sep 17 00:00:00 2001 From: "Crystal.Sea" Date: Thu, 7 Jan 2021 23:56:36 +0800 Subject: [PATCH] layout --- .../src/main/resources/static/css/base.css | 8 +-- .../templates/views/layout/footer.ftl | 4 +- .../templates/views/layout/nologintop.ftl | 39 ++++++++--- .../resources/templates/views/layout/top.ftl | 4 +- .../main/resources/templates/views/login.ftl | 66 +++++++------------ 5 files changed, 60 insertions(+), 61 deletions(-) diff --git a/maxkey-web-maxkey/src/main/resources/static/css/base.css b/maxkey-web-maxkey/src/main/resources/static/css/base.css index e7e12722..820399b3 100644 --- a/maxkey-web-maxkey/src/main/resources/static/css/base.css +++ b/maxkey-web-maxkey/src/main/resources/static/css/base.css @@ -30,14 +30,14 @@ body{ vertical-align: central; } -#topBar{ +#top{ text-shadow: 0 1px 0 #fff; border-bottom: 1px solid #e5e5e5; - min-width: 100%; align:left; min-height: 60px; - margin-bottom: 1px; + margin-bottom: 5px; } + #topNav{ border-bottom: 1px solid #e5e5e5; } @@ -81,7 +81,7 @@ body{ border-top: 1px solid #e5e5e5; min-width: 100%; height:80px; - + margin-top: 5px; } #content{ diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl index 61318333..505648ce 100644 --- a/maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl +++ b/maxkey-web-maxkey/src/main/resources/templates/views/layout/footer.ftl @@ -1,6 +1,6 @@ <#-- footer --> - \ No newline at end of file diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/layout/top.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/layout/top.ftl index 7c3bde93..4f75366d 100644 --- a/maxkey-web-maxkey/src/main/resources/templates/views/layout/top.ftl +++ b/maxkey-web-maxkey/src/main/resources/templates/views/layout/top.ftl @@ -6,7 +6,7 @@
<@locale code="global.application"/>
-
+
@@ -22,7 +22,7 @@
-
+
diff --git a/maxkey-web-maxkey/src/main/resources/templates/views/login.ftl b/maxkey-web-maxkey/src/main/resources/templates/views/login.ftl index a9b6ae05..1721e019 100644 --- a/maxkey-web-maxkey/src/main/resources/templates/views/login.ftl +++ b/maxkey-web-maxkey/src/main/resources/templates/views/login.ftl @@ -357,49 +357,29 @@
- - - - - - - - -
<@locale code="global.change.language"/> : - -
-
- - - - - - <#list ssopList as ssop> - <#if (ssop_index)%3==0> - - - - <#if (ssop_index +1)%3==0> - - - - <#if (ssopList?size)%3!=0> - - -
<@locale code="login.text.otherlogins"/>:
- - -    -
-
-
+ + + + + + + <#list ssopList as ssop> + <#if (ssop_index)%3==0> + + + + <#if (ssop_index +1)%3==0> + + + + <#if (ssopList?size)%3!=0> + + +
<@locale code="login.text.otherlogins"/>:
+ + +    +