New BrandingProfile model (migration 0001) with logo upload, color
pickers, font, Word template upload, table style and extra CSS, plus
list/edit/delete views, an HTML preview and a menu entry with add
button. Access is controlled via the model's Django permissions.
Profiles from the database are offered first in the export form (the
default profile preselected); profiles from PLUGINS_CONFIG still work.
Bump version to 0.2.0 - requires "manage.py migrate".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two-column layout with format toggle buttons, section tiles with short
descriptions and "Alle/Keine" per group, device roles/columns and rack
faces as toggle pills, option switches, device/rack cards dimmed when
their section is deselected and a sticky action bar.
Bump version to 0.1.1 (includes the rack elevation fix).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RackElevationSVG falls back to RACK_ELEVATION_DEFAULT_* config
parameters, which raise AttributeError on the target NetBox version.
Pass the dimensions explicitly instead.
Add a Pillow-based PNG rack renderer (role colors, unit legend,
full-depth devices shown dimmed from the other side). It is used for
Word when cairosvg is unavailable and replaces a failed SVG in all
formats.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rack SVG failures were only logged, leaving racks silently without an
image. The error is now written into the document next to the rack so
the cause (e.g. missing rack_elevation.css in STATIC_ROOT) is visible.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The widgets lacked the form-check-input class, so NetBox's CSS showed
them as empty text inputs with no visible checked state. Also pass role
PKs as initial value so all device roles in scope are preselected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Include the standard NetBox post-install commands (migrate,
collectstatic, remove_stale_contenttypes, clearsessions, restart) for
installation and updates so future plugin versions with models or static
files are covered.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Show installation from git.mrblake.cc via pip, adding the plugin to
local_requirements.txt so upgrade.sh reinstalls it, updating with
--force-reinstall --no-deps, NetBox upgrades and uninstalling. Group
branding and rack options under a Konfiguration heading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plugin for NetBox 4.6.8–4.6.99 that exports customer documentation
(PDF, Word, HTML preview) for a site, location, tenant or tenant group.
Technicians pick sections, device roles and columns before exporting.
Branding profiles (colors, font, logo, footer, Word template incl. .dotx,
table style, extra CSS) are configurable via PLUGINS_CONFIG and selectable
per export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>