feat: allow password change
All checks were successful
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
Felipe M 2025-04-21 15:44:45 +02:00
parent ece8280358
commit 6aedfc794f
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
4 changed files with 203 additions and 22 deletions

View file

@ -28,8 +28,10 @@
<a href="/admin/login">Log in</a>
{{else}}
<div class="d-none d-xl-block pl-2">
<div>{{.User.Username}} - <a class="mt-1 small"
href="/admin/logout">Log out</a></div>
<div>{{.User.Username}} -
<a class="mt-1 small" href="/admin/change-password">Change Password</a> |
<a class="mt-1 small" href="/admin/logout">Log out</a>
</div>
</div>
</a>
{{end}}
@ -100,14 +102,14 @@
{{end}}
</div>
{{range .Flash}}
<div class="card">
<div class="card-status-top bg-{{.Category}}"></div>
<div class="card-body">
<p>{{.Message}}</p>
<div class="container-xl mt-3">
{{range .Flash}}
<div class="alert alert-{{.Category}} alert-dismissible" role="alert">
{{.Message}}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{{end}}
</div>
{{end}}
<div class="content">
<div class="container-xl">