5 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 ce174c6541 feat: switch port PDF covers the whole switch stack
Front panels and port lists are drawn per stack member with shared VLAN colours.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 09:12:22 +01:00
MrBlakeandClaude Opus 5.5 6906bf6ed6 feat: switch panel and PDF also use the VLANs assigned to cables
Ports without a label show the VLANs of their cable. A label with exactly
one number counts as that VLAN ID, so "Server 30", "VLAN 30", "30" and a
cable with VLAN 30 share one colour and legend entry. A numeric label that
differs from the cable VLANs is flagged with an orange corner and a
warning; tooltips and the PDF port list show label and cable VLANs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 10:17:54 +01:00
MrBlakeandClaude Opus 5.5 7289c21684 feat: switch port PDF back in A4 landscape
A 48-port switch fits on one row again; the port list keeps the wider
columns without line breaks and the VLAN legend is kept on one page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 09:34:06 +01:00
MrBlakeandClaude Opus 5.5 f144f23b31 feat: switch port PDF in A4 portrait
The export uses A4 portrait: wide port groups are split evenly (a 48-port
switch into 1-24 and 25-48) with larger tiles, the legend has four
columns and the port list has wider columns and a smaller font so that
names, status and type no longer wrap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 09:28:56 +01:00
MrBlakeandClaude Opus 5.5 8eb075db9f feat: export switch port usage as PDF instead of a Ports tab
Switches get an "Export switch port usage" button that downloads an A4
landscape PDF: key figures, a front panel with one colour per VLAN label
(full colour = connected, pale = free, dashed with a cross = disabled,
text colour chosen for contrast), a VLAN legend and the full port list
with peers. The PDF follows the language of the user's NetBox
preferences (German or English). The Ports tab with its script and
styles is removed. ReportLab becomes a dependency.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 09:25:29 +01:00