dashboard: redesign on Bootstrap 5, split page into external css/js

Page now uses Bootstrap 5.3 color modes (data-bs-theme), Bootstrap Icons,
and Bootstrap modals. Custom code shrinks to dashboard.css (app tokens,
score bar, signal accents) and dashboard.js (rendering/polling logic,
ported verbatim from the inline script). dashboard_publisher copies the
new css/js into the docroot; all 381 tests still green.
This commit is contained in:
Harwinder Sekhon
2026-08-13 23:30:30 -04:00
parent e609b433b0
commit be5144bc67
5 changed files with 1185 additions and 1444 deletions
+1 -1
View File
@@ -5670,7 +5670,7 @@ def _():
pub = dpub.DashboardPublisher(out_dir=tmp)
pub.install_static()
assert sorted(os.listdir(tmp)) == \
["dashboard.html", "news_summary.php"] # both installed, no .tmp
["dashboard.css", "dashboard.html", "dashboard.js", "news_summary.php"] # all installed, no .tmp
@test("dashboard: publish is atomic and leaves no temp file")