Added HTML
This commit is contained in:
21
frontend/htmx/contents/dash/projects.html
Normal file
21
frontend/htmx/contents/dash/projects.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ define "content" }}
|
||||
|
||||
<h1>Projekte</h1>
|
||||
|
||||
<button
|
||||
hx-get="/projects/new"
|
||||
hx-target="#modal"
|
||||
>
|
||||
Neues Projekt
|
||||
</button>
|
||||
|
||||
<div
|
||||
hx-get="/api/projects"
|
||||
hx-trigger="load"
|
||||
hx-target="this"
|
||||
>
|
||||
</div>
|
||||
|
||||
<div id="modal"></div>
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user