playlist.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 type="checkbox" ng-model="dashboard.include" ng-checked="dashboard.include" />
  24. </td>
  25. <td style="text-align: center">
  26. <i class="icon-remove pointer" ng-click="removeAsFavorite(dashboard)"></i>
  27. </td>
  28. </tr>
  29. <tr ng-hide="favDashboards.length">
  30. <td colspan="3">
  31. <i class="icon-warning"></i> No dashboards marked as favorites
  32. </td>
  33. </tr>
  34. </table>
  35. </div>
  36. <div class="editor-option">
  37. <div class="span4">
  38. <span><i class="icon-question-sign"></i>
  39. dashboards available in the playlist are only the once marked as favorites (stored in local browser storage).
  40. to mark a dashboard as favorite, use save icon in the menu and in the dropdown select mark as favorite
  41. <br/><br/>
  42. </span>
  43. </div>
  44. </div>
  45. <div class="editor-option">
  46. <label>
  47. Timespan between change
  48. </label>
  49. <input type="text" class="input-small" ng-model="timespan" />
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="dashboard-editor-footer">
  55. <button class="btn btn-success" ng-click="start();dismiss();"><i class="icon-play"></i> Start</button>
  56. <button type="button" class="btn btn-success pull-right" ng-click="dismiss();"><i class="icon-ban-circle"></i> Close</button>
  57. </div>
  58. </div>