blob: 973c25497a4339dc4d344fac54ad4c754d50fda3 [file] [log] [blame]
Timoney, Daniel (dt5972)324ee362017-02-15 10:37:53 -05001 <div class="modal fade" id="nat-modal" tabindex="-1" role="dialog"
2 aria-labelledby="nat-modal-label" aria-hidden="true">
3 <div class="modal-dialog">
4 <div class="modal-content">
5 <div class="modal-header">
6 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
7 <h4 class="modal-title">nat</h4>
8 </div>
9 <div class="modal-body">
10 <form id="nat_form" role="form" action="" method="POST">
11 <div class="form-group">
12 <label for="v4_nat_enabled">v4-nat-enabled</label>
13 <input type="text" class="form-control" name="v4_nat_enabled" id="v4_nat_enabled">
14 </div>
15
16<!--
17 <div class="form-group">
18 <input type="hidden" name="svc_instance_id" id="svc_instance_id">
19 <input type="hidden" name="uf_action" id="uf_action">
20 <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button>
21 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
22 </div>
23-->
24 </form>
25 </div>
26 </div>
27 </div>
28 </div>
29
30<script type="text/javascript">
31function submit(form){
32 $('#nat-modal').modal('hide');
33 form.action = form.uf_action.value;
34 form.submit();
35 return;
36}
37</script>
38