From 6b955bf099e2a3ef85d7510e3a3a92e14c820dbe Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Tue, 5 Oct 2021 13:35:14 +0600 Subject: [PATCH] v5.3.0.0 Changelog: https://haproxy-wi.org/changelog.py#5_3 --- inc/awesome.css | 11 ++++++++++- inc/script.js | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/inc/awesome.css b/inc/awesome.css index 128b70cf..0673d62d 100644 --- a/inc/awesome.css +++ b/inc/awesome.css @@ -365,13 +365,22 @@ font-family: "Font Awesome 5 Solid"; content: "\f023"; } +.box::before { + display: none; + font-family: "Font Awesome 5 Solid"; + content: "\f466"; +} .server-name .lock .fa-lock, +.server-name .box .fa-box, .server-name .green .fa-shield-alt, .server-name .red .fa-shield-alt { color: #d2d2d2; margin-bottom: -1px; width: 14px; } +.server-name .box .fa-box { + margin-bottom: -2px; +} .server-name .green .fa-shield-alt { color: var(--green-color); } @@ -386,4 +395,4 @@ .copyToClipboard .fa-copy { margin-left: 5px; content: "\f0c5"; -} \ No newline at end of file +} diff --git a/inc/script.js b/inc/script.js index 417b460c..a66b8f01 100644 --- a/inc/script.js +++ b/inc/script.js @@ -325,7 +325,7 @@ function showLog() { }, type: "POST", success: function( data ) { - if (data.indexOf('error:') != '-1') { + if (data.indexOf('error:') != '-1' && data.indexOf('Internal error:') == '-1') { toastr.error(data); } else { toastr.clear();