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

32
src/account/index.html Normal file
View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<title>Dashboard - Caddy</title>
{{include "/includes/account-head.html"}}
<link rel="stylesheet" href="/resources/css/account/dashboard.css">
<script src="/resources/js/account/dashboard.js"></script>
</head>
<body>
<div class="container">
{{include "/includes/account-nav.html"}}
<main class="dashboard">
<section>
<h1 class="pad">Your packages<a href="/account/register-package" class="gray button float-right">Register package</a></h1>
<table id="user-packages">
<tr>
<th>Import path</th>
<th class="text-center"><span class="help" title="Whether package and module documentation is visible on the website.">Listed</span></th>
<th class="text-center"><span class="help" title="Whether visitors can download Caddy with this package plugged in.">Available</span></th>
<th>Downloads</th>
<th></th>
</tr>
<!-- Filled by JS -->
</table>
<!-- <div class="text-right pad">
<a href="/account/register-package" class="gray button">Register package</a>
</div> -->
</section>
</main>
</div>
</body>
</html>