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>
54 lines
2.0 KiB
HTML
Executable File
54 lines
2.0 KiB
HTML
Executable File
|
|
<!-- Topbar Component -->
|
|
<div id="topbar-container"></div>
|
|
|
|
<!-- Main content -->
|
|
<div class="main dashboard-main">
|
|
<div class="dashboard-stats">
|
|
<div class="stat-card">
|
|
<div class="stat-number" id="installed-count">0</div>
|
|
<div class="stat-label">Installed Apps</div>
|
|
</div>
|
|
<div class="stat-card">
|
|
<div class="disk-chart">
|
|
<div class="disk-circle-container">
|
|
<div class="disk-circle-fill" id="disk-circle-fill"></div>
|
|
<div class="disk-percentage" id="disk-percent">0%</div>
|
|
</div>
|
|
</div>
|
|
<div class="chart-label">
|
|
<div class="chart-text">Disk Used</div>
|
|
</div>
|
|
</div>
|
|
<div class="stat-card system-info-card">
|
|
<div class="system-details">
|
|
<div class="system-item">
|
|
<span class="system-label">OS:</span>
|
|
<span class="system-value" id="system-info">Loading...</span>
|
|
</div>
|
|
<div class="system-item">
|
|
<span class="system-label">Uptime:</span>
|
|
<span class="system-value" id="uptime-info">Loading...</span>
|
|
</div>
|
|
<div class="system-item">
|
|
<span class="system-label">Memory:</span>
|
|
<span class="system-value" id="memory-info">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<button class="system-refresh-btn" id="system-refresh-btn" aria-label="Refresh system info">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M23 4v6h-6"></path>
|
|
<path d="M1 20v-6h6"></path>
|
|
<path d="M3.51 9a9 9 0 0 1 14.85-3.36M20.49 15a9 9 0 0 1-14.85 3.36"></path>
|
|
</svg>
|
|
<div class="system-refresh-tooltip" id="update-countdown"></div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 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>
|
|
</div>
|
|
</div>
|