aboutsummaryrefslogblamecommitdiff
path: root/cmd/monfront/templates/checkformheader.html
blob: 766267039a9aea41de68d1496e30c42df54192db (plain) (tree)










































                                                                                                                                                 
    {{ 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 }}