chore(dashboard): drop the redundant "Admin overview" link
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 <a class="dashboard-admin-link"> 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 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
a265b86cc9
commit
ae790853bf
@ -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)
|
||||
============================================================ */
|
||||
|
||||
@ -46,11 +46,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="/admin" class="dashboard-admin-link">
|
||||
Admin overview
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"></polyline></svg>
|
||||
</a>
|
||||
|
||||
<!-- Installed Apps Icons -->
|
||||
<div id="frontpage-apps-section" class="frontpage-apps-section" style="display:none;">
|
||||
<div id="frontpage-apps-container" class="frontpage-apps-grid"></div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user