summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/pat_pools.ejs
blob: 5b0b3f0957b44ede955abf7d8f59e6e796c7825b (plain)
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
44
45
46
   <div class="modal fade" id="pat-pools-modal" tabindex="-1" role="dialog" 
		aria-labelledby="pat-pools-modal-label" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title">v4-pat-pools</h4>
          </div>
          <div class="modal-body">
            <form id="pat_pools-form" role="form" action="" method="POST">
              <div class="form-group">
                <label for="v4_pat__pool_next_hop_address">v4-pat-pool-next-hop-address</label>
                <input type="text" class="form-control" name="v4_pat_pool_next_hop_address" id="v4_pat_pool_next_hop_address">
              </div>
              <div class="form-group">
                <label for="v4_pat_pool_prefix_length">v4-pat-pool-prefix-length</label>
                <input type="text" class="form-control" name="v4_pat_pool_prefix_length" id="v4_pat_pool_prefix_length">
              </div>
              <div class="form-group">
                <label for="v4_pat_pool_prefix">v4-pat-pool-prefix</label>
                <input type="text" class="form-control" name="v4_pat_pool_prefix" id="v4_pat_pool_prefix">
              </div>

<!--
              <div class="form-group">
				<input type="hidden" name="svc_instance_id" id="svc_instance_id">
				<input type="hidden" name="uf_action" id="uf_action">
                <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button>
				<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
              </div>
-->
           </form>
          </div>
      </div>
    </div>
  </div>

<script type="text/javascript">
function submit(form){
	$('#pat-pools-modal').modal('hide');
	form.action = form.uf_action.value;
	form.submit();
	return;
}
</script>