1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Modify _draw_elevations

* Add legend_width argument, variable & constant
* Applied legend_width variable where required
* Removed U prefix
This commit is contained in:
Daniel Sheppard
2020-02-12 13:15:29 -06:00
parent 15bc731f61
commit 62d6e02d6b
2 changed files with 13 additions and 13 deletions

View File

@ -9,6 +9,8 @@ from .choices import InterfaceTypeChoices
RACK_U_HEIGHT_DEFAULT = 42
RACK_ELEVATION_LEGEND_WIDTH_DEFAULT = 30
RACK_ELEVATION_UNIT_WIDTH_DEFAULT = 230
RACK_ELEVATION_UNIT_HEIGHT_DEFAULT = 20