Initial commit for OpenECOMP SDN-C OA&M
[sdnc/oam.git] / admportal / views / partials / v4_dhcp_pools.ejs
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">&times;</button>
7             <h4 class="modal-title">dhcp</h4>
8           </div>
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">
14               </div>
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">
18               </div>
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">
22               </div>
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">
26               </div>
27
28 <!--
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>
34               </div>
35 -->
36            </form>
37           </div>
38       </div>
39     </div>
40   </div>
41
42 <script type="text/javascript">
43 function submit(form){
44         $('#v4-dhcp-pools-modal').modal('hide');
45         form.action = form.uf_action.value;
46         form.submit();
47         return;
48 }
49 </script>
50