aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/pat.ejs
diff options
context:
space:
mode:
authorTimoney, Daniel (dt5972) <dtimoney@att.com>2017-02-15 10:37:53 -0500
committerTimoney, Daniel (dt5972) <dtimoney@att.com>2017-02-15 10:40:37 -0500
commit324ee36fe31763e507b422ab0a88e4230045e205 (patch)
treed0b04520f6657601c918ce63fd27575977624187 /admportal/views/partials/pat.ejs
parentf0c97e8db427481e28c0a16b789bc73801b35e47 (diff)
Initial commit for OpenECOMP SDN-C OA&M
Change-Id: I7ab579fd0d206bf356f36d52dcdf4f71f1fa2680 Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com> Former-commit-id: 2a9f0edd09581f907e62ec4689b5ac94dd5382ba
Diffstat (limited to 'admportal/views/partials/pat.ejs')
-rw-r--r--admportal/views/partials/pat.ejs50
1 files changed, 50 insertions, 0 deletions
diff --git a/admportal/views/partials/pat.ejs b/admportal/views/partials/pat.ejs
new file mode 100644
index 00000000..8cc91555
--- /dev/null
+++ b/admportal/views/partials/pat.ejs
@@ -0,0 +1,50 @@
+ <div class="modal fade" id="pat-modal" tabindex="-1" role="dialog"
+ aria-labelledby="pat-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">pat</h4>
+ </div>
+ <div class="modal-body">
+ <form id="pat_form" role="form" action="" method="POST">
+ <div class="form-group">
+ <label for="v4_pat_default_pool_prefix_length">v4-pat-default-pool-prefix-length</label>
+ <input type="text" class="form-control" name="v4_pat_default_pool_prefix_length" id="v4_pat_default_pool_prefix_length">
+ </div>
+ <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="v4_pat_enabled">v4-pat-enabled</label>
+ <input type="text" class="form-control" name="v4_pat_enabled" id="v4_pat_enabled">
+ </div>
+ <div class="form-group">
+ <label for="v4_pat_default_pool_prefix">v4-pat-default-pool-prefix</label>
+ <input type="text" class="form-control" name="v4_pat_default_pool_prefix" id="v4_pat_default_pool_prefix">
+ </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){
+ $('#pat-modal').modal('hide');
+ form.action = form.uf_action.value;
+ form.submit();
+ return;
+}
+</script>
+