diff --git a/static/css/dashboard.css b/static/css/dashboard.css index 3adc388..88d82b6 100644 --- a/static/css/dashboard.css +++ b/static/css/dashboard.css @@ -433,6 +433,9 @@ dd.is-accent { color: var(--accent); } width: 100%; min-height: 38px; } +/* Sits below the request pills, which use --row-h — match it so the + button reads as one more row rather than a shorter tacked-on control. */ +.show-more.show-more-row { min-height: var(--row-h); } /* ── Indexers ───────────────────────────────────────── */ /* One indexer per line, built to the same rhythm as the Ombi request rows @@ -529,6 +532,36 @@ dd.is-accent { color: var(--accent); } } .req-sub { font-size: var(--fs-xs); color: var(--text-3); } +/* ── Storage — per-disk breakdown ──────────────────────── */ +/* Same row anatomy as indexer/request rows: name/sub on the left, a status + badge on the right. Data + cache disks get a usage meter; parity disks + (no filesystem) are rendered compact — name and temp only. */ +.disk-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.85rem; } +.disk-item { + display: flex; + align-items: center; + gap: 0.7rem; + min-height: var(--row-h); + padding: 0.6rem 0.7rem; + background: var(--surface-2); + border: 1px solid var(--border); + border-radius: var(--radius-sm); + min-width: 0; +} +.disk-info { min-width: 0; flex: 1; } +.disk-name { + font-size: var(--fs-sm); font-weight: 600; + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; +} +.disk-sub { font-size: var(--fs-xs); color: var(--text-3); } +.disk-meter.meter { margin-top: 0.4rem; height: 4px; } +.disk-list-compact { margin-top: 0.5rem; } +.disk-item-compact { justify-content: space-between; padding: 0.5rem 0.7rem; min-height: auto; } +.disk-item-compact .disk-name { flex: 1; } +.badge.temp-ok { background: var(--ok-dim); color: var(--ok); } +.badge.temp-warn { background: var(--warn-dim); color: var(--warn); } +.badge.temp-danger { background: var(--danger-dim); color: var(--danger); } + /* ── Insights top lists ─────────────────────────────── */ .top-list { display: flex; flex-direction: column; gap: 0.4rem; } .top-item { diff --git a/templates/dashboard.html b/templates/dashboard.html index 26a1928..d509b23 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -170,6 +170,47 @@ {% if unraid.source == "local" %}
Container disk usage ({{ unraid.mount }}). Set UNRAID_API_KEY for full array stats.