alertmanager/ui/app/partials/route.html
2015-10-22 09:49:16 +02:00

28 lines
879 B
HTML

<div class="route">
<div class="route-header group">
<div class="grouping-labels right">
<span ng-repeat="l in route.routeOpts.groupBy" class="lbl right badge badge-primary" outline>{{ l }}</span>
</div>
<div class="route-matchers left">
<span ng-repeat="m in route.matchers" class="lbl left badge badge-primary">
{{ m.name }} =<span ng-show="m.isRegex">~</span> '{{ m.value }}'
</span>
</div>
</div>
<div class="alert-groups">
<div class="alert-group" ng-repeat="group in route.groups">
<div class="alert-group-header group">
<span ng-repeat="(ln, lv) in group.labels" class="lbl left badge badge-white">
{{ ln }} = '{{ lv }}'
</span>
</div>
<div ng-repeat="a in group.alerts">
<alert class="list-item" a="a"></alert>
</div>
</div>
</div>
<div ng-repeat="r in route.routes">
<route route="r"></route>
</div>
</div>