Initial commit for OpenECOMP SDN-C OA&M
[sdnc/oam.git] / admportal / views / partials / ncs_credentials.ejs
1 <div class="modal fade" id="add_ncs_credentials" tabindex="-1" role="dialog"
2         aria-labelledby="add_ncs_credentials_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">Add NCS Credentials</h4>
8           </div>
9           <div class="modal-body">
10             <form name="addForm" role="form" action="/ucpe/addNcsCredentials" method="POST">
11               <div class="form-group">
12                 <label for="nf_customer_name">*Customer Name</label>
13                 <input type="text" class="form-control" maxlength="255" aria-describedby="helpCName" name="nf_customer_name" id="nf_customer_name" placeholder="varchar(255)">
14                                 <span id="helpCName" class="help-block">The Customer Name must match exactly whats in the NCS Servers table.</span>
15               </div>
16               <div class="form-group">
17                 <label for="nf_ncs_username">*NCS Username</label>
18                 <input type="text" class="form-control" maxlength="255" name="nf_ncs_username" id="nf_ncs_username" placeholder="varchar(255)">
19               </div>
20               <div class="form-group">
21                 <label for="nf_ncs_password">*NCS Password</label>
22                 <input type="password" class="form-control" maxlength="255" name="nf_ncs_password" id="nf_ncs_password" placeholder="varbinary(255)">
23               </div>
24                           <div class="form-group">
25                 <label for="nf_phs_password">*Confirm NCS Password</label>
26                 <input type="password" class="form-control" maxlength="255" name="nf_confirm_ncs_password" id="nf_confirm_ncs_password" placeholder="varbinary(255)">
27               </div>
28               <div class="form-group">
29                 <input type="hidden" name="nf_action" id="nf_action">
30                 <button type="button" class="btn btn-primary" onclick="submitNcsCredentials(this.form);">Submit</button>
31                                 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
32               </div>
33            </form>
34           </div>
35       </div>
36     </div>
37   </div>
38
39    <div class="modal fade" id="update_ncs_credentials" tabindex="-1" role="dialog" 
40                 aria-labelledby="update_ncs_credentials_label" aria-hidden="true">
41       <div class="modal-dialog">
42         <div class="modal-content">
43           <div class="modal-header">
44             <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
45             <h4 class="modal-title">Update NCS Credentials</h4>
46           </div>
47           <div class="modal-body">
48             <form role="form" action="/ucpe/updateNcsCredentials" method="POST">
49               <div class="form-group">
50                 <label for="uf_customer_name">*Customer Name</label>
51                 <input readonly type="text" class="form-control" name="uf_customer_name" id="uf_customer_name">
52               </div>
53               <div class="form-group">
54                 <label for="uf_ncs_username">*NCS Username</label>
55                 <input type="text" class="form-control" maxlength="255" name="uf_ncs_username" id="uf_ncs_username">
56               </div>
57               <div class="form-group">
58                 <label for="uf_ncs_password">*NCS Password</label>
59                 <input type="password" class="form-control" maxlength="255" name="uf_ncs_password" id="uf_ncs_password">
60                           </div>
61                           <div class="form-group">
62                 <label for="nf_phs_password">*Confirm NCS Password</label>
63                 <input type="password" class="form-control" maxlength="255" name="uf_confirm_ncs_password" id="uf_confirm_ncs_password" placeholder="varbinary(255)">
64               </div>
65               <div class="form-group">
66                                 <input type="hidden" name="uf_action" id="uf_action">
67                 <button type="button" class="btn btn-primary" onclick="submitNcsCredentials(this.form);">Submit</button>
68                                 <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
69               </div>
70            </form>
71           </div>
72       </div>
73     </div>
74   </div>