playlist.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <div ng-controller="PlaylistCtrl" ng-init="init()">
  2. <div class="dashboard-editor-header">
  3. <div class="dashboard-editor-title">
  4. <i class="icon icon-play"></i>
  5. Start dashboard playlist
  6. </div>
  7. </div>
  8. <div class="dashboard-editor-body">
  9. <div class="editor-row">
  10. <div class="section">
  11. <div class="editor-option">
  12. <table class="table table-striped span4">
  13. <tr>
  14. <th>Dashboard</th>
  15. <th>Include</th>
  16. <th style="white-space: nowrap;">Remove as favorite</th>
  17. </tr>
  18. <tr ng-repeat="dashboard in favDashboards">
  19. <td style="white-space: nowrap;">
  20. {{dashboard.title}}
  21. </td>
  22. <td style="text-align: center">
  23. <input id="dash-{{$index}}" class="cr1" type="checkbox" ng-model="dashboard.include" ng-checked="dashboard.include" />
  24. <label for="dash-{{$index}}" class="cr1"></label>
  25. </td>
  26. <td style="text-align: center">
  27. <i class="icon-remove pointer" ng-click="removeAsFavorite(dashboard)"></i>
  28. </td>
  29. </tr>
  30. <tr ng-hide="favDashboards.length">
  31. <td colspan="3">
  32. <i class="icon-warning"></i> No dashboards marked as favorites
  33. </td>
  34. </tr>
  35. </table>
  36. </div>
  37. <div class="editor-option">
  38. <div class="span4">
  39. <span><i class="icon-question-sign"></i>
  40. dashboards available in the playlist are only the ones marked as favorites (stored in local browser storage).
  41. to mark a dashboard as favorite, use save icon in the menu and in the dropdown select mark as favorite
  42. <br/><br/>
  43. </span>
  44. </div>
  45. </div>
  46. <div class="editor-option">
  47. <label>
  48. Timespan between change
  49. </label>
  50. <input type="text" class="input-small" ng-model="timespan" />
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="dashboard-editor-footer">
  56. <button class="btn btn-success" ng-click="start();dismiss();"><i class="icon-play"></i> Start</button>
  57. <button type="button" class="btn btn-success pull-right" ng-click="dismiss();"><i class="icon-ban-circle"></i> Close</button>
  58. </div>
  59. </div>