64 lines
2.6 KiB
HTML
64 lines
2.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<title>Reset password — GD fedl</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
<link rel="icon" type="image/png" href="pageicon.png">
|
|
</head>
|
|
<body data-page="reset-password">
|
|
<header>
|
|
<h1>Reset password</h1>
|
|
<nav>
|
|
<a href="index.html">Home</a>
|
|
<a href="login.html">Log in</a>
|
|
<a href="signup.html">Sign up</a>
|
|
<a href="account.html">Account</a>
|
|
<a href="contact.html">Contact</a>
|
|
</nav>
|
|
</header>
|
|
<main class="account-main">
|
|
<section class="panel account-panel">
|
|
<p class="hero-kicker">FEDL account</p>
|
|
<h2>Request a reset link</h2>
|
|
<p class="muted">Enter your username or email and FEDL will send a reset link to the email saved on that account.</p>
|
|
<form id="reset-request-form" class="auth-form">
|
|
<label class="admin-password-field" for="reset-identifier">
|
|
<span>Username or email</span>
|
|
<input id="reset-identifier" name="identifier" type="text" autocomplete="username email" required />
|
|
</label>
|
|
<p id="reset-request-status" class="muted" role="status"></p>
|
|
<div class="auth-actions">
|
|
<button type="submit" class="btn" id="reset-request-submit">Send reset link</button>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
|
|
<section class="panel account-panel">
|
|
<h2>Use your reset link</h2>
|
|
<p class="muted">If you opened the email link on this page, the token should already be filled in.</p>
|
|
<form id="reset-password-form" class="auth-form">
|
|
<label class="admin-password-field" for="reset-token">
|
|
<span>Reset token</span>
|
|
<input id="reset-token" name="token" type="text" autocomplete="off" required />
|
|
</label>
|
|
<label class="admin-password-field" for="reset-new-password">
|
|
<span>New password</span>
|
|
<input id="reset-new-password" name="newPassword" type="password" autocomplete="new-password" required minlength="8" />
|
|
</label>
|
|
<label class="admin-password-field" for="reset-confirm-password">
|
|
<span>Confirm new password</span>
|
|
<input id="reset-confirm-password" name="confirmPassword" type="password" autocomplete="new-password" required minlength="8" />
|
|
</label>
|
|
<p id="reset-password-status" class="muted" role="status"></p>
|
|
<div class="auth-actions">
|
|
<button type="submit" class="btn" id="reset-password-submit">Set new password</button>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
</main>
|
|
<script src="app.js" defer></script>
|
|
</body>
|
|
</html>
|