fix: availability map icons (#5373)

This commit is contained in:
Tony Murray
2017-01-10 04:07:10 -06:00
committed by Neil Lathwood
parent f98829ba9d
commit ca8b72dd1e
2 changed files with 15 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -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 '