mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-01 19:29:34 -05:00
Address Node which is UP or OK with downtime.
This commit is contained in:
parent
f0aae66544
commit
af4226aa43
3 changed files with 4 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ class BpNode extends Node
|
|||
$this->counters['MISSING']++;
|
||||
} else {
|
||||
$state = $child->getStateName($this->getChildState($child));
|
||||
if ($child->isHandled()) {
|
||||
if ($child->isHandled() && ($state !== 'UP' && $state !== 'OK')) {
|
||||
$state = $state . '-HANDLED';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
min-width: 2em;
|
||||
padding: .25em;
|
||||
text-align: center;
|
||||
border: 1px solid black;
|
||||
border: 1px solid @body-bg-color;
|
||||
|
||||
&.state-critical {
|
||||
background-color: @color-critical
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
li > ul > li:first-child:not(:last-child) .state-badge {
|
||||
border-bottom-right-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
li > ul > li:last-child:not(:first-child) .state-badge {
|
||||
|
|
@ -21,7 +22,7 @@
|
|||
}
|
||||
|
||||
> li:not(:last-child) {
|
||||
margin-right: .25em;
|
||||
margin-right: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue