summaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/newuserform.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'admportal/views/partials/newuserform.ejs')
-rw-r--r--admportal/views/partials/newuserform.ejs38
1 files changed, 0 insertions, 38 deletions
diff --git a/admportal/views/partials/newuserform.ejs b/admportal/views/partials/newuserform.ejs
deleted file mode 100644
index 61bf2ddc..00000000
--- a/admportal/views/partials/newuserform.ejs
+++ /dev/null
@@ -1,38 +0,0 @@
-<div class="modal fade" id="new_user" tabindex="-1" role="dialog" aria-labelledby="new_user" 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">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="nf_email">Email</label>
- <input type="email" class="form-control" name="nf_email" id="nf_email" placeholder="varchar(64)" maxlength="64" />
- </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="nf_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">
- <input type="hidden" name="_csrf" value="<%= privilege.csrfToken %>" />
- <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>