Update templates/login.html
Browse files- templates/login.html +25 -36
templates/login.html
CHANGED
|
@@ -2,44 +2,33 @@
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
-
<
|
| 6 |
-
<
|
| 7 |
-
|
| 8 |
-
display: flex;
|
| 9 |
-
justify-content: center;
|
| 10 |
-
align-items: center;
|
| 11 |
-
height: 100vh;
|
| 12 |
-
background-color: #f7f7f7;
|
| 13 |
-
}
|
| 14 |
-
.login-form {
|
| 15 |
-
padding: 20px;
|
| 16 |
-
border: 1px solid #ccc;
|
| 17 |
-
background-color: white;
|
| 18 |
-
text-align: center;
|
| 19 |
-
}
|
| 20 |
-
.login-form input {
|
| 21 |
-
margin-bottom: 10px;
|
| 22 |
-
padding: 10px;
|
| 23 |
-
width: 100%;
|
| 24 |
-
}
|
| 25 |
-
.login-form button {
|
| 26 |
-
padding: 10px 20px;
|
| 27 |
-
background-color: orange;
|
| 28 |
-
color: white;
|
| 29 |
-
border: none;
|
| 30 |
-
cursor: pointer;
|
| 31 |
-
}
|
| 32 |
-
</style>
|
| 33 |
</head>
|
| 34 |
<body>
|
| 35 |
-
<div class="
|
| 36 |
-
<
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
</div>
|
| 44 |
</body>
|
| 45 |
</html>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Login</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/styles.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
+
<div class="background">
|
| 11 |
+
<div class="login-container">
|
| 12 |
+
<div class="login-card">
|
| 13 |
+
<h1>Welcome Back</h1>
|
| 14 |
+
<p>Login to your Account</p>
|
| 15 |
+
<form action="/auth" method="POST">
|
| 16 |
+
<div class="input-group">
|
| 17 |
+
<input type="email" name="email" placeholder="User Name / Email" required>
|
| 18 |
+
</div>
|
| 19 |
+
<div class="input-group">
|
| 20 |
+
<input type="password" name="password" placeholder="Password" required>
|
| 21 |
+
</div>
|
| 22 |
+
<div class="actions">
|
| 23 |
+
<a href="#" class="forgot-link">Forgot Password?</a>
|
| 24 |
+
</div>
|
| 25 |
+
<button type="submit" class="btn-login">Login</button>
|
| 26 |
+
</form>
|
| 27 |
+
<div class="register-link">
|
| 28 |
+
<p>Don't have an account? <a href="/register">Register Now</a></p>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
</div>
|
| 32 |
</div>
|
| 33 |
</body>
|
| 34 |
</html>
|