Color the annotation bolt (#3590)

Makes it easier to distinguish between annotations while
editing and using them; Uses the icon color.
This commit is contained in:
Volker Fröhlich
2016-01-07 22:28:03 +01:00
parent 8a2af9b818
commit f4e22e49b6
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@
<table class="grafana-options-table">
<tr ng-repeat="annotation in annotations">
<td style="width:90%">
<i class="fa fa-bolt"></i> &nbsp;
<i class="fa fa-bolt" style="color:{{annotation.iconColor}}"></i> &nbsp;
{{annotation.name}}
</td>
<td style="width: 1%"><i ng-click="_.move(annotations,$index,$index-1)" ng-hide="$first" class="pointer fa fa-arrow-up"></i></td>