fix: empty rack units rendered black in exported rack elevations

NetBox's rack elevation stylesheet uses CSS custom properties, which
WeasyPrint and cairosvg cannot resolve, so empty slots fell back to a
black fill. Replace the embedded stylesheet with fixed light-theme
colors, add equivalent presentation attributes as a fallback and drop
the hover-only "Add Device" labels.

Bump version to 0.3.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-23 14:04:32 +02:00
co-authored by Claude Opus 5.5
parent 5b2d68356c
commit 219a429f3f
3 changed files with 55 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ class CustomerExportConfig(PluginConfig):
name = "netbox_customer_export"
verbose_name = "Kunden-Export"
description = "Kundendokumentation als PDF oder Word exportieren"
version = "0.3.0"
version = "0.3.1"
author = "Claude"
base_url = "customer-export"
min_version = "4.6.8"