summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/newuserform.ejs
blob: 60459947c92e7288cd84e4a32a741c94b7b19f85 (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
<div class="modal fade" id="newUserModal" tabindex="-1" role="dialog" aria-labelledby="newUserModalLabel" 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" id="newUserModalLabel">New User</h4>
          </div>
          <div class="modal-body">
            <form id="addForm" name="addForm" role="form" action="/user/addUser" method="POST">
              <div class="form-group">
                <label for="email">Email</label>
                <input type="email" class="form-control" name="nf_email" id="nf_email">
              </div>
              <div class="form-group">
                <label for="nf_password">Password</label>
                <input type="password" class="form-control" name="nf_password" id="nf_password">
              </div>
              <div class="form-group">
                <label for="nf_confirm_password">Confirm Password</label>
                <input type="password" class="form-control" name="nf_confirm_password" id="nf_confirm_password">
              </div>
              <div class="form-group">
                <label for="privilege">Privilege</label>
                <select class="form-control" name="nf_privilege" id="nf_privilege">
                    <option value=admin>Administrator</option>
                    <option value=readonly>Readonly</option>
                </select>
              </div>
              <div class="form-group">
                <button type="button" class="btn btn-primary" onclick="submitUserAdmin(this.form);">Submit</button>
		<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
              </div>
           </form>
          </div>
      </div>
    </div>
</div>