mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-10 07:49:36 +00:00
24 lines
815 B
HTML
24 lines
815 B
HTML
<fieldset id="silence-create">
|
|
<legend>Filter</legend>
|
|
<select class="select" ng-model="receivers" multiple>
|
|
<option ng-repeat="dest in allReceivers" value="{{ dest }}">{{ dest }}</option>
|
|
</select>
|
|
</fieldset>
|
|
|
|
<div id="alert-groups" ng-controller="AlertsCtrl">
|
|
<div class="alert-group" ng-repeat="group in groups | filter:notEmpty">
|
|
<div class="alert-group-header group">
|
|
<span ng-repeat="(ln, lv) in group.labels" class="lbl {{ ln == 'alertname' ? 'lbl-highlight' : '' }}">
|
|
{{ ln }} = '{{ lv }}'
|
|
</span>
|
|
</div>
|
|
|
|
<div ng-repeat="blk in group.blocks">
|
|
<div ng-show="receivers.indexOf(blk.routeOpts.receiver) >= 0" ng-show"blk.alerts">
|
|
<div ng-repeat="a in blk.alerts">
|
|
<alert class="list-item" alert="a" group="group.labels"></alert>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |