Added more frontend and some more login logic

This commit is contained in:
2026-06-05 21:58:10 +02:00
parent 6543149dab
commit 52d551ab39
22 changed files with 1043 additions and 173 deletions

View File

@@ -1,21 +1,22 @@
{{ define "content" }}
<h1>Projekte</h1>
<button
hx-get="/projects/new"
hx-target="#modal"
>
Neues Projekt
</button>
<div class="action-bar">
<h1>Projects</h1>
<button
class="btn btn-primary"
style="width: auto; padding: 0.6rem 1.2rem; font-size: 0.95rem;"
hx-get="/project/new"
hx-target="#modal"
>
New Project
</button>
</div>
<div
hx-get="/api/projects"
hx-get="/api/project"
hx-trigger="load"
hx-target="this"
>
</div>
<div id="modal"></div>
{{ end }}