Initial NetBox Floor Planner plugin
Drag & drop SVG floor plan designer for NetBox 4.7.2+ with rack/device placement, smart snapping, undo/redo, view mode with status colouring, SVG/PNG export, REST layout API and English/German translations. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
c4dc5d53ce
31 files changed
+3041
No files matched your search
@@ -0,0 +1,26 @@
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from netbox.plugins import PluginConfig
|
||||
|
||||
__version__ = '0.1.0'
|
||||
|
||||
|
||||
class FloorPlannerConfig(PluginConfig):
|
||||
name = 'netbox_floorplanner'
|
||||
verbose_name = _('Floor Planner')
|
||||
description = _('Drag & drop floor plan designer for sites and locations')
|
||||
version = __version__
|
||||
author = 'Louis'
|
||||
base_url = 'floorplanner'
|
||||
min_version = '4.7.2'
|
||||
default_settings = {
|
||||
# Default dimensions (cm) for new floor plans
|
||||
'default_width': 2000,
|
||||
'default_depth': 1500,
|
||||
'default_grid_size': 50,
|
||||
# Rack footprint (cm) used when a rack has no outer dimensions
|
||||
'default_rack_width': 60,
|
||||
'default_rack_depth': 120,
|
||||
}
|
||||
|
||||
|
||||
config = FloorPlannerConfig
|
||||
Reference in new issue
Block a user