module.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <div ng-controller='StatsCtrl'>
  2. <div class="stats-panel-value-container">
  3. <span class="stats-panel-value">{{mainstat.value}}</span>
  4. <span class="stats-panel-func">({{mainstat.func}})</span>
  5. </div>
  6. <table class="stats-panel-table">
  7. <tr>
  8. <th></th>
  9. <th>avg</th>
  10. <th>min</th>
  11. <th>max</th>
  12. <th>current</th>
  13. <th>total</th>
  14. </tr>
  15. <tr class="stats-series-item" ng-repeat="series in series">
  16. <td>
  17. <i class='icon-minus pointer' ng-style="{color: series.color}"></i>
  18. {{series.info.alias}}
  19. </td>
  20. <td>{{series.info.avg}}</td>
  21. <td>{{series.info.min}}</td>
  22. <td>{{series.info.max}}</td>
  23. <td>{{series.info.current}}</td>
  24. <td>{{series.info.total}}</td>
  25. </tr>
  26. </table>
  27. <div class="clearfix"></div>
  28. <div style="margin-top: 30px" ng-if="editMode">
  29. <div class="dashboard-editor-header">
  30. <div class="dashboard-editor-title">
  31. <i class="icon icon-bar-chart"></i>
  32. Panel settings
  33. </div>
  34. <div ng-model="editor.index" bs-tabs>
  35. <div ng-repeat="tab in editorTabs" data-title="{{tab}}">
  36. </div>
  37. </div>
  38. </div>
  39. <div class="dashboard-editor-body">
  40. <div ng-repeat="tab in panelMeta.fullEditorTabs" ng-if="editorTabs[editor.index] == tab.title">
  41. <div ng-include src="tab.src"></div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>