From 33a749c8d1e171898ceefeef8f49e79c69f4a8ad Mon Sep 17 00:00:00 2001 From: librelad Date: Fri, 29 May 2026 00:20:09 +0100 Subject: [PATCH] =?UTF-8?q?ux(admin):=20rename=20Overview=20=E2=86=92=20Da?= =?UTF-8?q?shboard=20+=20add=20header=20icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Renames the Admin landing to "Dashboard" in both the page title and the sidebar label, and adds a leading header icon (the grid icon, matching the Backup dashboard) via the shared .page-header-icon-slot. System gets a cpu icon in its header too. The slot styles come from the globally-loaded backup.css, so no new CSS is needed. Co-Authored-By: Claude Opus 4.7 Signed-off-by: librelad --- .../libreportal/frontend/js/components/admin/admin-overview.js | 3 ++- .../libreportal/frontend/js/components/admin/admin-system.js | 1 + .../frontend/js/components/config/config-sidebar.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/containers/libreportal/frontend/js/components/admin/admin-overview.js b/containers/libreportal/frontend/js/components/admin/admin-overview.js index e0ea8d9..10722b5 100644 --- a/containers/libreportal/frontend/js/components/admin/admin-overview.js +++ b/containers/libreportal/frontend/js/components/admin/admin-overview.js @@ -233,9 +233,10 @@ class AdminOverview { root.innerHTML = `
diff --git a/containers/libreportal/frontend/js/components/admin/admin-system.js b/containers/libreportal/frontend/js/components/admin/admin-system.js index 5e735e1..03cd48a 100644 --- a/containers/libreportal/frontend/js/components/admin/admin-system.js +++ b/containers/libreportal/frontend/js/components/admin/admin-system.js @@ -324,6 +324,7 @@ class AdminSystem { root.innerHTML = `