Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:NagVis/nagvis

  • Loading branch information
LarsMichelsen committed Dec 7, 2019
2 parents 05a5f1e + 684a8e4 commit 8f4ad1814ca54c88e7dfc5d1a47a86b27de98835
Showing with 14 additions and 2 deletions.
  1. +10 −1 share/userfiles/templates/default.css
  2. +4 −1 share/userfiles/templates/default.header.js
@@ -767,8 +767,17 @@ div.statediv.sPENDING, div.statediv.sUNCHECKED {
background-color: #C0C0C0;
}

div.statediv.sACK {
div.statediv.sACK:not(.sDOWNTIME) {
border-style: dotted;
clip-path: polygon(100% 0, 100% 100%, 50% 50%, 0 100%, 0 0);
}
div.statediv.sDOWNTIME:not(.sACK) {
border-style: dotted;
clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0, 50% 50%);
}
div.statediv.sACK.sDOWNTIME {
border-style: dotted;
clip-path: polygon(50% 50%, 100% 0, 100% 100%, 50% 50%, 0 100%, 0 0);
}

/*
@@ -103,9 +103,12 @@ function headerUpdateState(map_conf) {
var side = document.getElementById('side-state-' + map['name']);
if (side) {
side.className = 'statediv s' + map['summary_state'];
if (map['summary_problem_has_been_acknowledged']==1) {
if (map['summary_problem_has_been_acknowledged'] == 1) {
side.className += ' sACK';
}
if (map['summary_in_downtime'] == 1) {
side.className += ' sDOWNTIME';
}
side = null;
}

0 comments on commit 8f4ad18

Please sign in to comment.
You can’t perform that action at this time.