diff --git a/html/pages/health/sensors.inc.php b/html/pages/health/sensors.inc.php index 52828b9c1..16d39bd5d 100644 --- a/html/pages/health/sensors.inc.php +++ b/html/pages/health/sensors.inc.php @@ -9,16 +9,15 @@ else { $sql = "SELECT * FROM `sensors` AS S, `devices` AS D, devices_perms as P WHERE S.sensor_class='".$class."' AND S.device_id = D.device_id AND D.device_id = P.device_id AND P.user_id = ? ORDER BY D.hostname, S.sensor_descr"; $param = array($_SESSION['user_id']); } - -echo ''; - -echo ' - - +echo '
'; +echo '
DeviceSensor
'; +echo ' + + - - + + '; @@ -83,10 +82,10 @@ foreach (dbFetchRows($sql, $param) as $sensor) { echo ' - - - - + + + + '; @@ -119,3 +118,4 @@ foreach (dbFetchRows($sql, $param) as $sensor) { }//end foreach echo '
DeviceSensor CurrentRange limitCurrentRange limit Notes
'.generate_device_link($sensor).' '.overlib_link($link, $sensor['sensor_descr'], $overlib_content).''.overlib_link($link_graph, $sensor_minigraph, $overlib_content).''.$alert.''.$sensor['sensor_current'].$unit.''.round($sensor['sensor_limit_low'], 2).$unit.' - '.round($sensor['sensor_limit'], 2).$unit.''.overlib_link($link_graph, $sensor_minigraph, $overlib_content).''.$alert.''.$sensor['sensor_current'].$unit.''.round($sensor['sensor_limit_low'], 2).$unit.' - '.round($sensor['sensor_limit'], 2).$unit.' '.(isset($sensor['sensor_notes']) ? $sensor['sensor_notes'] : '').'
'; +echo '';