| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <div ng-controller="PlaylistCtrl" ng-init="init()">
- <div class="gf-box-header">
- <div class="gf-box-title">
- <i class="fa fa-play"></i>
- Start dashboard playlist
- </div>
- <button class="gf-box-header-close-btn" ng-click="dismiss();">
- <i class="fa fa-remove"></i>
- </button>
- </div>
- <div class="gf-box-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">
- <input id="dash-{{$index}}" class="cr1" type="checkbox" ng-model="dashboard.include" ng-checked="dashboard.include" />
- <label for="dash-{{$index}}" class="cr1"></label>
- </td>
- <td style="text-align: center">
- <i class="fa fa-remove pointer" ng-click="removeAsFavorite(dashboard)"></i>
- </td>
- </tr>
- <tr ng-hide="favDashboards.length">
- <td colspan="3">
- <i class="fa fa-warning"></i> No dashboards marked as favorites
- </td>
- </tr>
- </table>
- </div>
- <div class="editor-option">
- <div class="span4">
- <span><i class="fa fa-question-circle"></i>
- 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
- <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>
- <br>
- <button class="btn btn-success pull-right" ng-click="start();dismiss();"><i class="fa fa-play"></i> Start</button>
- <br>
- </div>
- </div>
|