mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updates bringing forms / tables inline with Bootstrap v3, also adds Global search box
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<?php
|
||||
|
||||
if ($device['status'] == '0') { $class = "div-alert"; } else { $class = "div-normal"; }
|
||||
if ($device['status'] == '0') { $class = "alert-danger"; } else { $class = ""; }
|
||||
if ($device['ignore'] == '1')
|
||||
{
|
||||
$class = "div-ignore-alert";
|
||||
if ($device['status'] == '1')
|
||||
{
|
||||
$class = "div-ignore";
|
||||
$class = "alert-warning";
|
||||
}
|
||||
}
|
||||
if ($device['disabled'] == '1')
|
||||
{
|
||||
$class = "div-disabled";
|
||||
$class = "alert-info";
|
||||
}
|
||||
|
||||
$type = strtolower($device['os']);
|
||||
@@ -19,7 +19,7 @@ $type = strtolower($device['os']);
|
||||
$image = getImage($device);
|
||||
|
||||
echo('
|
||||
<tr bgcolor="'.$device_colour.'" class="'.$class.'">
|
||||
<tr bgcolor="'.$device_colour.'" class="alert '.$class.'">
|
||||
<td width="40" align=center valign=middle style="padding: 21px;">'.$image.'</td>
|
||||
<td valign=middle style="padding: 0 15px;"><span style="font-size: 20px;">' . generate_device_link($device) . '</span>
|
||||
<br />' . $device['location'] . '</td>
|
||||
|
||||
Reference in New Issue
Block a user