parent
f6efa85079
commit
e948e63aa5
|
@ -5,19 +5,19 @@ use Icinga\Module\Monitoring\Object\Service;
|
||||||
$services->peekAhead($this->compact);
|
$services->peekAhead($this->compact);
|
||||||
|
|
||||||
if (! $this->compact): ?>
|
if (! $this->compact): ?>
|
||||||
<div class="controls separated">
|
<div class="controls separated">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs ?>
|
||||||
<div class="dontprint">
|
<div class="dontprint">
|
||||||
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
<?= $this->render('list/components/selectioninfo.phtml') ?>
|
||||||
<h1 class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
<h1 class="tinystatesummary" <?= $this->compact ? ' data-base-target="col1"' : ''; ?>>
|
||||||
<?= $this->render('list/components/servicesummary.phtml') ?>
|
<?= $this->render('list/components/servicesummary.phtml') ?>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
|
||||||
<?= $this->sortBox ?>
|
|
||||||
<?= $this->limiter ?>
|
|
||||||
<?= $this->paginator ?>
|
|
||||||
<?= $this->filterEditor ?>
|
|
||||||
</div>
|
</div>
|
||||||
|
<?= $this->sortBox ?>
|
||||||
|
<?= $this->limiter ?>
|
||||||
|
<?= $this->paginator ?>
|
||||||
|
<?= $this->filterEditor ?>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<table data-base-target="_next"
|
<table data-base-target="_next"
|
||||||
|
@ -40,10 +40,9 @@ if (! $this->compact): ?>
|
||||||
'host' => $service->host_name,
|
'host' => $service->host_name,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$serviceStateName = Service::getStateText($service->service_state);
|
$serviceStateName = Service::getStateText($service->service_state); ?>
|
||||||
?>
|
<tr>
|
||||||
<tr class="state <?= $serviceStateName ?><?= $service->service_handled ? ' handled' : '' ?>">
|
<td class="state-col state-<?= $serviceStateName ?><?= $service->service_handled ? '-handled' : '' ?>">
|
||||||
<td class="state">
|
|
||||||
<p>
|
<p>
|
||||||
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
<span class="state-label"><?= Service::getStateText($service->service_state, true) ?></span>
|
||||||
<?php if ((int) $service->service_state !== 99): ?>
|
<?php if ((int) $service->service_state !== 99): ?>
|
||||||
|
@ -100,14 +99,16 @@ if (! $this->compact): ?>
|
||||||
<?php if (! $services->hasResult()): ?>
|
<?php if (! $services->hasResult()): ?>
|
||||||
<?= $this->translate('No services found matching the filter'); ?>
|
<?= $this->translate('No services found matching the filter'); ?>
|
||||||
<?php elseif ($services->hasMore()): ?>
|
<?php elseif ($services->hasMore()): ?>
|
||||||
<?= $this->qlink(
|
<div class="text-right">
|
||||||
$this->translate('Show More'),
|
<?= $this->qlink(
|
||||||
$this->url()->without(array('view', 'limit')),
|
$this->translate('Show More'),
|
||||||
null,
|
$this->url()->without(array('view', 'limit')),
|
||||||
array(
|
null,
|
||||||
'data-base-target' => '_next',
|
array(
|
||||||
'class' => 'action-link pull-right'
|
'data-base-target' => '_next',
|
||||||
)
|
'class' => 'action-link'
|
||||||
) ?>
|
)
|
||||||
|
) ?>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue