Gibheer
fa05045d31
This is the import from the separate monfront repository. The history could not be imported, but this should suffice.
44 lines
1.7 KiB
HTML
44 lines
1.7 KiB
HTML
{{ 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 }}
|