Remove obsolete files
This commit is contained in:
parent
d13b89d611
commit
e2955c5af2
|
@ -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";
|
||||
}
|
||||
}
|
|
@ -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>
|
Loading…
Reference in New Issue