From ae790853bf691cf3d89cc2faf3a207150c222195 Mon Sep 17 00:00:00 2001 From: librelad Date: Wed, 27 May 2026 01:04:03 +0100 Subject: [PATCH] chore(dashboard): drop the redundant "Admin overview" link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The user Dashboard carried a small chevron link "Admin overview →" just above the installed-apps grid. The topbar already has a top-level "Admin" nav-item (topbar.html:34) that goes to the same /admin route. The dashboard link was a redundant second entry point with no extra value; removing it tightens the dashboard layout without losing navigation. Drops: - dashboard-content.html: the block - admin.css: the .dashboard-admin-link rule + :hover (now orphaned) The /admin route, the topbar Admin nav-item, and the AdminOverview JS component all stay as-is — only the dashboard-side entry point goes. Co-Authored-By: Claude Opus 4.7 Signed-off-by: librelad --- containers/libreportal/frontend/css/admin.css | 13 ------------- .../frontend/html/dashboard-content.html | 5 ----- 2 files changed, 18 deletions(-) diff --git a/containers/libreportal/frontend/css/admin.css b/containers/libreportal/frontend/css/admin.css index 1d8abc7..dc30c3d 100644 --- a/containers/libreportal/frontend/css/admin.css +++ b/containers/libreportal/frontend/css/admin.css @@ -86,19 +86,6 @@ color: rgba(var(--text-rgb), 0.55); } -/* Small entry point on the user Dashboard that links into the Admin area. */ -.dashboard-admin-link { - display: inline-flex; - align-items: center; - gap: 6px; - margin: 4px 0 0; - font-size: 0.85rem; - font-weight: 600; - color: var(--accent); - text-decoration: none; -} -.dashboard-admin-link:hover { text-decoration: underline; } - /* ============================================================ Admin → System (in-depth statistics page) ============================================================ */ diff --git a/containers/libreportal/frontend/html/dashboard-content.html b/containers/libreportal/frontend/html/dashboard-content.html index fb1c568..5501f81 100755 --- a/containers/libreportal/frontend/html/dashboard-content.html +++ b/containers/libreportal/frontend/html/dashboard-content.html @@ -46,11 +46,6 @@ - - Admin overview - - -