aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/ncs_credentials.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/ncs_credentials.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/ncs_credentials.ejs')
-rw-r--r--admportal/views/partials/ncs_credentials.ejs74
1 files changed, 74 insertions, 0 deletions
diff --git a/admportal/views/partials/ncs_credentials.ejs b/admportal/views/partials/ncs_credentials.ejs
new file mode 100644
index 00000000..a35b7e48
--- /dev/null
+++ b/admportal/views/partials/ncs_credentials.ejs
@@ -0,0 +1,74 @@
+<div class="modal fade" id="add_ncs_credentials" tabindex="-1" role="dialog"
+ aria-labelledby="add_ncs_credentials_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">Add NCS Credentials</h4>
+ </div>
+ <div class="modal-body">
+ <form name="addForm" role="form" action="/ucpe/addNcsCredentials" method="POST">
+ <div class="form-group">
+ <label for="nf_customer_name">*Customer Name</label>
+ <input type="text" class="form-control" maxlength="255" aria-describedby="helpCName" name="nf_customer_name" id="nf_customer_name" placeholder="varchar(255)">
+ <span id="helpCName" class="help-block">The Customer Name must match exactly whats in the NCS Servers table.</span>
+ </div>
+ <div class="form-group">
+ <label for="nf_ncs_username">*NCS Username</label>
+ <input type="text" class="form-control" maxlength="255" name="nf_ncs_username" id="nf_ncs_username" placeholder="varchar(255)">
+ </div>
+ <div class="form-group">
+ <label for="nf_ncs_password">*NCS Password</label>
+ <input type="password" class="form-control" maxlength="255" name="nf_ncs_password" id="nf_ncs_password" placeholder="varbinary(255)">
+ </div>
+ <div class="form-group">
+ <label for="nf_phs_password">*Confirm NCS Password</label>
+ <input type="password" class="form-control" maxlength="255" name="nf_confirm_ncs_password" id="nf_confirm_ncs_password" placeholder="varbinary(255)">
+ </div>
+ <div class="form-group">
+ <input type="hidden" name="nf_action" id="nf_action">
+ <button type="button" class="btn btn-primary" onclick="submitNcsCredentials(this.form);">Submit</button>
+ <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="modal fade" id="update_ncs_credentials" tabindex="-1" role="dialog"
+ aria-labelledby="update_ncs_credentials_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">Update NCS Credentials</h4>
+ </div>
+ <div class="modal-body">
+ <form role="form" action="/ucpe/updateNcsCredentials" method="POST">
+ <div class="form-group">
+ <label for="uf_customer_name">*Customer Name</label>
+ <input readonly type="text" class="form-control" name="uf_customer_name" id="uf_customer_name">
+ </div>
+ <div class="form-group">
+ <label for="uf_ncs_username">*NCS Username</label>
+ <input type="text" class="form-control" maxlength="255" name="uf_ncs_username" id="uf_ncs_username">
+ </div>
+ <div class="form-group">
+ <label for="uf_ncs_password">*NCS Password</label>
+ <input type="password" class="form-control" maxlength="255" name="uf_ncs_password" id="uf_ncs_password">
+ </div>
+ <div class="form-group">
+ <label for="nf_phs_password">*Confirm NCS Password</label>
+ <input type="password" class="form-control" maxlength="255" name="uf_confirm_ncs_password" id="uf_confirm_ncs_password" placeholder="varbinary(255)">
+ </div>
+ <div class="form-group">
+ <input type="hidden" name="uf_action" id="uf_action">
+ <button type="button" class="btn btn-primary" onclick="submitNcsCredentials(this.form);">Submit</button>
+ <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>