blob: 766267039a9aea41de68d1496e30c42df54192db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{{ if .CanEdit }}
<form action="/action" method="post">
<aside id="edit">
<button class="default_button" name="action" value="comment"></button>
<div class="option input">
<input type="number" name="run_in" placeholder="run in" title="define the number of minutes after which the check should be run again" />
<button name="action" value="reschedule">run now</button>
</div>
<div class="option">
<button name="action" value="deack">deack</button>
<button name="action" value="ack">ack</button>
</div>
<div class="option">
<button name="action" value="enable">enable</button>
<button name="action" value="disable">disable</button>
</div>
<div class="option">
<button name="action" value="mute">mute</button>
<button name="action" value="unmute">unmute</button>
</div>
<div class="option input">
<input size="" name="comment" placeholder="enter comment ..." />
</div>
<div class="option">
<button name="action" value="comment">comment</button>
<button name="action" value="uncomment">uncomment</button>
</div>
<div class="option">
<button type="button" name="create_check">create</button>
<button name="action" value="delete_check">delete</button>
</div>
</aside>
<aside id="create_check" class="hidden">
<div class="option">
<label for="host">host</label>
<input name="host" placeholder="hostname" />
</div>
<div class="option">
<label for="command">command</label>
<input name="command" placeholder="command" />
</div>
</aside>
{{ end }}
|