From 33c89145110db337cfd8ec708ab57a71f4843c4a Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 16 Jul 2024 14:40:03 -0400 Subject: [PATCH] Revert dashboard widget color changes --- netbox/extras/choices.py | 2 -- netbox/extras/constants.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/netbox/extras/choices.py b/netbox/extras/choices.py index 027c18c1d..8959ba0ab 100644 --- a/netbox/extras/choices.py +++ b/netbox/extras/choices.py @@ -276,7 +276,6 @@ class DashboardWidgetColorChoices(ChoiceSet): GRAY = 'gray' BLACK = 'black' WHITE = 'white' - NETBOXTEAL = 'primary' CHOICES = ( (BLUE, _('Blue')), @@ -292,7 +291,6 @@ class DashboardWidgetColorChoices(ChoiceSet): (GRAY, _('Gray')), (BLACK, _('Black')), (WHITE, _('White')), - (NETBOXTEAL, _('NetBox Teal')), ) diff --git a/netbox/extras/constants.py b/netbox/extras/constants.py index aba6ee513..afad95af4 100644 --- a/netbox/extras/constants.py +++ b/netbox/extras/constants.py @@ -26,7 +26,7 @@ DEFAULT_DASHBOARD = [ 'width': 4, 'height': 5, 'title': 'Bookmarks', - 'color': 'primary', + 'color': 'orange', }, { 'widget': 'extras.ObjectCountsWidget', @@ -46,7 +46,7 @@ DEFAULT_DASHBOARD = [ 'width': 4, 'height': 2, 'title': 'Welcome!', - 'color': 'primary', + 'color': 'green', 'config': { 'content': ( 'This is your personal dashboard. Feel free to customize it by rearranging, resizing, or removing '