initial commit; version 22.5.12042
This commit is contained in:
41
html/pages/devices/status.inc.php
Normal file
41
html/pages/devices/status.inc.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
// 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']))
|
||||
{
|
||||
if (!$location_filter || $device['location'] == $location_filter)
|
||||
{
|
||||
print_device_row($device, 'status');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo("</table>");
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user