blob: b26d078debc761f0d830682ef6cec88433953ba5 [file] [log] [blame]
Timoney, Daniel (dt5972)324ee362017-02-15 10:37:53 -05001 <div class="modal fade" id="firewall-lite-modal" tabindex="-1" role="dialog"
2 aria-labelledby="firewall-lite-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">firewall-lite</h4>
8 </div>
9 <div class="modal-body">
10 <form id="firewall_lite_form" role="form" action="" method="POST">
11 <div class="form-group">
12 <label for="stateful_firewall_lite_v4_enabled">stateful-firewall-lite-v4-enabled</label>
13 <input type="text" class="form-control" name="stateful_firewall_lite_v4_enabled" id="stateful_firewall_lite_v4_enabled">
14 </div>
15 <div class="form-group">
16 <label for="stateful_firewall_lite_v6_enabled">stateful-firewall-lite-v6-enabled</label>
17 <input type="text" class="form-control" name="stateful_firewall_lite_v6_enabled" id="stateful_firewall_lite_v6_enabled">
18 </div>
19
20<!--
21 <div class="form-group">
22 <input type="hidden" name="svc_instance_id" id="svc_instance_id">
23 <input type="hidden" name="firewall_lite_vr_designation" id="firewall_lite_vr_designation">
24 <input type="hidden" name="uf_action" id="uf_action">
25 <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button>
26 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
27 </div>
28-->
29 </form>
30 </div>
31 </div>
32 </div>
33 </div>
34
35<script type="text/javascript">
36function submit(form){
37 $('#firewall-lite-modal').modal('hide');
38 form.action = form.uf_action.value;
39 form.submit();
40 return;
41}
42</script>
43