Login Flow

In this commit I added:
More pages like history, personal data and editor with dummy content
A HTMX login flow
The login flow is mostly backend, I think there's nothing on the
frontend made to support it. Pretty neat if I say so myself
This commit is contained in:
2024-06-08 22:11:18 +01:00
parent cd6779f072
commit 0a1b4367c3
21 changed files with 488 additions and 143 deletions
+14
View File
@@ -0,0 +1,14 @@
<div id="login-modal" class="modal">
<form id="login-form" action="submit" data-endpoint="{{ if .page }}{{ .page }}{{ else }}/editor{{ end }}">
<fieldset id="login-box-boundaries">
<legend>LOGIN</legend>
<div class="login-container">
<!-- <label for="login-user">USERNAME</label> -->
<input class="tui-input" type="text" name="login-user" id="login-user"><br><br>
<!-- <label for="login-pass">PASSWORD</label> -->
<input class="tui-input" type="password" name="login-pass" id="login-pass"><br><br>
<button type="submit" id="login-submit-button">Login</button>
</div>
</fieldset>
</form>
</div>