Update templates/login.html
Browse files- templates/login.html +5 -14
templates/login.html
CHANGED
|
@@ -6,40 +6,31 @@
|
|
| 6 |
|
| 7 |
<form method="POST" action="{{ url_for('login') }}">
|
| 8 |
<div class="mb-4">
|
| 9 |
-
<label class="block text-gray-700 mb-2" for="email">Email
|
| 10 |
<input type="email" id="email" name="email" required
|
| 11 |
-
class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500"
|
| 12 |
-
placeholder="Enter your email">
|
| 13 |
</div>
|
| 14 |
|
| 15 |
<div class="mb-6">
|
| 16 |
<label class="block text-gray-700 mb-2" for="password">Password</label>
|
| 17 |
<input type="password" id="password" name="password" required
|
| 18 |
-
class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500"
|
| 19 |
-
placeholder="Enter your password">
|
| 20 |
</div>
|
| 21 |
|
| 22 |
<button type="submit"
|
| 23 |
-
class="w-full bg-blue-600 text-white py-2 rounded-md hover:bg-blue-700 transition duration-300
|
| 24 |
Login
|
| 25 |
</button>
|
| 26 |
</form>
|
| 27 |
|
| 28 |
<div class="mt-6 text-center">
|
| 29 |
<p class="text-gray-600">Don't have an account?
|
| 30 |
-
<a href="{{ url_for('register') }}" class="text-blue-600 hover:underline
|
| 31 |
</p>
|
| 32 |
</div>
|
| 33 |
|
| 34 |
<div class="mt-4 text-center">
|
| 35 |
<a href="{{ url_for('index') }}" class="text-blue-600 hover:underline">← Back to Home</a>
|
| 36 |
</div>
|
| 37 |
-
|
| 38 |
-
<!-- Admin Login Hint -->
|
| 39 |
-
<div class="mt-6 p-4 bg-yellow-100 rounded-lg">
|
| 40 |
-
<p class="text-sm text-yellow-800">
|
| 41 |
-
<strong>Admin Login:</strong> Use email: singharshbir76@gmail.com, password: arshbir
|
| 42 |
-
</p>
|
| 43 |
-
</div>
|
| 44 |
</div>
|
| 45 |
{% endblock %}
|
|
|
|
| 6 |
|
| 7 |
<form method="POST" action="{{ url_for('login') }}">
|
| 8 |
<div class="mb-4">
|
| 9 |
+
<label class="block text-gray-700 mb-2" for="email">Email</label>
|
| 10 |
<input type="email" id="email" name="email" required
|
| 11 |
+
class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500">
|
|
|
|
| 12 |
</div>
|
| 13 |
|
| 14 |
<div class="mb-6">
|
| 15 |
<label class="block text-gray-700 mb-2" for="password">Password</label>
|
| 16 |
<input type="password" id="password" name="password" required
|
| 17 |
+
class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500">
|
|
|
|
| 18 |
</div>
|
| 19 |
|
| 20 |
<button type="submit"
|
| 21 |
+
class="w-full bg-blue-600 text-white py-2 rounded-md hover:bg-blue-700 transition duration-300">
|
| 22 |
Login
|
| 23 |
</button>
|
| 24 |
</form>
|
| 25 |
|
| 26 |
<div class="mt-6 text-center">
|
| 27 |
<p class="text-gray-600">Don't have an account?
|
| 28 |
+
<a href="{{ url_for('register') }}" class="text-blue-600 hover:underline">Register here</a>
|
| 29 |
</p>
|
| 30 |
</div>
|
| 31 |
|
| 32 |
<div class="mt-4 text-center">
|
| 33 |
<a href="{{ url_for('index') }}" class="text-blue-600 hover:underline">← Back to Home</a>
|
| 34 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
</div>
|
| 36 |
{% endblock %}
|