@cryptotaxi247 / netdata-1 / commits / eb8d4af24

Web (#6294)

* WEB fix previous! * WEB fix previous 2! * WEB fix errors with solution given by Ivor!

thiagoftsm committed Jun 17, 2019 at 12:24 UTC eb8d4af248ded2bd41818d466959bf641c5c3c3c
2 files changed +2 -1
web/gui/main.css
+1
@@ -322,6 +322,7 @@ body.modal-open {
322 .sidebar-body {
323 position: absolute;
324 display: none;
325 + height: 100vh;
326 }
327
328 .dashboard-section-container {
web/gui/main.js
+1 -1
@@ -1993,7 +1993,7 @@ function clipboardCopyBadgeEmbed(url) {
1993 function alarmsUpdateModal() {
1994 var active = '<h3>Raised Alarms</h3><table class="table">';
1995 var all = '<h3>All Running Alarms</h3><div class="panel-group" id="alarms_all_accordion" role="tablist" aria-multiselectable="true">';
1996 - var footer = '<hr/><a href="https://github.com/netdata/netdata/tree/master/web/api/badges#netdata-badges" target="_blank">netdata badges</a> refresh automatically. Their color indicates the state of the alarm: <span style="color: #e05d44"><b>&nbsp;red&nbsp;</b></span> is critical, <span style="color:#fe7d37"><b>&nbsp;orange&nbsp;</b></span> is warning, <span style="color: #4c1"><b>&nbsp;bright green&nbsp;</b></span> is ok, <span style="color: #9f9f9f"><b>&nbsp;light grey&nbsp;</b></span> is undefined (i.e. no data or no status), <span style="color: #000"><b>&nbsp;black&nbsp;</b></span> is not initialized. You can copy and paste their URLs to embed them in any web page.<br/>netdata can send notifications for these alarms. Check <a href="https://github.com/netdata/netdata/blob/master/health/notifications/health_alarm_notify.conf">this configuration file</a> for more information.';
1996 + var footer = '<hr/><a href="https://github.com/netdata/netdata/tree/master/web/api/badges#netdata-badges" target="_blank">netdata badges</a> refresh automatically. Their color indicates the state of the alarm: <span style="color: #e05d44"><b>&nbsp;red&nbsp;</b></span> is critical, <span style="color:#fe7d37"><b>&nbsp;orange&nbsp;</b></span> is warning, <span style="color: #4c1"><b>&nbsp;bright green&nbsp;</b></span> is ok, <span style="color: #9f9f9f"><b>&nbsp;light grey&nbsp;</b></span> is undefined (i.e. no data or no status), <span style="color: #000"><b>&nbsp;black&nbsp;</b></span> is not initialized. You can copy and paste their URLs to embed them in any web page.<br/>netdata can send notifications for these alarms. Check <a href="https://github.com/netdata/netdata/blob/master/health/notifications/health_alarm_notify.conf" target="_blank">this configuration file</a> for more information.';
1997
1998 loadClipboard(function () {
1999 });