From 8c14544ca1a3614b10b1696f0f8759525cd550bf Mon Sep 17 00:00:00 2001 From: DSQ Date: Mon, 17 Nov 2025 19:23:51 +0800 Subject: [PATCH] =?UTF-8?q?UI=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- accounts/templates/accounts/login.html | 2 +- accounts/templates/accounts/register.html | 2 +- elastic/templates/elastic/manage.html | 76 +---- .../templates/elastic/registration_codes.html | 171 +++++++++- elastic/templates/elastic/upload.html | 311 +++--------------- elastic/templates/elastic/users.html | 76 +---- main/templates/main/home.html | 145 ++------ 7 files changed, 264 insertions(+), 519 deletions(-) diff --git a/accounts/templates/accounts/login.html b/accounts/templates/accounts/login.html index 7cbd268..0fac666 100644 --- a/accounts/templates/accounts/login.html +++ b/accounts/templates/accounts/login.html @@ -12,7 +12,7 @@ .container { max-width: 360px; margin: 12vh auto; padding: 24px; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); } h1 { font-size: 20px; margin: 0 0 16px; } label { display: block; margin: 12px 0 6px; color: #333; } - input { width: 100%; padding: 10px 12px; border: 1px solid #dcdde1; border-radius: 6px; } + input { width: 100%; padding: 10px 0px; border: 1px solid #dcdde1; border-radius: 6px; } button { width: 100%; margin-top: 16px; padding: 10px 12px; background: #2d8cf0; color: #fff; border: none; border-radius: 6px; cursor: pointer; } button:disabled { background: #9bbcf0; cursor: not-allowed; } .error { color: #d93025; margin-top: 10px; min-height: 20px; } diff --git a/accounts/templates/accounts/register.html b/accounts/templates/accounts/register.html index 5f93502..791cbe9 100644 --- a/accounts/templates/accounts/register.html +++ b/accounts/templates/accounts/register.html @@ -8,7 +8,7 @@ .container { max-width: 400px; margin: 10vh auto; padding: 24px; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); } h1 { font-size: 20px; margin: 0 0 16px; } label { display:block; margin: 12px 0 6px; color:#333; } - input { width:100%; padding:10px 12px; border:1px solid #dcdde1; border-radius:6px; } + input { width:100%; padding:10px 0px; border:1px solid #dcdde1; border-radius:6px; } button { width:100%; margin-top:16px; padding:10px 12px; background:#2d8cf0; color:#fff; border:none; border-radius:6px; cursor:pointer; } button:disabled { background:#9bbcf0; cursor:not-allowed; } .error { color:#d93025; margin-top:10px; min-height:20px; } diff --git a/elastic/templates/elastic/manage.html b/elastic/templates/elastic/manage.html index 34eddfa..a904900 100644 --- a/elastic/templates/elastic/manage.html +++ b/elastic/templates/elastic/manage.html @@ -4,70 +4,18 @@ 数据管理