notifications_list.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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="filter-table filter-table--hover">
  12. <thead>
  13. <th style="min-width: 200px">
  14. <strong>Name</strong>
  15. </th>
  16. <th style="min-width: 100px">Type</th>
  17. <th style="width: 1%"></th>
  18. </thead>
  19. <tbody>
  20. <tr ng-repeat="notification in ctrl.notifications">
  21. <td class="link-td">
  22. <a href="alerting/notification/{{notification.id}}/edit">
  23. {{notification.name}}
  24. </a>
  25. </td>
  26. <td class="link-td">
  27. <a href="alerting/notification/{{notification.id}}/edit">
  28. {{notification.type}}
  29. </a>
  30. </td>
  31. <td class="text-right">
  32. <span class="btn btn-secondary btn-small" ng-show="notification.isDefault == true">
  33. default
  34. </span>
  35. <a ng-click="ctrl.deleteNotification(notification.id)" class="btn btn-danger btn-small">
  36. <i class="fa fa-remove"></i>
  37. </a>
  38. </td>
  39. </tr>
  40. </tbody>
  41. </table>
  42. </div>