monitoring/CSS: Use new state- classes in the host detail

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-25 11:18:53 +02:00
parent 204cb4c99c
commit cfee0cc99f
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ use Icinga\Module\Monitoring\Object\Host;
/** @var Host $object */
?>
<table>
<tr class="state <?= Host::getStateText($object->host_state); ?><?= $object->host_handled ? ' handled' : ''; ?>">
<td class="state">
<tr>
<td class="state-col state <?= Host::getStateText($object->host_state); ?><?= $object->host_handled ? ' handled' : ''; ?>">
<strong><?= Host::getStateText($object->host_state, true); ?></strong><br>
<?= $this->timeSince($object->host_last_state_change); ?>
</td>