- Fix invisible device while dragging from front to rear: the block being dragged stayed structurally inside its own source <svg>, so it rendered underneath the other panel once it visually overlapped it. Replaced the in-SVG transform with a free-floating HTML ghost fixed to <body> that tracks the pointer, unaffected by either SVG's own stacking - the original block just dims in place during the drag, as before. - Fix rear elevation showing nothing for a device type with no rear_image: only full-depth devices (which have a genuinely different back) are restricted to their own rear image now; a shallow device (e.g. a PDU) falls back to its front image on the rear view, since that's usually the only picture that exists and is still recognisable either way. - Shorten the drag-hint badge text; the German translation of the previous, longer wording didn't fit well next to the other controls above the elevation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
968 B
TOML
34 lines
968 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "netbox-rack-concept"
|
|
version = "0.2.3"
|
|
description = "Rack blueprints for NetBox: plan racks and their equipment without creating real racks or devices"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Louis" }]
|
|
keywords = ["netbox", "netbox-plugin", "dcim", "planning"]
|
|
classifiers = [
|
|
"Framework :: Django",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Intended Audience :: System Administrators",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/example/netbox-rack-concept"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["netbox_rack_concept*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
netbox_rack_concept = [
|
|
"templates/netbox_rack_concept/*.html",
|
|
"templates/netbox_rack_concept/inc/*.html",
|
|
"static/netbox_rack_concept/*",
|
|
"locale/*/LC_MESSAGES/*.po",
|
|
"locale/*/LC_MESSAGES/*.mo",
|
|
]
|