aboutsummaryrefslogtreecommitdiff
path: root/views/password.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/password.ejs')
-rw-r--r--views/password.ejs26
1 files changed, 26 insertions, 0 deletions
diff --git a/views/password.ejs b/views/password.ejs
new file mode 100644
index 0000000..94f42f1
--- /dev/null
+++ b/views/password.ejs
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <link rel="stylesheet" href="/css/style.css">
+ <title>bnbAIM Change Password</title>
+</head>
+<body>
+ <div class="background"></div>
+ <div class="container">
+ <h1>Change Password</h1>
+ <form method="post" action="/password/change">
+ <label for="newpassword">New Password:</label>
+ <input type="password" id="newpassword" name="newpassword">
+ <label for="newpassword2">Confirm New Password:</label>
+ <input type="password" id="newpassword2" name="newpassword2">
+ <button type="submit">Change Password</button>
+ </form>
+ <a href="/" class="button">Dashboard</a>
+ <% if (typeof error !== 'undefined') { %>
+ <div class="error"><%= error %></div>
+ <% } %>
+ </div>
+</body>
+</html>