Revert dashboard changes

This commit is contained in:
Jeremy Stretch 2024-07-16 15:28:14 -04:00
parent 9cf624da4c
commit 0703fd0531
2 changed files with 3 additions and 4 deletions

View File

@ -276,7 +276,6 @@ class DashboardWidgetColorChoices(ChoiceSet):
GRAY = 'gray' GRAY = 'gray'
BLACK = 'black' BLACK = 'black'
WHITE = 'white' WHITE = 'white'
NETBOXTEAL = 'primary'
CHOICES = ( CHOICES = (
(BLUE, _('Blue')), (BLUE, _('Blue')),
@ -292,7 +291,6 @@ class DashboardWidgetColorChoices(ChoiceSet):
(GRAY, _('Gray')), (GRAY, _('Gray')),
(BLACK, _('Black')), (BLACK, _('Black')),
(WHITE, _('White')), (WHITE, _('White')),
(NETBOXTEAL, _('NetBox Teal')),
) )

View File

@ -26,7 +26,7 @@ DEFAULT_DASHBOARD = [
'width': 4, 'width': 4,
'height': 5, 'height': 5,
'title': 'Bookmarks', 'title': 'Bookmarks',
'color': 'primary', 'color': 'orange',
}, },
{ {
'widget': 'extras.ObjectCountsWidget', 'widget': 'extras.ObjectCountsWidget',
@ -46,7 +46,7 @@ DEFAULT_DASHBOARD = [
'width': 4, 'width': 4,
'height': 2, 'height': 2,
'title': 'Welcome!', 'title': 'Welcome!',
'color': 'primary', 'color': 'green',
'config': { 'config': {
'content': ( 'content': (
'This is your personal dashboard. Feel free to customize it by rearranging, resizing, or removing ' 'This is your personal dashboard. Feel free to customize it by rearranging, resizing, or removing '
@ -128,6 +128,7 @@ DEFAULT_DASHBOARD = [
'width': 12, 'width': 12,
'height': 5, 'height': 5,
'title': 'Change Log', 'title': 'Change Log',
'color': 'blue',
'config': { 'config': {
'model': 'core.objectchange', 'model': 'core.objectchange',
'page_size': 25, 'page_size': 25,