CSS: Use new state- classes in the list/hosts view script

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-24 12:02:25 +02:00
parent dd0c81e344
commit 5a6deae2c5
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ if (! $this->compact): ?>
<?php foreach($hosts as $host):
$hostStateName = Host::getStateText($host->host_state);
$hostLink = $this->href('monitoring/host/show', array('host' => $host->host_name)); ?>
<tr class="state <?= $hostStateName ?><?= $host->host_handled ? ' handled' : '' ?>">
<td class="state">
<tr>
<td class="state-col state-<?= $hostStateName ?><?= $host->host_handled ? '-handled' : '' ?>">
<strong><?= Host::getStateText($host->host_state, true) ?></strong>
<?php if ((int) $host->host_state !== 99): ?>
<br>