admin-extend-modal.html 1.99 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<!-- This is the extend modal -->
<div id='extend_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>
        <div class='clearfix'></div>
	<div class='row'>
	  <div class='col-sm-12'>
            <form id='extend_request_form' role='form'>
12
	      <center><h4>How many Days?</h4></center>
13 14
              <div class='row'>
                <div class='col-sm-2 col-sm-offset-5'>
15
		  <input id='howlong_extend' type='text'
16 17 18 19
                         class='form-control'>
		</div>
	      </div>
	      <br>
20 21 22 23 24 25 26 27
	      <div id='why_extend_div' class='hidden'>
		<center>
		  Most recent Extension Reason
		  <br>
		  <textarea id='why_extend' readonly
			    class='form-control align-center-inline'
			    rows=5></textarea>
		</center>
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
	      </div>
	      <div id='cluster_graphs'>
		<h5>
		  <a data-toggle="collapse"
		     href="#graphs">Cluster Graph</a>
		</h5>
		<div id="graphs" class="collapse">
		  <img id='extend_graphs_img' width=350 class='center-block'>
		</div>
	      </div>
	      <div id='extend_history_div' class='hidden'>
		<h5>
		  <a data-toggle="collapse"
		     href="#history">Extension History</a>
		</h5>
		<div id="history" class="panel-collapse collapse">
		  <div class="well">
		    <pre id="extend_history"></pre>
		  </div>
		</div>
48 49
		<br>
	      </div>
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
	      <center>
		Message to send to user
		<br>
                <textarea id='extend_message'
                          class='form-control'
                          rows=5></textarea>
		<br>
		<button class='btn btn-danger btn-sm hidden'
			style='margin-right: 20px;'
			id='deny-extension'
			type='submit' name='request'>Deny</button>
		<button class='btn btn-primary btn-sm'
			id='request-extension'
			type='submit' name='request'>Extend</button>
	      </center>
	      </div>
66 67 68 69 70 71 72 73
            </form>
          </div>
	</div>
      </div>
    </div>
  </div>
</div>