Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +20 -0
templates/index.html
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<title>OTP Installer</title>
|
| 5 |
+
</head>
|
| 6 |
+
<body>
|
| 7 |
+
<h2>Enter OTP to Proceed</h2>
|
| 8 |
+
<form method="POST">
|
| 9 |
+
<input type="text" name="otp" placeholder="Enter OTP" required />
|
| 10 |
+
<button type="submit">Verify</button>
|
| 11 |
+
</form>
|
| 12 |
+
{% with messages = get_flashed_messages(with_categories=true) %}
|
| 13 |
+
{% for category, message in messages %}
|
| 14 |
+
<p style="color: {% if category == 'success' %}green{% else %}red{% endif %};">{{ message }}</p>
|
| 15 |
+
{% endfor %}
|
| 16 |
+
{% endwith %}
|
| 17 |
+
<hr>
|
| 18 |
+
<a href="/admin">Admin Login</a>
|
| 19 |
+
</body>
|
| 20 |
+
</html>
|