From f100cef8428a69862ef52fff5f579a523f78f90b Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 2 Jul 2026 14:32:00 +0200 Subject: [PATCH] D0 Part 3: deploy + backups + monitoring in v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - deploy.html: stacked memory bar -> meter track with two segments (committed solid blue, new app 35%-opacity blue), neutral threshold ticks; integration status badges -> tags; meta pills -> metarows; 3-step deploy progress icons -> sprite (check/x/triangle-alert/ spinning rotate-cw); emoji -> icons or plain text incl. the JS confirm string. - backups.html: storage bars -> meters, disconnected drives render an empty track with a neutral 'Leválasztva' (no red), drive-state badges -> warn tags, checkmark/warning glyphs -> sprite icons, JS flash/info strings de-emojified. - monitoring.html: bars -> meters in both template and JS-generated host-storage markup (usageColorClass now emits nominal/warn/crit); Chart.js palette per spec (cpu #2EA8F5, memory #8E7CE8, temp #E0A93E, load #5EC4B6 — categorical data series keep distinct hues); tooltip/ grid/tick colors moved to v2 literals; mem-dist palette rebalanced. - Templates repo-wide: legacy var(--*) names in inline styles and JS string literals renamed to v2 tokens (old names no longer resolve). - style.css: memory-bar family rewritten for the two-segment meter, .ico-spin animation added (reduced-motion respected). --- .../setup/templates/setup_restore_exec.html | 2 +- .../internal/web/templates/app_export.html | 18 ++-- .../internal/web/templates/app_import.html | 14 +-- .../internal/web/templates/app_info.html | 6 +- .../internal/web/templates/backups.html | 52 +++++----- controller/internal/web/templates/debug.html | 14 +-- controller/internal/web/templates/deploy.html | 66 ++++++------- controller/internal/web/templates/layout.html | 26 ++--- .../internal/web/templates/monitoring.html | 96 +++++++++---------- .../internal/web/templates/settings.html | 8 +- .../internal/web/templates/storage_init.html | 2 +- controller/internal/web/templates/style.css | 62 +++++------- .../internal/web/templates/tier2_config.html | 8 +- 13 files changed, 178 insertions(+), 196 deletions(-) diff --git a/controller/internal/setup/templates/setup_restore_exec.html b/controller/internal/setup/templates/setup_restore_exec.html index 874aa99..0c86ae5 100644 --- a/controller/internal/setup/templates/setup_restore_exec.html +++ b/controller/internal/setup/templates/setup_restore_exec.html @@ -58,7 +58,7 @@ if (step.status === 'done') icon = ''; else if (step.status === 'running') icon = ''; else if (step.status === 'failed') icon = ''; - else icon = ''; + else icon = ''; li.innerHTML = icon + ' ' + step.label; if (step.error) li.innerHTML += '
' + step.error + ''; list.appendChild(li); diff --git a/controller/internal/web/templates/app_export.html b/controller/internal/web/templates/app_export.html index 2cf5156..c5d8ed2 100644 --- a/controller/internal/web/templates/app_export.html +++ b/controller/internal/web/templates/app_export.html @@ -17,7 +17,7 @@ {{end}} -