1
0
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:
Jeremy Stretch
2020-03-26 11:26:11 -04:00
parent 68ef5dd2a4
commit 81c9177c09
3 changed files with 10 additions and 4 deletions

View File

@@ -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'),