mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add a default button color
This commit is contained in:
@@ -88,7 +88,7 @@ class ButtonColorChoices(ChoiceSet):
|
||||
"""
|
||||
Map standard button color choices to Bootstrap color classes
|
||||
"""
|
||||
|
||||
DEFAULT = 'default'
|
||||
BLUE = 'primary'
|
||||
GREY = 'secondary'
|
||||
GREEN = 'success'
|
||||
@@ -97,6 +97,7 @@ class ButtonColorChoices(ChoiceSet):
|
||||
BLACK = 'dark'
|
||||
|
||||
CHOICES = (
|
||||
(DEFAULT, 'Default'),
|
||||
(BLUE, 'Blue'),
|
||||
(GREY, 'Grey'),
|
||||
(GREEN, 'Green'),
|
||||
|
Reference in New Issue
Block a user