parent
2e611bfd03
commit
22fb507a2e
|
@ -12,7 +12,7 @@ if (! $this->compact): ?>
|
|||
<?php endif ?>
|
||||
|
||||
<div class="content">
|
||||
<?php if (! $hostgroups->hasResult()): ?>
|
||||
<?php if (! $hostgroups->hasResult()): ?>
|
||||
<p><?= $this->translate('No host groups found matching the filter.') ?></p>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
|
|
|
@ -10,21 +10,18 @@ if (! $this->compact): ?>
|
|||
</div>
|
||||
<?php endif ?>
|
||||
<div class="content">
|
||||
<?php if ($servicegroups->hasResult()): ?>
|
||||
<p><?= $this->translate('No servicegroups found matching the filter') ?></p>
|
||||
<?php if ($servicegroups->hasResult()): ?>
|
||||
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php return; endif ?>
|
||||
<table class="groupview action" data-base-target="_next">
|
||||
<thead>
|
||||
<thead>
|
||||
<th><?= $this->translate('Service Group') ?></th>
|
||||
<th><?= $this->translate('Total Services') ?></th>
|
||||
<th><?= $this->translate('Service States') ?></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
|
||||
$servicegroups->peekAhead($this->compact);
|
||||
foreach ($servicegroups as $serviceGroup): ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($servicegroups->peekAhead($this->compact) as $serviceGroup): ?>
|
||||
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $serviceGroup->servicegroup_name)) ?>">
|
||||
<td class="groupname">
|
||||
<?= $this->qlink(
|
||||
|
@ -156,10 +153,10 @@ foreach ($servicegroups as $serviceGroup): ?>
|
|||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php if ($servicegroups->hasMore()): ?>
|
||||
<?= $this->qlink(
|
||||
<?= $this->qlink(
|
||||
$this->translate('Show More'),
|
||||
$this->url()->without(array('view', 'limit')),
|
||||
null,
|
||||
|
@ -167,6 +164,6 @@ foreach ($servicegroups as $serviceGroup): ?>
|
|||
'data-base-target' => '_next',
|
||||
'class' => 'pull-right show-more'
|
||||
)
|
||||
) ?>
|
||||
) ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue