err... er poll ignored devices! and fix some css bullshit.

git-svn-id: http://www.observium.org/svn/observer/trunk@2119 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-20 21:07:00 +00:00
parent a29b39a3ed
commit 31ebcdc7e3
2 changed files with 3 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ if ($device['status'] == '0')
{
$class = "list-device-down";
} else {
$class = "list-device"; unset ($tr);
$class = "list-device";
}
if ($device['ignore'] == '1')
{
@@ -43,12 +43,9 @@ if ($port_count) { echo(' <img src="images/icons/port.png" align=absmiddle /> '.
echo('<br />');
if ($sensor_count) { echo(' <img src="images/icons/sensors.png" align=absmiddle /> '.$sensor_count); }
echo ('</td>');
echo(' <td>' . $device['hardware'] . '<br />' . $device['features'] . '</td>');
echo(' <td>' . $device['os_text'] . '<br />' . $device['version'] . '</td>');
echo(' <td>' . formatUptime($device['uptime']) . ' <br />');
echo(' <td>' . formatUptime($device['uptime'], 'short') . ' <br />');
if (get_dev_attrib($device,'override_sysLocation_bool')) { $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); }
echo(' ' . truncate($device['location'],32, '') . '</td>');