Added vite config and removed unecessary plugin. Updated the login page layout with more compact elements.

This commit is contained in:
Your Name committed 2025-04-28 06:03:12 +00:00
1 parent 43056e801d
commit 70ac6be0f8
3 files changed
+48 -30

No files matched your search

+38 -28
View File
@@ -57,21 +57,24 @@
<div class="mb-8">
<h2 class="text-lg mb-4 text-primary">Login</h2>
<form action="/login" method="post">
<div class="mb-4">
<label class="block text-sm font-medium mb-1" for="login-username">username:</label>
<input class="w-full px-3 py-2 border border-gray-300 rounded" type="text" id="login-username" name="username" required>
</div>
<div class="mb-4">
<label class="block text-sm font-medium mb-1" for="login-password">password:</label>
<input class="w-full px-3 py-2 border border-gray-300 rounded" type="password" id="login-password" name="password" required>
</div>
<div class="mb-4">
<div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div>
</div>
<div class="mb-4">
<button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Login</button>
</div>
<table>
<tr>
<td><label class="block text-sm font-medium mb-1" for="login-username">username:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="text" id="login-username" name="username" required></td>
</tr>
<tr>
<td><label class="block text-sm font-medium mb-1" for="login-password">password:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="login-password" name="password" required></td>
</tr>
<tr>
<td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td>
</tr>
<tr>
<td colspan="2"><button class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Login</button></td>
</tr>
</table>
</form>
<p class="text-sm text-primary mt-2">Bad Login</p>
<p class="text-sm text-text-muted mt-2"><a href="#" class="text-primary hover:underline">Forgot your password?</a></p>
</div>
@@ -81,21 +84,28 @@
<div class="mb-8">
<h2 class="text-lg mb-4 text-primary">Create Account</h2>
<form action="/signup" method="post">
<div class="mb-4">
<label class="block text-sm font-medium mb-1" for="signup-username">username:</label>
<input class="w-full px-3 py-2 border border-gray-300 rounded" type="text" id="signup-username" name="username" required>
</div>
<div class="mb-4">
<label class="block text-sm font-medium mb-1" for="signup-password">password:</label>
<input class="w-full px-3 py-2 border border-gray-300 rounded" type="password" id="signup-password" name="password" required>
</div>
<div class="mb-4">
<div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div>
</div>
<div class="mb-4">
<button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Create Account</button>
</div>
<table>
<tr>
<td><label class="block text-sm font-medium mb-1" for="signup-username">username:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="text" id="signup-username" name="username" required></td>
</tr>
<tr>
<td><label class="block text-sm font-medium mb-1" for="signup-password">password:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="signup-password" name="password" required></td>
</tr>
<tr>
<td><label class="block text-sm font-medium mb-1" for="signup-password-confirm">confirm password:</label></td>
<td><input class="px-3 py-1 border border-gray-300 rounded" type="password" id="signup-password-confirm" name="password-confirm" required></td>
</tr>
<tr>
<td colspan="2"><div class="recaptcha-placeholder">[reCAPTCHA placeholder]</div></td>
</tr>
<tr>
<td colspan="2"><button class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Create Account</button></td>
</tr>
</table>
</form>
<p class="text-sm text-primary mt-2">Passwords do not match</p>
</div>
</div> <!-- End container -->