Skip to content

Commit

Permalink
monitoring/CSS: Use new state- classes in the service detail header
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 25, 2015
1 parent 1a4c1a5 commit 1e2803f
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1,11 +1,10 @@
<?php
use Icinga\Module\Monitoring\Object\Host;
use Icinga\Module\Monitoring\Object\Service;

?>
<table class="objectstate">
<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>
Expand Down

0 comments on commit 1e2803f

Please sign in to comment.