diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 18:54:32 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-14 18:54:32 +0200 |
| commit | 985c7f54fa1dc854cfed09f404c79dd83bdf2636 (patch) | |
| tree | 13e806bcc711e73f2d435f277b2a454de87ab046 /views | |
| parent | e79bdedb819415792eea49de7483885046d2a368 (diff) | |
new views and such
Diffstat (limited to 'views')
| -rw-r--r-- | views/partials/admin_password.ejs | 40 | ||||
| -rw-r--r-- | views/partials/lastlog.ejs | 6 |
2 files changed, 46 insertions, 0 deletions
diff --git a/views/partials/admin_password.ejs b/views/partials/admin_password.ejs new file mode 100644 index 0000000..26fd32f --- /dev/null +++ b/views/partials/admin_password.ejs @@ -0,0 +1,40 @@ +<div class='bluebox' id="admin_changePassword"> + <big><b>reset password</b></big> + <hr /> + +<form> + <div> + <label for="admin-username">Username:</label> + <select name="username"> + <option>Select a user...</option> + </select> + </div> + + <div> + <label for="admin-password">Admin password:</label> + <input type="password" id="admin-password" name="password"> + </div> + + <div> + <label for="admin-password">New password?</label> + <input type="password" id="admin-newpassword" name="newpassword"> + </div> + + <div> + <label for="admin-password2">again:</label> + <input type="password" id="admin-newpassword2" name="newpassword2"> + </div> + + <div class="save_field"> + <label for="admin-submit"></label> + <button id="admin-submit">CHANGE PASSWORD</button> + <div class="loader"></div> + </div> + + <div> + <label></label> + <span class="errors"> </span> + </div> +</form> + +</div> diff --git a/views/partials/lastlog.ejs b/views/partials/lastlog.ejs new file mode 100644 index 0000000..0a4d393 --- /dev/null +++ b/views/partials/lastlog.ejs @@ -0,0 +1,6 @@ +<span class="lastlog bluebox"> + <script class="template" type="text/html"> + <a href="/profile/{{username}}">{{username}}</a> + [{{age}}] + </script> +</span> |
