1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

update css classes for bootstrap 5 colors

This commit is contained in:
checktheroads
2021-03-17 23:31:15 -07:00
parent 46cd22ea7e
commit 58841e85db
4 changed files with 7 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class CustomFieldFilterLogicChoices(ChoiceSet):
class CustomLinkButtonClassChoices(ChoiceSet):
CLASS_DEFAULT = 'default'
CLASS_DEFAULT = 'outline-dark'
CLASS_PRIMARY = 'primary'
CLASS_SUCCESS = 'success'
CLASS_INFO = 'info'
@@ -106,7 +106,7 @@ class JournalEntryKindChoices(ChoiceSet):
)
CSS_CLASSES = {
KIND_INFO: 'default',
KIND_INFO: 'info',
KIND_SUCCESS: 'success',
KIND_WARNING: 'warning',
KIND_DANGER: 'danger',
@@ -134,7 +134,7 @@ class LogLevelChoices(ChoiceSet):
)
CSS_CLASSES = {
LOG_DEFAULT: 'default',
LOG_DEFAULT: 'secondary',
LOG_SUCCESS: 'success',
LOG_INFO: 'info',
LOG_WARNING: 'warning',