Added more frontend and some more login logic
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user