Emphasize alertname label in UI

This commit is contained in:
Fabian Reinartz 2015-10-22 11:10:59 +02:00
parent 9f8c959d4d
commit f6461b0182
2 changed files with 7 additions and 2 deletions

View File

@ -152,6 +152,9 @@ input.collapse.open[type=checkbox]:after {
content: '▿';
}
.label.alertname {
background: #fff !important;
}
/**/
input[type="datetime-local"] {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

View File

@ -10,8 +10,10 @@
<span class="time">now</span>
</span>
</div>
<span class="lbl small left label label-white" outline ng-repeat="(name, value) in a.labels | orderBy:name">
{{ name }} = '{{ value }}'
<span ng-repeat="(name, value) in a.labels | orderBy:name">
<span class="lbl small left label {{name=='alertname' ? 'label-error alertname' : 'label-white'}}" outline>
{{ name }} = '{{ value }}'
</span>
</span>
</div>
<div class="container-right group">