Commit version 24.12.13800
This commit is contained in:
@ -5,37 +5,34 @@
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
// Display devices as a list in detailed format
|
||||
?>
|
||||
|
||||
<table class="table table-hover table-striped table-condensed " style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th>Device/Location</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<table class="table table-hover table-striped table-condensed " style="margin-top: 10px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th>Device/Location</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<?php
|
||||
foreach ($devices as $device)
|
||||
{
|
||||
if (device_permitted($device['device_id']))
|
||||
{
|
||||
get_device_graphs($device);
|
||||
foreach ($devices as $device) {
|
||||
if (device_permitted($device['device_id'])) {
|
||||
get_device_graphs($device);
|
||||
|
||||
if (!$location_filter || $device['location'] == $location_filter)
|
||||
{
|
||||
print_device_row($device, 'status');
|
||||
if (!$location_filter || $device['location'] == $location_filter) {
|
||||
print_device_row($device, 'status');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo("</table>");
|
||||
|
Reference in New Issue
Block a user