sync: import complete app.py/mailer.py/collect.py + dev customizations

完整功能 (相对于 ac9a060):
- app.py: 1276 行 (vs 633 行) — 含 /api/email/* + /api/export + Chart 小数
- mailer.py: 645 行 — SMTP 邮件模块 + scheduler
- collect.py: 233 行 — Python 3.6 兼容 (typing.Dict 代替 dict[X,Y])
- README.md: 整合版
- templates/email_config.html: 邮件配置 Web UI
- static/style.css: 邮件状态徽章等新样式

清理:
- 删除 'palladium-monitor/' 子目录 (远端残留, 已废弃)
This commit is contained in:
Hermes
2026-07-08 15:23:24 +08:00
parent ac9a060b46
commit 83621cb213
12 changed files with 23 additions and 1371 deletions
+16
View File
@@ -794,6 +794,22 @@ body {
gap: 16px;
}
.form-section:first-of-type { border-top: none; padding-top: 0; }
.form-section-title {
grid-column: 1 / -1;
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 4px;
padding-top: 4px;
}
/* 输入框提示文字 */
.input-hint {
display: block;
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
}
/* 全宽字段 */
.form-group.full-width { grid-column: 1 / -1; }