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 <do4suki@gmail.com>
This commit is contained in:
2026-06-04 19:31:36 +08:00
parent fa2efe4298
commit b1049d804a
7 changed files with 104 additions and 86 deletions
+21 -2
View File
@@ -3,13 +3,32 @@
<link rel="stylesheet" href="/static/css/layui.css">
<style>
html,
body.layui-layout-body {
height: 100%;
}
body.layui-layout-body {
overflow-y: auto;
overflow-x: hidden;
}
.layui-layout.layui-layout-admin {
min-height: 100%;
}
.sif-title {
font-size: 1.3em;
color: aliceblue;
}
.layui-body {
padding-top: 30px;
.layui-layout-admin .layui-body {
position: static;
margin-top: 60px;
margin-left: 200px;
padding: 30px 15px 20px;
box-sizing: border-box;
min-height: calc(100vh - 60px);
}
.layui-header {
-5
View File
@@ -1,5 +0,0 @@
{{ define "admin/nav/footer.html" }}
<div class="layui-footer">
Copyright © 2023-2026 YumeMichi
</div>
{{ end }}