diff --git a/backend/app/api/http.py b/backend/app/api/http.py index 8751bc3..1ed867b 100644 --- a/backend/app/api/http.py +++ b/backend/app/api/http.py @@ -496,6 +496,8 @@ def _public_task(task: ExportTask) -> dict: "status": task.status, "format": task.file_format, "cellKey": (task.params or {}).get("cellKey") or "", + "start": (task.params or {}).get("start") or "", + "end": (task.params or {}).get("end") or "", "error": task.error, "createdAt": task.created_at.isoformat() if task.created_at else "", } diff --git a/web/src/App.vue b/web/src/App.vue index ce97cf8..4ae279c 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -31,10 +31,18 @@ const overrides = computed(() => ({ bodyColor: palette.value.bg, cardColor: palette.value.panel, textColor2: palette.value.ink, - borderColor: palette.value.line, + textColor3: isDark.value ? "#C9D1D9" : "#57606A", + placeholderColor: isDark.value ? "#C9D1D9" : "#57606A", + borderColor: isDark.value ? "#6E7681" : "#D0D7DE", fontFamily: '"Segoe UI", "Microsoft YaHei", sans-serif', borderRadius: "3px", }, + Input: { + placeholderColor: isDark.value ? "#C9D1D9" : "#57606A", + border: isDark.value ? "1px solid #6E7681" : "1px solid #D0D7DE", + borderHover: isDark.value ? "1px solid #C9D1D9" : "1px solid #57606A", + borderFocus: "1px solid #1F6FEB", + }, })); diff --git a/web/src/features/admin/SettingsView.vue b/web/src/features/admin/SettingsView.vue index 92f2a22..06d0094 100644 --- a/web/src/features/admin/SettingsView.vue +++ b/web/src/features/admin/SettingsView.vue @@ -1,17 +1,33 @@ diff --git a/web/src/styles.css b/web/src/styles.css index 2920bc2..4f83c9c 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -144,7 +144,25 @@ button, input, select { font: inherit; } } .form-row .n-input, .form-row .n-select, -.form-row .n-input-number { width: 100%; } +.form-row .n-input-number, +.form-row .n-date-picker { width: 100%; } +.field-error { margin: 4px 0 0; color: var(--danger); font-size: 12px; } +.form-section { + margin: 14px 0 8px; + color: var(--muted); + font-size: 12px; + font-weight: 650; +} +.hint-mark { + display: inline-grid; + place-items: center; + width: 16px; + height: 16px; + margin-left: 4px; + color: var(--muted); + vertical-align: -2px; + cursor: help; +} .late { color: var(--danger); } .settings-form { height: 100%;