diff --git a/config.toml b/config.toml index 1466249..433d572 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,7 @@ port = 37777 frontend_dir = "./dist" # 对外访问地址(用于邮件里的链接)。留空时使用本机地址; # 通过固定域名/IP 访问时建议写全,如 "http://你的服务器IP:37777" -base_url = "" +base_url = "https://worklog.bansonic.top" [notify] # 有人发起活动(参与不算)时,给其他所有已注册用户发邮件通知,邮件里带"一键我也参加过"按钮 diff --git a/dist/assets/styles.css b/dist/assets/styles.css index 15dbee6..1fc6ae4 100644 --- a/dist/assets/styles.css +++ b/dist/assets/styles.css @@ -548,7 +548,7 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s .code-row { gap: 6px; } .code-row .btn { padding-inline: 10px; } } -.duty-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; margin-bottom: 24px; background: var(--primary-soft); border: 1px solid #d5e5da; border-radius: var(--radius); } +.duty-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; margin-bottom: 24px; background: var(--primary-soft); border: 1px solid #d5e5da; border-radius: var(--radius); } .duty-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; } .duty-label { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-size: 13px; } .on-duty .duty-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); } @@ -565,3 +565,10 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } } + +.duty-reminders { flex-basis: 100%; min-width: 0; } +.duty-reminders:empty { display: none; } +.duty-reminder-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid #cbded1; } +.duty-reminder-row > div { min-width: 0; overflow-wrap: anywhere; } +.duty-reminder-row .muted { display: block; margin-top: 5px; } +.duty-reminder-row .btn { flex: none; min-height: 40px; } diff --git a/dist/index.html b/dist/index.html index 7ee2c38..30fa158 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@
向当前账号绑定的邮箱发送测试邮件,同一邮箱每 2 分钟可测试一次。
+ + +支持邮箱密码或邮箱验证码登录。忘记密码时可通过邮箱验证码重设;修改密码后,其他设备上的登录状态会退出。
@@ -246,7 +253,7 @@ - +