librenms/html/pages/device/dev-data-linux.inc
Adam Amstrong 03de99e914 Moving device sub-pages
git-svn-id: http://www.observium.org/svn/observer/trunk@51 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-04 10:15:07 +00:00

15 lines
460 B
PHP

<?php
if($device['uptime'] < '86400') { $uptime_colour = $warn_colour_a; }
echo("
<table width=100% cellspacing=0 cellpadding=0>
<tr><td class=tablehead>Operating System</td><td>$device[os] $device[version] ($device[features])</td></tr>
<tr><td class=tablehead>Hardware </td><td>$device[hardware]</td></tr>
<tr><td class=tablehead>Uptime </td><td bgcolor=$uptime_colour>" . formatuptime($device[uptime]) . "</td></tr>
</table>
");
?>