mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(playlist): improve the look of tag playlist items
This commit is contained in:
parent
f36ade2959
commit
3ccf7c8006
@ -87,9 +87,16 @@
|
|||||||
<h5>Added dashboards</h5>
|
<h5>Added dashboards</h5>
|
||||||
<table class="grafana-options-table">
|
<table class="grafana-options-table">
|
||||||
<tr ng-repeat="playlistItem in ctrl.playlistItems">
|
<tr ng-repeat="playlistItem in ctrl.playlistItems">
|
||||||
<td style="white-space: nowrap;">
|
<td style="white-space: nowrap;" ng-if="playlistItem.type === 'dashboard_by_id'">
|
||||||
{{playlistItem.title}}
|
{{playlistItem.title}}
|
||||||
</td>
|
</td>
|
||||||
|
<td style="white-space: nowrap;" ng-if="playlistItem.type === 'dashboard_by_tag'">
|
||||||
|
<a class="search-result-tag label label-tag" tag-color-from-name="playlistItem.title">
|
||||||
|
<i class="fa fa-tag"></i>
|
||||||
|
<span>{{playlistItem.title}}</span>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td style="text-align: right">
|
<td style="text-align: right">
|
||||||
<button class="btn btn-inverse btn-mini" ng-hide="$first" ng-click="ctrl.movePlaylistItemUp(playlistItem)">
|
<button class="btn btn-inverse btn-mini" ng-hide="$first" ng-click="ctrl.movePlaylistItemUp(playlistItem)">
|
||||||
<i class="fa fa-arrow-up"></i>
|
<i class="fa fa-arrow-up"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user