testing_1 / templates /login.html
Yaswanth56's picture
Update templates/login.html
bd66aea verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login Page</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f7f7f7;
}
.login-form {
padding: 20px;
border: 1px solid #ccc;
background-color: white;
text-align: center;
}
.login-form input {
margin-bottom: 10px;
padding: 10px;
width: 100%;
}
.login-form button {
padding: 10px 20px;
background-color: orange;
color: white;
border: none;
cursor: pointer;
}
</style>
</head>
<body>
<div class="login-form">
<h2>Login Page</h2>
<form method="POST" action="/login">
<input type="email" name="email" placeholder="Enter your email" required>
<input type="password" name="password" placeholder="Enter your password" required>
<button type="submit">Login</button>
</form>
<p>{{ error }}</p>
</div>
</body>
</html>