48 lines
1.6 KiB
HTML
48 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Login</title>
|
|
<!-- Tailwind CSS CDN -->
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body class="bg-gray-100 flex items-center justify-center h-screen">
|
|
<div class="bg-white p-8 rounded shadow-md w-full max-w-md">
|
|
<h2 class="text-2xl font-bold mb-6 text-center">Login</h2>
|
|
<form action="/login" method="POST">
|
|
<div class="mb-4">
|
|
<label for="email" class="block text-gray-700">Email</label>
|
|
<input
|
|
type="email"
|
|
id="email"
|
|
name="email"
|
|
placeholder="you@example.com"
|
|
class="mt-1 w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"
|
|
required
|
|
/>
|
|
</div>
|
|
<div class="mb-4">
|
|
<label for="password" class="block text-gray-700">Password</label>
|
|
<input
|
|
type="password"
|
|
id="password"
|
|
name="userpassword"
|
|
placeholder="********"
|
|
class="mt-1 w-full px-3 py-2 border rounded focus:outline-none focus:ring focus:border-blue-300"
|
|
required
|
|
/>
|
|
</div>
|
|
<div class="mb-4 flex items-center">
|
|
<input type="checkbox" id="remember" name="remember" class="mr-2" />
|
|
<label for="remember" class="text-gray-700">Remember me</label>
|
|
</div>
|
|
<button type="submit" class="w-full bg-blue-500 text-white py-2 rounded hover:bg-blue-600 transition">
|
|
Login
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|