monitoring: Remove the command/* view scripts

They are no longer used.
This commit is contained in:
Eric Lippmann 2014-12-30 10:40:56 +01:00
parent 41ef926fd6
commit c28f4284e4
2 changed files with 0 additions and 35 deletions

View File

@ -1,10 +0,0 @@
<h4><?= mt('monitoring', 'List Of Supported Commands'); ?></h4>
<ul>
<?php foreach($this->commands as $command): ?>
<li>
<a href="<?= $this->href('monitoring/command/'. $command); ?>">
<?= $this->escape($command); ?>
</a>
</li>
<?php endforeach; ?>
</ul>

View File

@ -1,25 +0,0 @@
<div class="controls">
<?= $this->tabs ?>
</div>
<div class="content">
<?php if (isset($this->objects) && !empty($this->objects) && isset($this->objects[0]->host_name)): ?>
<table class="objectlist">
<thead>
<tr>
<th><?= $this->icon('host') ?> Host</th>
<th><?= $this->icon('conf') ?> Service</th>
</tr>
</thead>
<tbody>
<?php foreach ($this->objects as $object): ?>
<tr>
<td><?= $object->host_name; ?></td>
<td><?= (isset($object->service_description) ? $object->service_description : '') ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php endif ?>
<?= $this->form ?>
</div>