fix: MGMT label for management ports and light/dark theme for the switch panel

Management ports (management only, or named mgmt/management/oobm/me0 ...)
show "MGMT" instead of the overflowing full name and form their own group
at the end; other ports without a number are shortened. The faceplate,
jacks, notches and frames use theme variables for NetBox's light and dark
mode instead of a fixed dark design.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-30 10:12:13 +01:00
1 parent b1ecbbbb75
commit e9c00f2b11
7 files changed
+86 -22

No files matched your search

+4 -1
View File
@@ -513,7 +513,10 @@ view in the web interface of Aruba switches:
- A dark faceplate with every physical port as an RJ45 or SFP jack, odd ports
on top and even ports below, grouped per stack member or line card.
- **Status** view: green = link/connected, dark = free, red dot = disabled.
- **Status** view: green = link/connected, empty jack = free, red dot = disabled.
- Management ports (marked *management only* or named `mgmt`, `management`,
`oobm`, `me0` …) are shown as **MGMT** in a group of their own at the end.
- The faceplate follows NetBox's light and dark theme.
- **VLAN** view: every VLAN from the interface label gets its own colour (the
same colours as in the PDF), the VLAN is printed in the jack and the text
colour is chosen for contrast; free ports are dimmed, connected ports framed.