From 9c4a3a41bcf48c742344ef027e2e6068641909b4 Mon Sep 17 00:00:00 2001 From: bluebluesoda <300733005+bluebluesoda@users.noreply.github.com> Date: Sat, 19 Sep 2026 06:11:46 +0000 Subject: [PATCH] fix(admin): make the quota modal's cancel button findable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The quota dialog has grown a second and a third form, and the plain Cancel button sitting inside the first form's grid was easy to miss — and it is the only way out. It now lives in the dialog's own footer at the bottom right, uses the danger styling, and says what it does: 取消且不保存 / Cancel without saving. Co-authored-by: CommandCodeBot --- src/internal/admin/templates/admin_overview.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/internal/admin/templates/admin_overview.html b/src/internal/admin/templates/admin_overview.html index e16c118..ac3b2ab 100644 --- a/src/internal/admin/templates/admin_overview.html +++ b/src/internal/admin/templates/admin_overview.html @@ -435,7 +435,6 @@ a.copy.copied { border-color: #86efac; background: #dcfce7; color: #15803d; } {{end}} -
@@ -462,6 +461,9 @@ a.copy.copied { border-color: #86efac; background: #dcfce7; color: #15803d; } {{if eq .Lang "zh"}}将当月已用流量清零,不影响 CPU/内存/磁盘配额{{else}}Zeroes this month's used traffic; CPU/mem/disk quotas are unaffected{{end}} +
+ +