Web UI: highlight resource in alerts

This commit is contained in:
Floran Brutel 2015-05-09 18:41:00 +02:00 committed by Alessio Sergi
parent dacb11db67
commit ccd8fdf481

View File

@ -1,7 +1,7 @@
<div class="table">
<div class="table-row" ng-repeat="alert in result['alert']">
<div class="table-cell text-left">
{{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - {{alert[2]}} on {{alert[3]}} ({{alert[4]}})
{{alert.begin | date : 'yyyy-MM-dd H:mm:ss'}} ({{ alert.ongoing ? 'ongoing' : alert.duration }}) - {{alert[2]}} on <span class="{{ alert[2] | lowercase }}">{{alert[3]}}</span> ({{alert[4]}})
</div>
</div>
</div>