summaryrefslogtreecommitdiff
path: root/templates/auth
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-18 05:34:38 -0500
committerLLLL Colonq <llll@colonq>2024-11-18 05:34:38 -0500
commitd86e0ab8de6cd558568301c470bd4c1e163177ba (patch)
tree235c8efc82e278662e40b8239ba3feaec75ebcda /templates/auth
parent07adfbdcb959e2a789551e516bd389ce0002c6f8 (diff)
Add logout
Diffstat (limited to 'templates/auth')
-rw-r--r--templates/auth/index.html36
1 files changed, 22 insertions, 14 deletions
diff --git a/templates/auth/index.html b/templates/auth/index.html
index dfb7101..976a7a6 100644
--- a/templates/auth/index.html
+++ b/templates/auth/index.html
@@ -12,20 +12,28 @@ CONFIG_SUBST
</script>
<script type="module" src="./main.js"></script>
</head>
- <body id="lcolonq-auth">
- <div id="lcolonq-auth-box">
- <h1>log in</h1>
- <form id="lcolonq-auth-form">
- <div>
- <label>username:</label>
- <input id="lcolonq-auth-username" type="text">
- </div>
- <div>
- <label>password:</label>
- <input id="lcolonq-auth-password" type="password">
- </div>
- <input type="submit" value="log in now!!">
- </form>
+ <body>
+ <div id="lcolonq-auth-login" class="lcolonq-auth lcolonq-invisible">
+ <div class="lcolonq-auth-box">
+ <h1>log in</h1>
+ <form id="lcolonq-auth-form">
+ <div>
+ <label>username:</label>
+ <input id="lcolonq-auth-username" type="text">
+ </div>
+ <div>
+ <label>password:</label>
+ <input id="lcolonq-auth-password" type="password">
+ </div>
+ <input id="lcolonq-auth-submit" type="submit" value="log in now!!">
+ </form>
+ </div>
+ </div>
+ <div id="lcolonq-auth-logout" class="lcolonq-auth lcolonq-invisible">
+ <div class="lcolonq-auth-box">
+ <h1>log out?</h1>
+ <a id="lcolonq-auth-logout-link">yeah</a>
+ </div>
</div>
</body>
</html>