diff --git a/static/css/observability-system.css b/static/css/observability-system.css index 39b0e39..7e07dd7 100644 --- a/static/css/observability-system.css +++ b/static/css/observability-system.css @@ -559,6 +559,42 @@ padding: 0.36em 0.62em; } +.momo-observability-mode .obs-chart-frame { + height: 250px; + min-height: 220px; +} + +.momo-observability-mode .obs-chart-frame-tall { + height: 260px; +} + +.momo-observability-mode .obs-chart-frame-slim { + height: 86px; + min-height: 72px; +} + +.momo-observability-mode .obs-progress-xs { + height: 6px; +} + +.momo-observability-mode .obs-progress-sm { + height: 8px; +} + +.momo-observability-mode .quality-distribution-cell { + width: 200px; +} + +.momo-observability-mode .budget-input { + width: 110px; + max-width: 100%; +} + +.momo-observability-mode .alert-input { + width: 80px; + max-width: 100%; +} + /* Cross-page layout hardening */ .momo-observability-mode .momo-content { overflow-x: hidden; diff --git a/templates/admin/budget.html b/templates/admin/budget.html index fa068d6..07874df 100644 --- a/templates/admin/budget.html +++ b/templates/admin/budget.html @@ -55,7 +55,7 @@
Budget Lines

預算線與節流狀態

-
{% for r in rows %}= 0.8 %}class="table-warning"{% endif %}>{% else %}{% endfor %}
週期供應商已花費預算閾值使用率狀態動作
{{ r.period }}{{ r.provider }}${{ "%.2f"|format(r.spent) }}{{ "%.0f"|format(r.ratio * 100) }}%{% if r.throttled %}已節流{% elif r.ratio >= 0.8 %}接近上限{% else %}正常{% endif %}
無預算資料(需先跑 migrations/025)
+
{% for r in rows %}= 0.8 %}class="table-warning"{% endif %}>{% else %}{% endfor %}
週期供應商已花費預算閾值使用率狀態動作
{{ r.period }}{{ r.provider }}${{ "%.2f"|format(r.spent) }}{{ "%.0f"|format(r.ratio * 100) }}%{% if r.throttled %}已節流{% elif r.ratio >= 0.8 %}接近上限{% else %}正常{% endif %}
無預算資料(需先跑 migrations/025)
{% if cost_trend_30d %} @@ -65,11 +65,11 @@ diff --git a/templates/admin/host_health.html b/templates/admin/host_health.html index 3400b4f..46f8a77 100644 --- a/templates/admin/host_health.html +++ b/templates/admin/host_health.html @@ -121,7 +121,7 @@
P0/P1{{ aiops_summary.incidents_p0 + aiops_summary.incidents_p1 }}
平均耗時{{ aiops_summary.heals_avg_ms }}ms
- {% if aiops_summary.heal_sparkline %}
{% endif %} + {% if aiops_summary.heal_sparkline %}
{% endif %} {% endif %} diff --git a/templates/admin/observability_overview.html b/templates/admin/observability_overview.html index f19954b..05e4178 100644 --- a/templates/admin/observability_overview.html +++ b/templates/admin/observability_overview.html @@ -60,7 +60,7 @@ margin: 0.85rem 0 0.4rem; max-width: 820px; font-family:'Noto Sans TC','Inter',sans-serif; - font-size: clamp(2rem, 4.6vw, 4.45rem); + font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 0.95; letter-spacing: -0.055em; } @@ -284,7 +284,7 @@ .obs-link-button:hover { transform: translateY(-1px); - background: #fff; + background: rgba(255, 252, 247, 0.96); box-shadow: 0 10px 24px rgba(201, 100, 66, 0.14); color: var(--obs-accent); } @@ -331,7 +331,7 @@ .obs-route-card:hover { border-color: rgba(201, 100, 66, 0.28); - background: #fff; + background: rgba(255, 252, 247, 0.96); color: var(--obs-ink); transform: translateX(3px); } diff --git a/templates/admin/ppt_audit_history.html b/templates/admin/ppt_audit_history.html index bf78b4f..9ea6eb4 100644 --- a/templates/admin/ppt_audit_history.html +++ b/templates/admin/ppt_audit_history.html @@ -18,7 +18,7 @@
Generated Files

過去 7 日 PPT 檔案

{% for f in files %}{% else %}{% endfor %}
檔名KB修改時間狀態
{{ f.name }}{{ f.size_kb }}{{ f.mtime }}22:00 cron 自動審核
過去 7 日無 PPT 生成
diff --git a/templates/admin/promotion_review.html b/templates/admin/promotion_review.html index c5de35c..7af5d47 100644 --- a/templates/admin/promotion_review.html +++ b/templates/admin/promotion_review.html @@ -83,7 +83,7 @@