mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #6400: Add cyan color choice for plugin buttons
This commit is contained in:
@@ -130,22 +130,24 @@ class ColorChoices(ChoiceSet):
|
||||
|
||||
class ButtonColorChoices(ChoiceSet):
|
||||
"""
|
||||
Map standard button color choices to Bootstrap color classes
|
||||
Map standard button color choices to Bootstrap 3 button classes
|
||||
"""
|
||||
DEFAULT = 'default'
|
||||
BLUE = 'primary'
|
||||
GREY = 'secondary'
|
||||
CYAN = 'info'
|
||||
GREEN = 'success'
|
||||
RED = 'danger'
|
||||
YELLOW = 'warning'
|
||||
GREY = 'secondary'
|
||||
BLACK = 'dark'
|
||||
|
||||
CHOICES = (
|
||||
(DEFAULT, 'Default'),
|
||||
(BLUE, 'Blue'),
|
||||
(GREY, 'Grey'),
|
||||
(CYAN, 'Cyan'),
|
||||
(GREEN, 'Green'),
|
||||
(RED, 'Red'),
|
||||
(YELLOW, 'Yellow'),
|
||||
(GREY, 'Grey'),
|
||||
(BLACK, 'Black')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user