mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
bring device overview info table layout in line with all other information panels
git-svn-id: http://www.observium.org/svn/observer/trunk@3081 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
<?php
|
||||
|
||||
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
|
||||
|
||||
if ($config['overview_show_sysDescr'])
|
||||
{
|
||||
echo('<div style="font-family: courier, serif; margin: 10px"><strong>' . $device['sysDescr'] . "</strong></div>");
|
||||
echo("<p style='padding: 0px;' class=sectionhead>");
|
||||
echo('<div style="font-family: courier, serif; margin: 3px"><strong>' . $device['sysDescr'] . "</strong></div>");
|
||||
echo("</p>");
|
||||
}
|
||||
|
||||
$uptime = $device['uptime'];
|
||||
@@ -11,7 +15,8 @@ if ($device['os'] == "ios") { formatCiscoHardware($device); }
|
||||
if ($device['features']) { $device['features'] = "(".$device['features'].")"; }
|
||||
$device['os_text'] = $config['os'][$device['os']]['text'];
|
||||
|
||||
echo('<table width="100%">');
|
||||
echo("<table width=100% cellspacing=0 cellpadding=5>");
|
||||
echo('<tr class="device-overview"><td width="100%"><table width="100%">');
|
||||
|
||||
if ($device['hardware'])
|
||||
{
|
||||
@@ -74,7 +79,7 @@ if ($uptime)
|
||||
</tr>');
|
||||
}
|
||||
|
||||
echo('
|
||||
</table>');
|
||||
echo("</table></tr></td></table>");
|
||||
echo("</div>");
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user