-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<form hx-post="/login" class="flex flex-col gap-6 max-w-xl px-4 py-8 mx-auto"> | ||
<div class="flex flex-col gap-2 relative"> | ||
<label | ||
for="username" | ||
class="text-sm font-semibold text-neutral-500 dark:text-neutral-400" | ||
> | ||
Username | ||
</label> | ||
<input | ||
required | ||
type="text" | ||
name="username" | ||
id="username" | ||
class="w-full rounded border border-neutral-200 dark:border-neutral-700 bg-transparent ring-offset-white dark:ring-offset-neutral-900 px-4 py-2 ring-offset-2 focus:outline-none focus:ring-2 focus:ring-neutral-400 dark:focus:ring-neutral-500" | ||
/> | ||
</div> | ||
|
||
<div class="flex flex-col gap-2 relative"> | ||
<label | ||
for="password" | ||
class="text-sm font-semibold text-neutral-500 dark:text-neutral-400" | ||
> | ||
Password | ||
</label> | ||
<input | ||
required | ||
type="password" | ||
name="password" | ||
id="password" | ||
class="w-full rounded border border-neutral-200 dark:border-neutral-700 bg-transparent ring-offset-white dark:ring-offset-neutral-900 px-4 py-2 ring-offset-2 focus:outline-none focus:ring-2 focus:ring-neutral-400 dark:focus:ring-neutral-500" | ||
/> | ||
</div> | ||
<footer> | ||
<button | ||
class="px-6 py-2 text-neutral-700 bg-neutral-200 dark:text-neutral-200 dark:bg-neutral-700 rounded" | ||
type="submit" | ||
> | ||
Login | ||
</button> | ||
</footer> | ||
</form> |