Spaces:
Sleeping
Sleeping
Rename templates/admin_login.html to templates/login.html
Browse files- templates/admin_login.html +0 -17
- templates/login.html +8 -0
templates/admin_login.html
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html>
|
| 3 |
-
<head><title>Admin Login</title></head>
|
| 4 |
-
<body>
|
| 5 |
-
<h2>🔐 Admin Login</h2>
|
| 6 |
-
<form method="POST">
|
| 7 |
-
<input type="text" name="username" placeholder="Username" required /><br />
|
| 8 |
-
<input type="password" name="password" placeholder="Password" required /><br />
|
| 9 |
-
<button type="submit">Login</button>
|
| 10 |
-
</form>
|
| 11 |
-
{% with messages = get_flashed_messages(with_categories=true) %}
|
| 12 |
-
{% for category, message in messages %}
|
| 13 |
-
<p style="color: red">{{ message }}</p>
|
| 14 |
-
{% endfor %}
|
| 15 |
-
{% endwith %}
|
| 16 |
-
</body>
|
| 17 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/login.html
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<title>Admin Login</title>
|
| 3 |
+
<h2>Login</h2>
|
| 4 |
+
<form method="post">
|
| 5 |
+
<input name="username" placeholder="Username" required><br>
|
| 6 |
+
<input name="password" placeholder="Password" type="password" required><br>
|
| 7 |
+
<button type="submit">Login</button>
|
| 8 |
+
</form>
|