blob: b26d078debc761f0d830682ef6cec88433953ba5 [file] [log] [blame]
<div class="modal fade" id="firewall-lite-modal" tabindex="-1" role="dialog"
aria-labelledby="firewall-lite-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">firewall-lite</h4>
</div>
<div class="modal-body">
<form id="firewall_lite_form" role="form" action="" method="POST">
<div class="form-group">
<label for="stateful_firewall_lite_v4_enabled">stateful-firewall-lite-v4-enabled</label>
<input type="text" class="form-control" name="stateful_firewall_lite_v4_enabled" id="stateful_firewall_lite_v4_enabled">
</div>
<div class="form-group">
<label for="stateful_firewall_lite_v6_enabled">stateful-firewall-lite-v6-enabled</label>
<input type="text" class="form-control" name="stateful_firewall_lite_v6_enabled" id="stateful_firewall_lite_v6_enabled">
</div>
<!--
<div class="form-group">
<input type="hidden" name="svc_instance_id" id="svc_instance_id">
<input type="hidden" name="firewall_lite_vr_designation" id="firewall_lite_vr_designation">
<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){
$('#firewall-lite-modal').modal('hide');
form.action = form.uf_action.value;
form.submit();
return;
}
</script>