2014-03-07 12:24:45 -06:00
|
|
|
<div ng-controller="PlaylistCtrl" ng-init="init()">
|
2015-02-02 01:59:38 -06:00
|
|
|
<div class="gf-box-header">
|
|
|
|
<div class="gf-box-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>
|
2015-02-02 01:59:38 -06:00
|
|
|
|
|
|
|
<button class="gf-box-header-close-btn" ng-click="dismiss();">
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
</button>
|
|
|
|
|
2014-08-26 02:46:15 -05:00
|
|
|
</div>
|
|
|
|
|
2015-02-02 01:59:38 -06:00
|
|
|
<div class="gf-box-body">
|
2015-02-13 01:47:44 -06:00
|
|
|
<div class="row" style="margin-bottom: 10px;">
|
|
|
|
<div class="span6">
|
|
|
|
<div style="display: inline-block">
|
|
|
|
<div class="tight-form">
|
|
|
|
<ul class="tight-form-list">
|
|
|
|
<li class="tight-form-item">
|
|
|
|
Search
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="text" class="tight-form-input input-xlarge last" ng-model="searchQuery" placeholder="query or empty for starred" ng-change="search()">
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
2014-08-26 02:46:15 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-13 01:47:44 -06:00
|
|
|
<div class="span6">
|
|
|
|
<h5>Playlist dashboards</h5>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-02 01:59:38 -06:00
|
|
|
|
2015-02-13 01:47:44 -06:00
|
|
|
<div class="row">
|
|
|
|
<div class="span6">
|
|
|
|
<table class="grafana-options-table">
|
2015-02-13 07:36:16 -06:00
|
|
|
<tr ng-repeat="dashboard in filteredHits">
|
2015-02-13 01:47:44 -06:00
|
|
|
<td style="white-space: nowrap;">
|
|
|
|
{{dashboard.title}}
|
|
|
|
</td>
|
|
|
|
<td style="text-align: center">
|
|
|
|
<button class="btn btn-inverse btn-mini pull-right" ng-click="addDashboard(dashboard)">
|
|
|
|
<i class="fa fa-arrow-right"></i>
|
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-hide="searchHits.length">
|
|
|
|
<td colspan="3">
|
|
|
|
<i class="fa fa-warning"></i> No dashboards found
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="span6">
|
|
|
|
<table class="grafana-options-table">
|
|
|
|
<tr ng-repeat="dashboard in playlist">
|
|
|
|
<td style="white-space: nowrap;">
|
|
|
|
{{dashboard.title}}
|
|
|
|
</td>
|
|
|
|
<td style="text-align: center">
|
|
|
|
<button class="btn btn-inverse btn-mini pull-right" ng-click="removeDashboard(dashboard)">
|
|
|
|
<i class="fa fa-remove"></i>
|
|
|
|
</button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-08-26 02:46:15 -05:00
|
|
|
</div>
|
|
|
|
|
2015-02-02 01:59:38 -06:00
|
|
|
<br>
|
|
|
|
<br>
|
2015-02-13 01:47:44 -06:00
|
|
|
<div class="pull-left">
|
|
|
|
<div class="tight-form">
|
|
|
|
<ul class="tight-form-list">
|
|
|
|
<li class="tight-form-item">
|
|
|
|
Timespan between dashboard change
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<input type="text" class="tight-form-input input-small" ng-model="timespan" />
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<button class="btn btn-success tight-form-btn" ng-click="start();dismiss();"><i class="fa fa-play"></i> Start</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
2014-08-26 02:46:15 -05:00
|
|
|
</div>
|
|
|
|
</div>
|