mirror of
https://github.com/caddyserver/website.git
synced 2025-05-01 01:09:19 -04:00
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.
This commit is contained in:
parent
49ed10d267
commit
4f6d355a97
37 changed files with 1678 additions and 56 deletions
38
src/account/reset-password.html
Normal file
38
src/account/reset-password.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue