monitoring: Fix CSS classes in the service groups overview

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-28 18:11:09 +02:00
parent 1a962a1b2d
commit 8eb5554ba2
1 changed files with 7 additions and 7 deletions

View File

@ -14,26 +14,26 @@ if (! $this->compact): ?>
<p><?= $this->translate('No service groups found matching the filter.') ?></p>
</div>
<?php return; endif ?>
<table class="groupview action" data-base-target="_next">
<table class="action-tabline listing-table" data-base-target="_next">
<thead>
<th></th>
<th><?= $this->translate('Service Group') ?></th>
<th><?= $this->translate('Total Services') ?></th>
<th><?= $this->translate('Service States') ?></th>
</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">
<td class="count-col">
<span class="badge"><?= $serviceGroup->services_total ?></span>
</td>
<th>
<?= $this->qlink(
$serviceGroup->servicegroup_alias,
'monitoring/list/services',
array('servicegroup_name' => $serviceGroup->servicegroup_name),
array('title' => sprintf($this->translate('List all services in the group "%s"'), $serviceGroup->servicegroup_alias))
) ?>
</td>
<td class="total">
<?= $serviceGroup->services_total ?>
</td>
</th>
<td>
<?php
$stateBadges = new StateBadges();