alert_list.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <navbar icon="fa fa-fw fa-list" title="Alerting" title-url="alerting">
  2. </navbar>
  3. <div class="page-container" >
  4. <div class="page-header">
  5. <h1>Alerting</h1>
  6. </div>
  7. <div class="gf-form-inline">
  8. <gf-form-switch class="gf-form" label="Ok" label-class="width-5" checked="ctrl.filter.ok" on-change="ctrl.updateFilter()"></gf-form-switch>
  9. <gf-form-switch class="gf-form" label="Warn" label-class="width-5" checked="ctrl.filter.warn" on-change="ctrl.updateFilter()"></gf-form-switch>
  10. <gf-form-switch class="gf-form" label="Critical" label-class="width-5" checked="ctrl.filter.critical" on-change="ctrl.updateFilter()"></gf-form-switch>
  11. <gf-form-switch class="gf-form" label="Acknowleged" label-class="width-7" checked="ctrl.filter.acknowleged" on-change="ctrl.updateFilter()"></gf-form-switch>
  12. </div>
  13. <table class="grafana-options-table">
  14. <thead>
  15. <th style="min-width: 200px"><strong>Name</strong></th>
  16. <th style="width: 1%">State</th>
  17. <th style="width: 1%"></th>
  18. </thead>
  19. <tr ng-repeat="alert in ctrl.alerts">
  20. <td>
  21. <a href="alerting/{{alert.id}}/states">
  22. {{alert.name}}
  23. </a>
  24. </td>
  25. <td class="text-center">
  26. <a href="alerting/{{alert.id}}/states">
  27. <i class="icon-gf {{alert.iconCss}}"></i>
  28. </a>
  29. </td>
  30. <td class="text-center">
  31. <a href="dashboard/{{alert.dashboardUri}}?panelId={{alert.panelId}}&fullscreen&edit&editorTab=Alerting" class="btn btn-inverse btn-small">
  32. <i class="fa fa-edit"></i>
  33. edit
  34. </a>
  35. </td>
  36. </tr>
  37. </table>
  38. </div>