mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +02:00
monitoring: Update content markup in servicegroups
This commit is contained in:
parent
913c024e46
commit
ad8cffcbbd
@ -12,20 +12,20 @@ if (! $this->compact): ?>
|
|||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php if (! $servicegroups->hasResult()): ?>
|
<?php if (! $serviceGroups->hasResult()): ?>
|
||||||
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
|
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
<table class="table-row-selectable common-table" data-base-target="_next">
|
<table class="table-row-selectable common-table" data-base-target="_next">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th><?= $this->translate('Service Group') ?></th>
|
<th><?= $this->translate('Service Group') ?></th>
|
||||||
<th><?= $this->translate('Service States') ?></th>
|
<th><?= $this->translate('Service States') ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($servicegroups->peekAhead($this->compact) as $serviceGroup): ?>
|
<?php foreach ($serviceGroups->peekAhead($this->compact) as $serviceGroup): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="count-col">
|
<td class="count-col">
|
||||||
<span class="badge"><?= $serviceGroup->services_total ?></span>
|
<span class="badge"><?= $serviceGroup->services_total ?></span>
|
||||||
@ -157,18 +157,20 @@ if (! $this->compact): ?>
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<?php if ($servicegroups->hasMore()): ?>
|
<?php if ($serviceGroups->hasMore()): ?>
|
||||||
<?= $this->qlink(
|
<div class="action-links">
|
||||||
|
<?= $this->qlink(
|
||||||
$this->translate('Show More'),
|
$this->translate('Show More'),
|
||||||
$this->url()->without(array('view', 'limit')),
|
$this->url()->without(array('view', 'limit')),
|
||||||
null,
|
null,
|
||||||
array(
|
array(
|
||||||
'data-base-target' => '_next',
|
'class' => 'action-link',
|
||||||
'class' => 'pull-right action-link'
|
'data-base-target' => '_next'
|
||||||
)
|
)
|
||||||
) ?>
|
) ?>
|
||||||
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user