Use subdirs for includes (#212)

This commit is contained in:
Mikhail 2022-02-10 02:30:58 +07:00 committed by GitHub
parent 3f97d611b4
commit ec2cf03fad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 24 additions and 24 deletions

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Create Account - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/create.js"></script>
</head>
<body>

View file

@ -2,13 +2,13 @@
<html>
<head>
<title>Dashboard - Caddy</title>
{{include "/includes/account-head.html"}}
{{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"}}
{{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>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Log In - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/login.js"></script>
</head>
<body>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Logout - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/logout.js"></script>
</head>
<body>

View file

@ -2,12 +2,12 @@
<html>
<head>
<title>Register Package - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/register-package.js"></script>
</head>
<body>
<div class="container">
{{include "/includes/account-nav.html"}}
{{include "/includes/account/nav.html"}}
<main>
<section>
<form action="/api/claim-package">

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Reset Password - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/reset-password.js"></script>
</head>
<body>

View file

@ -2,7 +2,7 @@
<html>
<head>
<title>Confirm Account - Caddy</title>
{{include "/includes/account-head.html"}}
{{include "/includes/account/head.html"}}
<script src="/resources/js/account/verify.js"></script>
</head>
<body>