mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 10:03:33 -06:00
45 lines
1.2 KiB
HTML
45 lines
1.2 KiB
HTML
<navbar icon="icon-gf icon-gf-monitoring" title="Alerting" title-url="alerting">
|
|
<a href="alerting/notifications" class="navbar-page-btn">
|
|
<i class="fa fa-fw fa-envelope-o"></i>
|
|
Notifications
|
|
</a>
|
|
</navbar>
|
|
|
|
<div class="page-container" >
|
|
<div class="page-header">
|
|
<h1>Alert notifications</h1>
|
|
<a href="alerting/notification/new" class="btn btn-success pull-right">
|
|
<i class="fa fa-plus"></i>
|
|
New Notification
|
|
</a>
|
|
</div>
|
|
|
|
<table class="grafana-options-table" style="/*width: 600px;*/">
|
|
<thead>
|
|
<th style="min-width: 200px"><strong>Name</strong></th>
|
|
<th style="min-width: 100px">Type</th>
|
|
<th style="width: 1%"></th>
|
|
</thead>
|
|
<tr ng-repeat="notification in ctrl.notifications">
|
|
<td>
|
|
<a href="alerting/notification/{{notification.id}}/edit">
|
|
{{notification.name}}
|
|
</a>
|
|
</td>
|
|
<td>
|
|
{{notification.type}}
|
|
</td>
|
|
<td>
|
|
<a href="alerting/notification/{{notification.id}}/edit" class="btn btn-inverse btn-small">
|
|
<i class="fa fa-edit"></i>
|
|
edit
|
|
</a>
|
|
<a ng-click="ctrl.deleteNotification(notification.id)" class="btn btn-danger btn-small">
|
|
<i class="fa fa-remove"></i>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|