summaryrefslogtreecommitdiff
path: root/components/auth.html
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-03-29 14:28:41 +0300
committerGrail Finder <wohilas@gmail.com>2025-03-29 14:28:41 +0300
commitcb8b8e80d774608c6aa7a1d28f6d948828fea806 (patch)
treec6a6b99cb2f03b69d142930ca720c24f22b8351c /components/auth.html
parent7a3a73f2a7f2498c61c71f3242a0fcd6c56dfb69 (diff)
Chore: cleaning
Diffstat (limited to 'components/auth.html')
-rw-r--r--components/auth.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/components/auth.html b/components/auth.html
deleted file mode 100644
index 5122919..0000000
--- a/components/auth.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{{define "auth"}}
-<div id="logindiv">
- <form class="space-y-6" hx-target="#ancestor" hx-swap="outerHTML">
- <div>
- <label For="username" class="block text-sm font-medium leading-6 text-white-900">username</label>
- <div class="mt-2">
- <input id="username" name="username" autocomplete="username" class="rounded-md text-center text-black" required />
- </div>
- </div>
- <div>
- <label For="password" class="block text-sm font-medium leading-6 text-white-900">password</label>
- <div class="mt-2">
- <input id="password" name="password" type="password" required class="rounded-md text-center text-black" />
- </div>
- </div>
- <div>
- <button type="submit" hx-post="/login" class="justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Log in</button>
- <button type="submit" hx-post="/signup" class="justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Sign up</button>
- </div>
- </form>
-</div>
-{{end}}