1 <div class="modal fade" id="v4-dhcp-pools-modal" tabindex="-1" role="dialog"
2 aria-labelledby="v4-dhcp-pools-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">×</button>
7 <h4 class="modal-title">dhcp</h4>
9 <div class="modal-body">
10 <form role="form" action="" method="POST">
11 <div class="form-group">
12 <label for="v4_dhcp_relay_next_hop_address">v4-dhcp-relay-next-hop-address</label>
13 <input type="text" class="form-control" name="v4_dhcp_relay_next_hop_address" id="v4_dhcp_relay_next_hop_address">
15 <div class="form-group">
16 <label for="v4_dhcp_pool_prefix">v4-dhcp-pool-prefix</label>
17 <input type="text" class="form-control" name="v4_dhcp_pool_prefix" id="v4_dhcp_pool_prefix">
19 <div class="form-group">
20 <label for="v4_dhcp_pool_prefix_length">v4-dhcp-pool-prefix-length</label>
21 <input type="text" class="form-control" name="v4_dhcp_pool_prefix_length" id="v4_dhcp_pool_prefix_length">
23 <div class="form-group">
24 <label for="v4_dhcp_relay_gateway_address">v4-dhcp-relay-gateway-address</label>
25 <input type="text" class="form-control" name="v4_dhcp_relay_gateway_address" id="v4_dhcp_relay_gateway_address">
29 <div class="form-group">
30 <input type="hidden" name="svc_instance_id" id="svc_instance_id">
31 <input type="hidden" name="uf_action" id="uf_action">
32 <button type="button" class="btn btn-primary" onclick="submit(this.form);">Submit</button>
33 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
42 <script type="text/javascript">
43 function submit(form){
44 $('#v4-dhcp-pools-modal').modal('hide');
45 form.action = form.uf_action.value;