28 lines
No EOL
774 B
HTML
28 lines
No EOL
774 B
HTML
{{define "title"}}
|
|
GoWatch
|
|
{{end}}
|
|
|
|
{{define "content"}}
|
|
<table class="table table-striped table-hover caption-top">
|
|
<caption class="h3 text-center">Notifiers</caption>
|
|
<thead class="table-dark">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Test</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range $name, $notifier := .notifiers }}
|
|
<tr>
|
|
<td class="h3">{{ $name }}</td>
|
|
<td>
|
|
<form action="{{$.urlPrefix}}notifiers/test" method="post">
|
|
<input type="hidden" name="notifier_name" value="{{ $name }}">
|
|
<input type="submit" class="btn btn-primary" value="Test">
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
{{ end }}
|
|
</tbody>
|
|
</table>
|
|
{{end}} |