diff --git a/ui/app/css/main.css b/ui/app/css/main.css index 72cd3d18..98e3290d 100644 --- a/ui/app/css/main.css +++ b/ui/app/css/main.css @@ -76,6 +76,9 @@ header #logo { background: #bfbfbf; padding: .8em; } +.silence.highlight .overview { + background: #dfdfdf; +} .silence .detail, .alert-item .detail { background: #fff; padding: .8em; diff --git a/ui/app/js/app.js b/ui/app/js/app.js index 50842e21..57266e51 100644 --- a/ui/app/js/app.js +++ b/ui/app/js/app.js @@ -201,8 +201,9 @@ angular.module('am.controllers').controller('AlertsCtrl', ); angular.module('am.controllers').controller('SilenceCtrl', - function($scope, Silence) { + function($scope, $location, Silence) { + $scope.highlight = $location.search()['hl'] == $scope.sil.id; $scope.showDetails = false; $scope.toggleDetails = function() { diff --git a/ui/app/partials/alert.html b/ui/app/partials/alert.html index 4e3cacfb..c0d2a92d 100644 --- a/ui/app/partials/alert.html +++ b/ui/app/partials/alert.html @@ -10,7 +10,7 @@
inhibited
-
silenced by {{ alert.silenced }}
+
silenced
diff --git a/ui/app/partials/silence.html b/ui/app/partials/silence.html index 56001ae3..12f5a53d 100644 --- a/ui/app/partials/silence.html +++ b/ui/app/partials/silence.html @@ -1,4 +1,4 @@ -
+