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

Modify offline status color for vm

This commit is contained in:
kobayashi
2020-02-11 00:26:09 -05:00
parent ca56fc709a
commit bc7f5fb33a
3 changed files with 2 additions and 3 deletions

View File

@ -268,7 +268,7 @@ class VirtualMachine(ChangeLoggedModel, ConfigContextModel, CustomFieldModel):
STATUS_CLASS_MAP = {
VirtualMachineStatusChoices.STATUS_ACTIVE: 'success',
VirtualMachineStatusChoices.STATUS_OFFLINE: 'warning',
VirtualMachineStatusChoices.STATUS_OFFLINE: 'danger',
VirtualMachineStatusChoices.STATUS_STAGED: 'primary',
VirtualMachineStatusChoices.STATUS_DECOMMISSIONING: 'warning',
}