mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
show disabled devices in grey in device list
git-svn-id: http://www.observium.org/svn/observer/trunk@1366 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -330,6 +330,10 @@ a.list-device-ignored-up {
|
||||
color: #009900;
|
||||
}
|
||||
|
||||
a.list-device-disabled {
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
|
||||
@@ -197,6 +197,7 @@ function devclass($device)
|
||||
$class = "list-device-ignored";
|
||||
if (isset($device['status']) && $device['status'] == '1') { $class = "list-device-ignored-up"; }
|
||||
}
|
||||
if (isset($device['disabled']) && $device['disabled'] == '1') { $class = "list-device-disabled"; }
|
||||
return $class;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user