mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Closes #4170: Improve color contrast in rack elevation drawings
This commit is contained in:
parent
7ce1289bb2
commit
ce89fa74b9
@ -3,6 +3,7 @@
|
|||||||
## Enhancements
|
## Enhancements
|
||||||
|
|
||||||
* [#3840](https://github.com/netbox-community/netbox/issues/3840) - Enhance search function when selecting VLANs for interface assignment
|
* [#3840](https://github.com/netbox-community/netbox/issues/3840) - Enhance search function when selecting VLANs for interface assignment
|
||||||
|
* [#4170](https://github.com/netbox-community/netbox/issues/4170) - Improve color contrast in rack elevation drawings
|
||||||
|
|
||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
|
|
||||||
|
@ -382,8 +382,8 @@ class RackElevationHelperMixin:
|
|||||||
|
|
||||||
# add gradients
|
# add gradients
|
||||||
RackElevationHelperMixin._add_gradient(drawing, 'reserved', '#c7c7ff')
|
RackElevationHelperMixin._add_gradient(drawing, 'reserved', '#c7c7ff')
|
||||||
RackElevationHelperMixin._add_gradient(drawing, 'occupied', '#f0f0f0')
|
RackElevationHelperMixin._add_gradient(drawing, 'occupied', '#d7d7d7')
|
||||||
RackElevationHelperMixin._add_gradient(drawing, 'blocked', '#ffc7c7')
|
RackElevationHelperMixin._add_gradient(drawing, 'blocked', '#ffc0c0')
|
||||||
|
|
||||||
return drawing
|
return drawing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user