summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/ncs_credentials.ejs
blob: a35b7e48fef21fbf132ddae86e4792f6991ceca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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>