Calmer dashboard and navigation, short page intros
Lint / JS (eslint) (push) Successful in 27s
Lint / Python (flake8) (push) Successful in 2m30s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Security / Python Security (bandit) (push) Successful in 2m0s
Test / Python Tests (pytest) (push) Successful in 1m46s
Lint / Python (flake8) (pull_request) Successful in 1m43s
Lint / JS (eslint) (pull_request) Successful in 11s
Lint / Notify on failure (pull_request) Skipped
Lint / Deploy (pull_request) Skipped
Security / Python Security (bandit) (pull_request) Successful in 1m7s
Test / Python Tests (pytest) (pull_request) Successful in 1m10s

Dashboard: the stat cards are gone (Needs attention says it better); host cards
fold unused NICs into one line and move Suppress to a small icon; UniFi devices
become a compact list; recently resolved alerts fold. Navigation keeps Dashboard,
Topology, Rack and Cutsheet in view with Alert history and Suppressions under More;
the phone drawer groups them the same way and gains Start maintenance, and the
phone header hides the user name and the Ctrl+K hint so GANDALF fits. Rack and
topology intros are one line with the how-to behind a ?; the topology problem
bar is one line until opened. README updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 15:04:34 -05:00
co-authored by Claude Opus 5.5
parent 4646d9be90
commit abac6983b2
11 changed files with 230 additions and 218 deletions
+63
View File
@@ -1752,3 +1752,66 @@ body.fp-marks-off .fp-svg .fp-mark { display: none; }
.g-help-about b { color: var(--accent-cyan); }
/* A tab holding one section already says what it is: skip the repeated heading */
.lt-tab-panel > .g-section:only-child > .g-section-header { display: none; }
/* ── Dashboard: calmer host cards and device list ────────────────── */
.host-suppress { margin-left: auto; padding: 0 6px; opacity: .45; }
.host-suppress:hover, .host-suppress:focus-visible { opacity: 1; }
.iface-unused { font-size: .74em; color: var(--text-muted); padding: 2px 0 0 14px; }
.unifi-grid {
list-style: none; margin: 0; padding: 0;
display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px;
}
.unifi-chip {
display: flex; align-items: center; gap: 8px; min-width: 0;
padding: 6px 10px; border: 1px solid var(--border-color); background: var(--bg-card);
font-size: .84em;
}
.unifi-chip-down { border-color: var(--accent-red); }
.unifi-chip-name { color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unifi-chip-model { margin-left: auto; color: var(--text-muted); font-size: .86em; }
.unifi-chip .btn-suppress { padding: 0 6px; }
.resolved-fold > summary { cursor: pointer; list-style: none; }
.resolved-fold > summary::-webkit-details-marker { display: none; }
.resolved-fold > summary::after { content: '▸ show'; margin-left: auto; font-size: .72em; color: var(--text-muted); }
.resolved-fold[open] > summary::after { content: '▾ hide'; }
/* ── Navigation: More menu ───────────────────────────────────────── */
.g-nav-more { position: relative; }
.g-nav-more > summary { list-style: none; cursor: pointer; }
.g-nav-more > summary::-webkit-details-marker { display: none; }
.g-nav-more-menu {
position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
display: flex; flex-direction: column; min-width: 180px;
background: var(--bg-secondary); border: 1px solid var(--border-color);
box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.g-nav-more-link {
padding: 9px 14px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
color: var(--text-secondary); text-decoration: none;
}
.g-nav-more-link:hover, .g-nav-more-link:focus-visible { color: var(--accent-cyan); background: rgba(0,212,255,.05); }
.g-nav-more-link.active { color: var(--accent-orange); }
.g-drawer-group {
display: block; margin: 14px 0 4px; padding: 0 16px; font-size: .66rem;
letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
/* ── Page intros: the how-to sits behind a small "?" ─────────────── */
.g-howto { display: inline; }
.g-howto > summary {
display: inline-flex; align-items: center; justify-content: center;
width: 1.5em; height: 1.5em; margin-left: 4px; cursor: pointer; list-style: none;
border: 1px solid var(--border-color); border-radius: 50%; color: var(--accent-cyan); font-size: .9em;
}
.g-howto > summary::-webkit-details-marker { display: none; }
.g-howto[open] > span { display: block; margin-top: 6px; color: var(--text-secondary); max-width: 70ch; }
.tp-summary-toggle { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; color: inherit; }
.tp-summary-bad .tp-summary-toggle { color: var(--red); }
.tp-summary-warn .tp-summary-toggle { color: var(--amber); }
.tp-summary-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 0; }
/* ── Phone header: room for the GANDALF name ─────────────────────── */
@media (max-width: 767px) {
.lt-header-user, .lt-cmd-hint-btn, .lt-header-right [data-action="start-maintenance"] { display: none; }
}
.g-drawer-action { background: none; border: 0; width: 100%; text-align: left; font: inherit; cursor: pointer; }