diff --git a/static/style.css b/static/style.css index ec83b7c..d9c0653 100644 --- a/static/style.css +++ b/static/style.css @@ -143,8 +143,13 @@ flex-shrink: 0; } -/* ── Divider compact variant ─────────────────────────────────────── */ +/* ── Divider variants ────────────────────────────────────────────── */ .lt-divider--compact { margin: 1rem 0 0.75rem; } +.lt-divider--unifi { margin: 20px 0 12px; } +.lt-divider-label--unifi { color: var(--cyan); letter-spacing: .1em; } + +/* ── Stats grid spacing variant ──────────────────────────────────── */ +.lt-stats-grid--mb { margin-bottom: 16px; } /* ── Topology section collapse toggle ────────────────────────────── */ .topo-collapse-btn { @@ -213,6 +218,7 @@ .events-filter-bar .lt-input-sm { width: 220px; } .sev-pills { display: flex; gap: 4px; } .g-page-sub { font-size: .78em; color: var(--text-muted); margin-top: 4px; } +.g-page-sub-aside { font-size: .78em; color: var(--text-muted); margin-left: 8px; } /* ── Badge severity color variants (used with lt-badge) ───────────── */ .badge-critical { color: var(--red); border-color: var(--red); text-shadow: var(--glow-red); } diff --git a/templates/inspector.html b/templates/inspector.html index 3fb8a13..9a2325c 100644 --- a/templates/inspector.html +++ b/templates/inspector.html @@ -8,7 +8,7 @@

Network Inspector

Visual switch chassis diagrams. Click a port to see detailed stats and LLDP path debug. - +

diff --git a/templates/links.html b/templates/links.html index 2d834e5..7bbf482 100644 --- a/templates/links.html +++ b/templates/links.html @@ -8,7 +8,7 @@

Link Debug

Per-interface stats: speed, duplex, SFP optical levels, TX/RX rates, errors, and carrier changes. - +

@@ -358,7 +358,7 @@ function renderUnifiSwitches(unifiSwitches, dataUpdated) { `; }).join(''); - return `
UNIFI SWITCH PORTS
${html}`; + return `
UNIFI SWITCH PORTS
${html}`; } // ── Panel collapse / expand ─────────────────────────────────────── @@ -412,18 +412,18 @@ function buildLinkSummary(hosts, unifiSwitches) { const downCardCls = allDown > 0 ? ' lt-stat-card--alert' : ''; const poeCard = totalPoe > 0 ? `
- +
- ${totalPoe.toFixed(1)} + ${totalPoe.toFixed(1)} PoE Load (W)
` : ''; return ` -
+
- +
- ${allTotal} + ${allTotal} Interfaces