Spaces:
Sleeping
Sleeping
Update templates/login.html
Browse files- templates/login.html +6 -14
templates/login.html
CHANGED
@@ -3,35 +3,27 @@
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
-
<title>Login
|
7 |
<link rel="stylesheet" href="/static/styles.css">
|
8 |
</head>
|
9 |
<body>
|
10 |
|
11 |
<div class="login-container">
|
12 |
-
<h1>Welcome
|
13 |
-
<p>Login to your
|
14 |
-
|
15 |
-
<!-- Show error message here if login fails -->
|
16 |
-
{% if error_message %}
|
17 |
-
<div class="error-message">{{ error_message }}</div>
|
18 |
-
{% endif %}
|
19 |
-
|
20 |
<form action="/auth" method="POST">
|
21 |
<div class="input-group">
|
22 |
-
<input type="email" name="email" placeholder="
|
23 |
</div>
|
24 |
<div class="input-group">
|
25 |
-
<input type="password" name="password" placeholder="
|
26 |
</div>
|
27 |
-
<button type="submit">Login
|
28 |
</form>
|
29 |
-
|
30 |
<a href="#" class="forgot-link">Forgot Password?</a>
|
31 |
<div class="register-link">
|
32 |
<p>Don't have an account? <a href="/register">Register Now</a></p>
|
33 |
</div>
|
34 |
-
|
35 |
</div>
|
36 |
|
37 |
</body>
|
|
|
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 |
|
11 |
<div class="login-container">
|
12 |
+
<h1>Welcome Back</h1>
|
13 |
+
<p>Login to your Account</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<form action="/auth" method="POST">
|
15 |
<div class="input-group">
|
16 |
+
<input type="email" name="email" placeholder="User Name / Email" required>
|
17 |
</div>
|
18 |
<div class="input-group">
|
19 |
+
<input type="password" name="password" placeholder="Password" required>
|
20 |
</div>
|
21 |
+
<button type="submit">Login</button>
|
22 |
</form>
|
|
|
23 |
<a href="#" class="forgot-link">Forgot Password?</a>
|
24 |
<div class="register-link">
|
25 |
<p>Don't have an account? <a href="/register">Register Now</a></p>
|
26 |
</div>
|
|
|
27 |
</div>
|
28 |
|
29 |
</body>
|