From 6377a42a8fdc388d3f59fa4b90b5d64a8c14a0b4 Mon Sep 17 00:00:00 2001 From: soehi <811446351@qq.com> Date: Fri, 6 Nov 2026 16:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BD=91=E7=AB=99=E5=80=BC?= =?UTF-8?q?=E7=8F=AD=E7=A1=AE=E8=AE=A4=E5=92=8C=E6=8C=89=E9=92=AE=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=82=AE=E4=BB=B6=E5=85=A5=E5=8F=A3=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=B4=BB=E5=8A=A8=E9=82=AE=E4=BB=B6=E8=B7=A8=E7=AB=99?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/assets/styles.css | 3 ++ dist/index.html | 11 ++-- dist/js/app.js | 24 ++++++++- duty/README.md | 4 ++ server/duty_receipts.py | 51 ++++++++++++++++++ server/main.py | 100 +++++++++++++++++++++++++++++++----- tests/test_api.py | 80 +++++++++++++++++++++++++++++ tests/test_duty_receipts.py | 7 +++ tests/test_notify.py | 8 ++- tests/test_security.py | 24 ++++++++- 10 files changed, 292 insertions(+), 20 deletions(-) diff --git a/dist/assets/styles.css b/dist/assets/styles.css index cef7847..4ed8254 100644 --- a/dist/assets/styles.css +++ b/dist/assets/styles.css @@ -578,3 +578,6 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s #change-email-result:empty { display: none; } .duty-absence-row { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); } .duty-absence-row b { color: var(--ink); } +.duty-row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } +.settings-divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; } +@media (max-width: 520px) { .duty-reminder-row { flex-wrap: wrap; } .duty-row-actions { width: 100%; } } diff --git a/dist/index.html b/dist/index.html index dc595e1..1826366 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@
本轮结束仍未确认邮件,记为“未确认缺勤”。此记录不代表实际到岗核验,值班不计入活动统计。
+本轮结束仍未在网站或邮件中确认,记为“未确认缺勤”。此记录不代表实际到岗核验,值班不计入活动统计。
向当前账号绑定的邮箱发送测试邮件,同一邮箱每 2 分钟可测试一次。
+测试按钮跳转和确认,不改变正式活动、值班和缺勤记录。与连通性测试共用 2 分钟冷却。
+ +