feat(templates): login page
This commit is contained in:
31
templates/login.html
Normal file
31
templates/login.html
Normal 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}}
|
||||
Reference in New Issue
Block a user