diff options
Diffstat (limited to 'admportal/views/partials/ncs_credentials.ejs')
-rw-r--r-- | admportal/views/partials/ncs_credentials.ejs | 74 |
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">×</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">×</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> |