From 380dc7682f40233ae4aca9f3d6c66c078a734997 Mon Sep 17 00:00:00 2001 From: Marco Malavolti <marco.malavolti@gmail.com> Date: Wed, 13 Oct 2021 12:11:01 +0200 Subject: [PATCH] Added 'IdP-Error' check_result status --- web/eccs.css | 5 +++++ web/eccs.js | 3 +++ 2 files changed, 8 insertions(+) diff --git a/web/eccs.css b/web/eccs.css index 4bd96df..deb16b4 100644 --- a/web/eccs.css +++ b/web/eccs.css @@ -184,6 +184,11 @@ input[type=checkbox] { margin-left: -200px; } +.tooltip-idp-error { + width: 180px; + margin-left: -84px; +} + .tooltip-ssl-error { width: 280px; margin-left: -140px; diff --git a/web/eccs.js b/web/eccs.js index ca0c733..c3a79c4 100644 --- a/web/eccs.js +++ b/web/eccs.js @@ -210,6 +210,9 @@ function getCheckResult(checkResult){ else if (checkResult == "SSL-Error"){ return '<div class="tooltip">SSL-Error <span class="tooltiptext tooltip-top tooltip-ssl-error">The IdP has a problem on its SSL certificate</span></div> '+infoCircle; } + else if (checkResult == "IdP-Error"){ + return '<div class="tooltip">IdP-Error <span class="tooltiptext tooltip-top tooltip-idp-error">The IdP reported an error</span></div> '+infoCircle + } else if (checkResult == "DISABLED"){ return '<div class="tooltip">Disabled <span class="tooltiptext tooltip-top tooltip-disabled">The check has been disabled for the IdP</span></div> '+infoCircle; } -- GitLab