notifications_list.html 1.1 KB

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