Change password, create account, qr code cookies
This commit is contained in:
20
views/changepassword.ejs
Normal file
20
views/changepassword.ejs
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Change Password</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<%- include('partials/nav') %>
|
||||
<div class="content">
|
||||
Change Password
|
||||
<form id="editor" method="POST" action="/changepassword">
|
||||
Old Password:<input type="password" name="password0"><br>
|
||||
New Password:<input type="password" name="password1"><br>
|
||||
Repeat New Password:<input type="password" name="password2"><br>
|
||||
<button id="Submit" type="submit">Change Password</button>
|
||||
<br>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
20
views/create.ejs
Normal file
20
views/create.ejs
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<%- include('partials/nav') %>
|
||||
<div class="content">
|
||||
In most cases you don't need to create an account because this ticketing system works primarily with links sent through email. Gate volunteers are an exception.
|
||||
<form id="editor" method="POST" action="/create">
|
||||
Email:<input type="email" name="username"><br>
|
||||
Password:<input type="password" name="password1"><br>
|
||||
Repeat Password:<input type="password" name="password2"><br>
|
||||
<button id="Submit" type="submit">Create Account</button>
|
||||
<br>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -8,6 +8,7 @@
|
||||
<%- include('partials/nav') %>
|
||||
<div class="content">
|
||||
An error has occurred.
|
||||
<%=message%>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<body>
|
||||
<%- include('partials/nav') %>
|
||||
<div class="content">
|
||||
Message, See above.
|
||||
<%=message%>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user