Remove obsolete files

This commit is contained in:
Thomas Gelf 2014-03-08 18:55:09 +01:00
parent d13b89d611
commit e2955c5af2
2 changed files with 0 additions and 40 deletions

View File

@ -1,18 +0,0 @@
<?php
class Zend_View_Helper_CommandArguments extends Zend_View_Helper_Abstract
{
public function commandArguments($command)
{
if (empty($command)) {
return '';
}
$parts = explode('!', $command);
$row = "<dd><b>%s</b>: %s</dd>\n";
for ($i = 1; $i < count($parts); $i++) {
$parts[$i] = sprintf($row, '$ARG' . $i . '$', $parts[$i]);
}
array_shift($parts);
return "<dl>\n" . implode("\n", $parts) . "</dl>\n";
}
}

View File

@ -1,22 +0,0 @@
<div>
<div class="panel-heading">
<div class="panel-hostname">
Check Statistics
</div>
</div>
<hr class="separator" />
<div class="panel-body">
<dl class="dl-horizontal">
<dt>Latency</dt>
<dd><?= sprintf('%.2f', $this->object->check_execution_time); ?>s</dd>
<dt>Duration</dt>
<dd><?= sprintf('%.2f', $this->object->check_latency); ?>s</dd>
<dt>Attempt</dt>
<dd>
<?= $this->object->current_check_attempt; ?>/<?= $this->object->max_check_attempts; ?>
(<?= ($this->object->host_state_type === '1') ? 'Hard' : 'Soft'; ?>)
</dd>
</dl>
</div>
</div>