grafana/src/app/partials/playlist.html

63 lines
2.0 KiB
HTML
Raw Normal View History

<div ng-controller="PlaylistCtrl" ng-init="init()">
2014-08-26 02:46:15 -05:00
<div class="dashboard-editor-header">
<div class="dashboard-editor-title">
2015-01-08 04:03:27 -06:00
<i class="fa fa-play"></i>
2014-08-26 02:46:15 -05:00
Start dashboard playlist
</div>
</div>
<div class="dashboard-editor-body">
<div class="editor-row">
<div class="section">
<div class="editor-option">
<table class="table table-striped span4">
<tr>
<th>Dashboard</th>
<th>Include</th>
<th style="white-space: nowrap;">Remove as favorite</th>
</tr>
<tr ng-repeat="dashboard in favDashboards">
<td style="white-space: nowrap;">
{{dashboard.title}}
</td>
<td style="text-align: center">
2014-09-30 03:27:56 -05:00
<input id="dash-{{$index}}" class="cr1" type="checkbox" ng-model="dashboard.include" ng-checked="dashboard.include" />
<label for="dash-{{$index}}" class="cr1"></label>
2014-08-26 02:46:15 -05:00
</td>
<td style="text-align: center">
2015-01-08 04:03:27 -06:00
<i class="fa fa-remove pointer" ng-click="removeAsFavorite(dashboard)"></i>
2014-08-26 02:46:15 -05:00
</td>
</tr>
<tr ng-hide="favDashboards.length">
<td colspan="3">
2015-01-08 04:03:27 -06:00
<i class="fa fa-warning"></i> No dashboards marked as favorites
2014-08-26 02:46:15 -05:00
</td>
</tr>
</table>
</div>
<div class="editor-option">
<div class="span4">
2015-01-08 04:03:27 -06:00
<span><i class="fa fa-question-circle"></i>
2014-09-17 13:04:06 -05:00
dashboards available in the playlist are only the ones marked as favorites (stored in local browser storage).
to mark a dashboard as favorite, use save icon in the menu and in the dropdown select mark as favorite
2014-08-26 02:46:15 -05:00
<br/><br/>
</span>
</div>
</div>
<div class="editor-option">
<label>
Timespan between change
</label>
<input type="text" class="input-small" ng-model="timespan" />
</div>
</div>
</div>
</div>
<div class="dashboard-editor-footer">
2015-01-08 04:03:27 -06:00
<button class="btn btn-success" ng-click="start();dismiss();"><i class="fa fa-play"></i> Start</button>
<button type="button" class="btn btn-success pull-right" ng-click="dismiss();">Close</button>
2014-08-26 02:46:15 -05:00
</div>
</div>