Commit b58e605b by utkarshcmu

Added play button

parent 77768038
...@@ -11,19 +11,29 @@ ...@@ -11,19 +11,29 @@
<em>No saved playlists</em> <em>No saved playlists</em>
</div> </div>
<div ng-if="playlists.length > 0">
<em>Saved playlists</em>
</div>
<br>
<table class="grafana-options-table" ng-if="playlists.length > 0"> <table class="grafana-options-table" ng-if="playlists.length > 0">
<tr> <tr>
<td><strong>Title</strong></td> <td><strong>Title</strong></td>
<td><strong>Url</strong></td> <td colspan="0"><strong>Url</strong></td>
<td></td>
<td></td>
</tr> </tr>
<tr ng-repeat="playlist in playlists"> <tr ng-repeat="playlist in playlists">
<td style="width:1%"> <td style="width:1%">
{{playlist.title}} {{playlist.title}}
</td> </td>
<td style="width:90%"> <td style="width:90%">
<a href="{{ playlistUrl(playlist) }}">{{ playlistUrl(playlist) }}</a> {{ playlistUrl(playlist) }}
</td>
<td style="width: 1%">
<a href="{{ playlistUrl(playlist) }}" class="btn btn-inverse btn-mini">
<i class="fa fa-play"></i>
Play
</a>
</td> </td>
<td style="width: 1%"> <td style="width: 1%">
<a href="playlists/edit/{{playlist.id}}" class="btn btn-inverse btn-mini"> <a href="playlists/edit/{{playlist.id}}" class="btn btn-inverse btn-mini">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment