41 lines
770 B
PHP
41 lines
770 B
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @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>
|
|
|
|
<?php
|
|
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');
|
|
}
|
|
}
|
|
}
|
|
|
|
echo("</table>");
|
|
|
|
// EOF
|