From 2c67944b4bcfc2150495c71535b166a51c8caacf Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 14 Mar 2026 22:42:38 -0400 Subject: [PATCH] Fix topology chain order and inspector SFP port width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Topology: - Correct series layout: UDM-Pro → USW-Agg → Pro 24 PoE (not a fork) - Remove CSS fork divs, replace with straight vertical connectors - Labels: WAN · 10G SFP+ (UDM→Agg), 10G trunk (Agg→PoE) - Remove ISL from legend (no parallel switch pair) Inspector: - Fix USW-Agg port blocks appearing narrower than other switches - SFP ports in rows now use same width (34px) as copper ports; all-SFP switches like USL8A no longer look undersized Co-Authored-By: Claude Sonnet 4.6 --- static/style.css | 9 +++--- templates/index.html | 69 ++++++++++++++++++++++---------------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/static/style.css b/static/style.css index d396c15..deb2a5c 100644 --- a/static/style.css +++ b/static/style.css @@ -1076,9 +1076,9 @@ a:hover { text-decoration: underline; text-shadow: var(--glow-amber); } letter-spacing: 0; } -/* SFP port (in rows — slightly narrower to suggest cage) */ +/* SFP port (in rows) — width overridden to 34px further down */ .switch-port-block.sfp-port { - width: 28px; + width: 34px; height: 38px; font-size: .55em; } @@ -2006,9 +2006,10 @@ a:hover { text-decoration: underline; text-shadow: var(--glow-amber); } letter-spacing: .04em; border-left-width: 3px; } -/* SFP port in rows */ +/* SFP port in rows — same width as copper ports so all-SFP switches + (e.g. USW-Agg / USL8A) don't appear narrower than other switches */ .switch-port-block.sfp-port { - width: 26px; + width: 34px; height: 40px; font-size: .55em; border-left-width: 2px; diff --git a/templates/index.html b/templates/index.html index 6d3993d..81b3fd9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -62,47 +62,47 @@ - -
-
-
10G DAC
-
-
+ +
+
+ 10G SFP+
-
- - -
-
- - USW-Agg - Aggregation · RU22 - 8 × 10G SFP+ - VLAN90 · 10.10.90.x/24 -
+
+
+ + USW-Agg + Aggregation · RU22 + 8 × 10G SFP+ + VLAN90 · 10.10.90.x/24
- - -
-
- - Pro 24 PoE - 24-Port · RU23 - 24 × 1G PoE - DHCP · mgmt -
-
-
- -
-
-
+ +
+
+ 10G trunk +
+ + +
+
+ + Pro 24 PoE + 24-Port · RU23 + 24 × 1G PoE + DHCP · mgmt +
+
+ + +
+
WAN / uplink
-
ISL / inter-switch
10G SFP+ (Ceph / VLAN90)
1G DHCP (mgmt)
dashed border = off-rack