diff --git a/web/static/css/alerts.css b/web/static/css/alerts.css index ea95be1f4..f7061c4d8 100644 --- a/web/static/css/alerts.css +++ b/web/static/css/alerts.css @@ -6,6 +6,10 @@ display: none; } +.silence_children_link { + margin-left: 5px; +} + .alert_rule { padding: 5px; color: #333; diff --git a/web/static/js/alerts.js b/web/static/js/alerts.js index 25fc07b46..6ccae0efe 100644 --- a/web/static/js/alerts.js +++ b/web/static/js/alerts.js @@ -9,6 +9,10 @@ function init() { } $(this).next().toggle(); }); + + $(".silence_alert_link, .silence_children_link").click(function() { + alert("Silencing is not yet supported."); + }); } $(init); diff --git a/web/templates/alerts.html b/web/templates/alerts.html index 6219ebd19..5ff2fcef0 100644 --- a/web/templates/alerts.html +++ b/web/templates/alerts.html @@ -18,6 +18,7 @@
State | Active Since | Value | +Silence | {{range $activeAlerts}}|
---|---|---|---|---|
{{.State}} | {{.ActiveSince}} | {{.Value}} | +Silence… |