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

View file

@ -0,0 +1,5 @@
{{include "/includes/head.html"}}
<link rel="stylesheet" href="/resources/css/account/common.css">
<script src="/resources/js/jquery-3.4.1.min.js"></script>
<script src="/resources/js/sweetalert.min.js"></script>
<script src="/resources/js/account/common.js"></script>

View file

@ -0,0 +1,16 @@
<nav>
<div class="logo-container">
<img src="/resources/images/caddy-lock.png" alt="Caddy Portal" title="Caddy Portal" class="logo">
<br>
<b>Portal</b>
<br>
<span class="help beta" title="Still experimental; subject to change or reset. Thanks for your patience and understanding.">(beta)</span>
</div>
<ul>
<li><a href="/account/">🎛 Dashboard</a></li>
<li><a href="/account/register-package">📦 Register Package</a></li>
<li><a href="/account/logout">🔒 Log Out</a></li>
<br>
<li><a href="/">⬅️ Main Site</a></li>
</ul>
</nav>

View file

@ -1,3 +1,11 @@
<div>
<div class="nonstandard-notice">
<b>This module does not come with Caddy.</b> It can be added by using <b><a href="/docs/build#xcaddy">xcaddy</a></b> or our <b><a href="/download">download page</a></b>. Non-standard modules may be developed by the community and are not officially endorsed or maintained by the Caddy project. The documentation is shown here only as a courtesy.
<br><br>
<b>Module repository: <a href="javascript:" class="nonstandard-project-link"></a></b>
</div>
</div>
<h2 id="docs">Description</h2>
<div id="top-doc">
<!--Populated by JS-->

View file

@ -1,4 +1,3 @@
{{include "/includes/v1-banner.html"}}
<header>
<div id="logo-container">
<a href="/"><img src="/resources/images/caddy-wordmark.svg" id="logo" alt="Caddy"></a>

View file

@ -56,5 +56,7 @@
</ul>
</li>
<li><a href="/docs/extending-caddy/namespaces">Module Namespaces</a></li>
<br>
<li><a href="/caddy-v1-docs-archive.tar.gz">v1 Docs <img src="/resources/images/external-link.svg"></a></li>
</ul>
</nav>

View file

@ -2,10 +2,10 @@
<nav>
<input type="search" id="search" placeholder="🔍 Search...">
<a href="/v2">v2 <span class="new">new</span></a>
<a href="/docs/download">Download</a>
<a href="/download">Download</a>
<a href="/docs/">Documentation</a>
<a href="https://caddy.community">Forum</a>
<a href="https://github.com/caddyserver/caddy">GitHub</a>
<a href="https://caddy.community">Community</a>
<a href="/v1/">v1</a>
<a href="/account/">Account</a>
<a href="/business" class="red button">For business</a>
</nav>

View file

@ -1 +0,0 @@
<a href="/v1/" id="v1-banner"><b>This page is about Caddy 2.</b> If you still need v1 docs for a limited time, click here.</b></a>