notifications_list.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <page-header model="ctrl.navModel"></page-header>
  2. <div class="page-container page-body">
  3. <div class="page-action-bar">
  4. <div class="page-action-bar__spacer">
  5. </div>
  6. <a href="alerting/notification/new" class="btn btn-success">
  7. <i class="fa fa-plus"></i>
  8. New Channel
  9. </a>
  10. </div>
  11. <table class="grafana-options-table">
  12. <thead>
  13. <th style="min-width: 200px"><strong>Name</strong></th>
  14. <th style="min-width: 100px">Type</th>
  15. <th style="width: 1%"></th>
  16. </thead>
  17. <tr ng-repeat="notification in ctrl.notifications">
  18. <td>
  19. <a href="alerting/notification/{{notification.id}}/edit">
  20. {{notification.name}}
  21. </a>
  22. </td>
  23. <td>
  24. {{notification.type}}
  25. </td>
  26. <td class="text-right">
  27. <span class="btn btn-secondary btn-small" ng-show="notification.isDefault == true">
  28. default
  29. </span>
  30. <a href="alerting/notification/{{notification.id}}/edit" class="btn btn-inverse btn-small">
  31. <i class="fa fa-edit"></i>
  32. edit
  33. </a>
  34. <a ng-click="ctrl.deleteNotification(notification.id)" class="btn btn-danger btn-small">
  35. <i class="fa fa-remove"></i>
  36. </a>
  37. </td>
  38. </tr>
  39. </table>
  40. </div>