aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/dhcp.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'admportal/views/partials/dhcp.ejs')
-rw-r--r--admportal/views/partials/dhcp.ejs66
1 files changed, 66 insertions, 0 deletions
diff --git a/admportal/views/partials/dhcp.ejs b/admportal/views/partials/dhcp.ejs
new file mode 100644
index 00000000..a290c324
--- /dev/null
+++ b/admportal/views/partials/dhcp.ejs
@@ -0,0 +1,66 @@
+ <div class="modal fade" id="dhcp-modal" tabindex="-1" role="dialog"
+ aria-labelledby="dhcp-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">dhcp</h4>
+ </div>
+ <div class="modal-body">
+ <form id="dhcp_form" role="form" action="" method="POST">
+ <div class="form-group">
+ <label for="use_v4_default_pool">use-v4-default-pool</label>
+ <input type="text" class="form-control" name="use_v4_default_pool" id="use_v4_default_pool">
+ </div>
+ <div class="form-group">
+ <label for="use_v6_default_pool">use-v6-default-pool</label>
+ <input type="text" class="form-control" name="use_v6_default_pool" id="use_v6_default_pool">
+ </div>
+ <div class="form-group">
+ <label for="v4_dhcp_server_enabled">v4-dhcp-server-enabled</label>
+ <input type="text" class="form-control" name="v4_dhcp_server_enabled" id="v4_dhcp_server_enabled">
+ </div>
+ <div class="form-group">
+ <label for="v6_dhcp_server_enabled">v6-dhcp-server-enabled</label>
+ <input type="text" class="form-control" name="v6_dhcp_server_enabled" id="v6_dhcp_server_enabled">
+ </div>
+ <div class="form-group">
+ <label for="v6_dhcp_default_pool_prefix">v6-dhcp-default-pool-prefix</label>
+ <input type="text" class="form-control" name="v6_dhcp_default_pool_prefix" id="v6_dhcp_default_pool_prefix">
+ </div>
+ <div class="form-group">
+ <label for="v6_dhcp_default_pool_prefix_length">v6-dhcp-default-pool-prefix-length</label>
+ <input type="text" class="form-control" name="v6_dhcp_default_pool_prefix_length" id="v6_dhcp_default_pool_prefix_length">
+ </div>
+ <div class="form-group">
+ <label for="v4_dhcp_default_pool_prefix">v4-dhcp-default-pool-prefix</label>
+ <input type="text" class="form-control" name="v4_dhcp_default_pool_prefix" id="v4_dhcp_default_pool_prefix">
+ </div>
+ <div class="form-group">
+ <label for="v4_dhcp_default_pool_prefix_length">v4-dhcp-default-pool-prefix-length</label>
+ <input type="text" class="form-control" name="v4_dhcp_default_pool_prefix_length" id="v4_dhcp_default_pool_prefix_length">
+ </div>
+
+<!--
+ <div class="form-group">
+ <input type="hidden" name="svc_instance_id" id="svc_instance_id">
+ <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){
+ $('#dhcp-modal').modal('hide');
+ form.action = form.uf_action.value;
+ form.submit();
+ return;
+}
+</script>
+