-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v2.11.10
Feature type
Change to existing functionality
Proposed functionality
I have just started using the front/rear images functionality. I found that the SVG is built up in the following sequence:
- background rectangle
- device name
- device image
This means that once you add images, you no longer can see the device names.
I propose simply reordering the rendering sequence so that the text is added after the image. Before:
After:
Doing the same for rear suffers from the default text colour being black. Before:
After:
I would therefore change the colour to white when there's an image, on the assumption that most images are "dark-like". It then becomes:
Or else have setting(s) in the device type to select the text colour for the front and rear text when images are present.
Use case
Being able to see at-a-glance the positions and the names of all the devices in a rack is an important use for rack elevations.
I do realise that there's a button to turn images on and off. However, images without device names is pretty but not very useful. This means that generally I would have to turn the images off all the time, which in turn means there is no point uploading images in the first place.
Potentially the button could be changed to a 3-state (show names and images; show names only; show images only). But for me, the "images without names" variation is not something I'd use.
Database changes
None
External dependencies
None




