caddy-website/src/account/reset-password.html
Matthew Holt 4f6d355a97
Account portal, download page, non-standard module docs
This ends v1 on the website. Docs archive still available through a
sidebar nav link in the docs.
2020-07-16 15:53:33 -06:00

38 lines
No EOL
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Reset Password - Caddy</title>
{{include "/includes/account-head.html"}}
<script src="/resources/js/account/reset-password.js"></script>
</head>
<body>
<form action="/api/reset-password" class="card" id="reset-password-step1">
<section class="head">
<a href="/"><img src="/resources/images/caddy-lock.png" alt="Caddy Portal" class="logo"></a>
</section>
<section>
<h1>Reset Password</h1>
<a href="javascript:" id="goto-step2">I already have a reset token</a>
<div class="form-fields">
<input type="email" name="email" id="email-step1" placeholder="Email address" required>
<button type="submit" id="submit" class="blue">Continue</button>
</div>
</section>
</form>
<form action="/api/reset-password" class="card" id="reset-password-step2">
<section class="head">
<a href="/"><img src="/resources/images/caddy-lock.png" alt="Caddy Portal" class="logo"></a>
</section>
<section>
<h1>Reset Password</h1>
<a href="javascript:" id="goto-step1">I still need a reset token</a>
<div class="form-fields">
<input type="email" name="email" id="email-step2" placeholder="Email address" required>
<input type="text" name="token" id="token" placeholder="Token" required>
<input type="password" name="password" placeholder="New Password" required>
<button type="submit" id="submit" class="blue">Finish Reset</button>
</div>
</section>
</form>
</body>
</html>