From b1049d804ae372804334381b5bff385950e09900 Mon Sep 17 00:00:00 2001 From: Sean Du Date: Thu, 4 Jun 2026 18:28:22 +0800 Subject: [PATCH] webui: Move admin copyright to login page - Remove admin footer from backend pages to avoid content overlap - Show copyright text at the bottom-left of the login page instead - Simplify admin content area layout after dropping footer Signed-off-by: Sean Du --- static/templates/admin/card.html | 4 +- static/templates/admin/index.html | 4 +- static/templates/admin/login.html | 10 ++ static/templates/admin/nav/css.html | 23 +++- static/templates/admin/nav/footer.html | 5 - static/templates/admin/profile.html | 140 ++++++++++++------------- static/templates/admin/upload.html | 4 +- 7 files changed, 104 insertions(+), 86 deletions(-) delete mode 100644 static/templates/admin/nav/footer.html diff --git a/static/templates/admin/card.html b/static/templates/admin/card.html index 7780ac6..2f3d15e 100644 --- a/static/templates/admin/card.html +++ b/static/templates/admin/card.html @@ -9,7 +9,7 @@ {{ template "admin/nav/css.html" . }} - +
{{ template "admin/nav/header.html" . }} {{ template "admin/nav/side.html" . }} @@ -17,8 +17,6 @@
{{ .url }}
- - {{ template "admin/nav/footer.html" . }}
diff --git a/static/templates/admin/index.html b/static/templates/admin/index.html index 8605b5e..9a3a39a 100644 --- a/static/templates/admin/index.html +++ b/static/templates/admin/index.html @@ -9,7 +9,7 @@ {{ template "admin/nav/css.html" . }} - +
{{ template "admin/nav/header.html" . }} {{ template "admin/nav/side.html" . }} @@ -17,8 +17,6 @@
{{ .url }}
- - {{ template "admin/nav/footer.html" . }}
diff --git a/static/templates/admin/login.html b/static/templates/admin/login.html index 80e8ae3..dc432b1 100644 --- a/static/templates/admin/login.html +++ b/static/templates/admin/login.html @@ -28,6 +28,15 @@ .layui-input { width: 85%; } + + .login-copyright { + position: fixed; + left: 20px; + bottom: 14px; + color: rgba(255, 255, 255, 0.92); + font-size: 14px; + text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); + } @@ -35,6 +44,7 @@
+