terminate-modal.html 1.02 KB
Newer Older
1 2 3 4 5 6 7 8
<!-- This is the terminate modal -->
<div id='terminate_modal' class='modal fade'>
  <div class='modal-dialog'>
    <div class='modal-content'>
      <div class='modal-body'>
        <button type='button' class='close' data-dismiss='modal'
                aria-hidden='true'>&times;</button>
        <p>Are you sure you want to terminate this experiment? 
9 10
          Click on the button below if you are really sure.
	</p>
11
	<% if (expinfo.user_lockdown) { %>
12 13 14 15 16 17 18 19 20 21 22 23
	<p class='text-warning'>
	  This experiment has been flagged as important, possibly because
	  it was granted an extension by an administrator; please confirm
	  that you <b>REALLY</b> want to terminate by copying the text in
	  the left box into the right box:
	</p>
	<center>
	  <input size=5 readonly value='<%- lockdown_code %>'>
	  <input size=5 id='terminate_lockdown_code'>
	</center>
	<% } %>
	<br>
24 25 26 27 28 29 30 31
        <button class='btn btn-primary align-center' id='terminate'
                type='submit' name='terminate'>Terminate</button>
      </div>
    </div>
  </div>
</div>