Device table showing role colours wrong #2369

Closed
opened 2025-12-29 17:25:22 +01:00 by adam · 2 comments
Owner

Originally created by @stuntguy3000 on GitHub (Feb 12, 2019).

Environment

  • Python version: 2.7.5
  • NetBox version: 2.5.5

Steps to Reproduce

  1. Add a device role and set the colour to text which needs to be rendered as black (e.g. Yellow)
  2. Navigate to the devices overview page
  3. Observe the device with the associated role's label is not rendering the text as black (like in the device role table)

Expected Behavior

I expect the text labels in the device role overview to render the same in the device table.

Observed Behavior

In the devices view, the roles are showing text colours inconsistently with the device role editor page.

Example here is the yellow Other Host label, text is wrong and unreadable on the device table.
image

Where-as it is fine in the device role overview.
image

Originally created by @stuntguy3000 on GitHub (Feb 12, 2019). ### Environment * Python version: 2.7.5 * NetBox version: 2.5.5 ### Steps to Reproduce 1. Add a device role and set the colour to text which needs to be rendered as black (e.g. **Yellow**) 2. Navigate to the devices overview page 3. Observe the device with the associated role's label is not rendering the text as black (like in the device role table) <!-- What did you expect to happen? --> ### Expected Behavior I expect the text labels in the device role overview to render the same in the device table. <!-- What happened instead? --> ### Observed Behavior In the devices view, the roles are showing text colours inconsistently with the device role editor page. Example here is the yellow Other Host label, text is wrong and unreadable on the device table. ![image](https://user-images.githubusercontent.com/1522389/52614332-46b07700-2ee1-11e9-942f-388e69b9040f.png) Where-as it is fine in the device role overview. ![image](https://user-images.githubusercontent.com/1522389/52614335-4c0dc180-2ee1-11e9-8f18-6b1d7c907659.png)
adam added the type: bugstatus: accepted labels 2025-12-29 17:25:22 +01:00
adam closed this issue 2025-12-29 17:25:22 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 12, 2019):

This issue has been closed as it does not conform to one of the provided templates as required by the contributing guide. If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).

@jeremystretch commented on GitHub (Feb 12, 2019): This issue has been closed as it does not conform to one of the [provided templates](https://github.com/digitalocean/netbox/issues/new/choose) as required by the [contributing guide](https://github.com/digitalocean/netbox/blob/master/CONTRIBUTING.md). If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).
Author
Owner

@stuntguy3000 commented on GitHub (Feb 13, 2019):

@jeremystretch Corrected

@stuntguy3000 commented on GitHub (Feb 13, 2019): @jeremystretch Corrected
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2369