Add reset password form, cleanup

This commit is contained in:
Jackzie 2025-04-16 15:51:42 -05:00
parent 1bdb4b6dc7
commit 4f755cfeca
10 changed files with 258 additions and 103 deletions

View file

@ -1,7 +1,7 @@
{{#> layouts/default body-class="has-background-white-ter login-bg" }}
<br><br>
<div class="container py-6" style="width:20%"> <!-- TODO: fix width on mobile -->
<h1 class="title is-1 has-text-centered">storage-app</h1>
<h1 class="title is-1 has-text-centered">{{ meta.app_name }}</h1>
<div class="box is-radiusless">
<h4 class="title is-4 has-text-centered">Login</h4>
{{#unless (eq (len form.form_errors) 0) }}
@ -45,14 +45,15 @@
<p class="help is-danger">{{errors.password}}</p>
{{/if}}
</div>
<div class="field">
{{!-- TODO: Not implemented --}}
{{!-- <div class="field">
<div class="control">
<label class="checkbox">
<input name="remember_me" type="checkbox">
Remember Me</a>
</label>
</div>
</div>
</div> --}}
<hr>
<div class="buttons">
<button class="button is-link is-fullwidth" type="submit" >Login</button>
@ -77,5 +78,6 @@
</div>
</div>
</div>
<p>Powered by <b><a href="{{meta.repo_url}}">{{ meta.app_name }}</a></b> v{{meta.app_version}}</p>
</div>
{{/layouts/default}}