icingaweb2/modules/monitoring/application/views/scripts/show/components/properties.phtml

19 lines
390 B
PHTML
Raw Normal View History

2013-07-22 16:03:36 +02:00
<?php
$object = null;
if (isset($this->service)) {
$object = $this->service;
} elseif (isset($this->host)) {
$object = $this->host;
}
$properties = $this->monitoringProperties($object);
?>
<table class="table table-bordered">
<?php foreach ($properties as $label => $value): ?>
<tr>
<th><?= $label ?></th>
<td><?= $value ?></td>
</tr>
<?php endforeach; ?>
2013-07-22 16:03:36 +02:00
</table>