feat(templates): login page

This commit is contained in:
Guz
2025-05-30 18:04:39 -03:00
parent deaf9089b2
commit b29bfdd1df

31
templates/login.html Normal file
View File

@@ -0,0 +1,31 @@
{{define "login"}} {{template "layout-page-start" (args "Title" "Login")}}
<main>
<div
class="w-full h-screen fixed top-0 left-0 flex justify-center items-center"
>
<form
action="/login"
method="POST"
enctype="multipart/form-data"
class="h-fit bg-slate-500 grid grid-cols-1 grid-rows-3 p-5 gap-3"
id="login-form"
>
<h1>Login</h1>
<input
type="text"
name="user"
required
class="bg-slate-200 p-1"
placeholder="Username"
/>
<input
type="password"
name="password"
required
class="bg-slate-200 p-1"
placeholder="Password"
/>
</form>
</div>
</main>
{{template "layout-page-end"}} {{end}}