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:
Matthew Holt 2020-07-16 15:51:46 -06:00
parent 49ed10d267
commit 4f6d355a97
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
37 changed files with 1678 additions and 56 deletions

28
src/account/create.html Normal file
View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<title>Create Account - Caddy</title>
{{include "/includes/account-head.html"}}
<script src="/resources/js/account/create.js"></script>
</head>
<body>
<form action="/api/create-account" class="card">
<section class="head">
<a href="/"><img src="/resources/images/caddy-lock.png" alt="Caddy Portal" class="logo"></a>
</section>
<section>
<h1>Create Account</h1>
or <a href="/account/login">log in</a>
<div class="form-fields">
<input type="text" name="name" id="name" placeholder="Name">
<input type="email" name="email" id="email" placeholder="Email address" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit" id="submit" class="blue">Create Account</button>
<p>
We will send you an email to verify your account.
</p>
</div>
</section>
</form>
</body>
</html>