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
14 lines
663 B
HTML
14 lines
663 B
HTML
<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> |