mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: availability map icons (#5373)
This commit is contained in:
committed by
Neil Lathwood
parent
f98829ba9d
commit
ca8b72dd1e
@@ -1825,7 +1825,7 @@ label {
|
||||
max-width: 45px;
|
||||
max-height: 50px;
|
||||
}
|
||||
.device-header-table .device_icon img {
|
||||
.device-header-table .device-icon .device-icon-48h img {
|
||||
max-width: 20px;
|
||||
max-height: 20px;
|
||||
}
|
||||
@@ -2138,6 +2138,17 @@ label {
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.device_icon img {
|
||||
height: 48px;
|
||||
.device-icon img {
|
||||
max-height: 32px;
|
||||
max-width: 40px;
|
||||
}
|
||||
|
||||
.device-icon {
|
||||
display: inline-block;
|
||||
height: 32px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.device-icon-48h img {
|
||||
height: 48px;
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ $host_id = dbFetchCell("SELECT `device_id` FROM `vminfo` WHERE `vmwVmDisplayName
|
||||
|
||||
echo '
|
||||
<tr bgcolor="'.$device_colour.'" class="alert '.$class.'">
|
||||
<td><span class="device_icon">'.$image.'</span></td>
|
||||
<td><span class="device-icon-48h">'.$image.'</span></td>
|
||||
<td>';
|
||||
if ($host_id > 0) {
|
||||
echo '
|
||||
|
Reference in New Issue
Block a user