Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | <div class="modal fade" id="newUserModal" tabindex="-1" role="dialog" aria-labelledby="newUserModalLabel" aria-hidden="true"> |
| 2 | <div class="modal-dialog"> |
| 3 | <div class="modal-content"> |
| 4 | <div class="modal-header"> |
| 5 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
| 6 | <h4 class="modal-title" id="newUserModalLabel">New User</h4> |
| 7 | </div> |
| 8 | <div class="modal-body"> |
| 9 | <form id="addForm" name="addForm" role="form" action="/user/addUser" method="POST"> |
| 10 | <div class="form-group"> |
| 11 | <label for="email">Email</label> |
| 12 | <input type="email" class="form-control" name="nf_email" id="nf_email"> |
| 13 | </div> |
| 14 | <div class="form-group"> |
| 15 | <label for="nf_password">Password</label> |
| 16 | <input type="password" class="form-control" name="nf_password" id="nf_password"> |
| 17 | </div> |
| 18 | <div class="form-group"> |
| 19 | <label for="nf_confirm_password">Confirm Password</label> |
| 20 | <input type="password" class="form-control" name="nf_confirm_password" id="nf_confirm_password"> |
| 21 | </div> |
| 22 | <div class="form-group"> |
| 23 | <label for="privilege">Privilege</label> |
| 24 | <select class="form-control" name="nf_privilege" id="nf_privilege"> |
| 25 | <option value=admin>Administrator</option> |
| 26 | <option value=readonly>Readonly</option> |
| 27 | </select> |
| 28 | </div> |
| 29 | <div class="form-group"> |
| 30 | <button type="button" class="btn btn-primary" onclick="submitUserAdmin(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> |