Spaces:
Sleeping
Sleeping
Update templates/dashboard.html
Browse files- templates/dashboard.html +5 -16
templates/dashboard.html
CHANGED
|
@@ -1,16 +1,5 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<
|
| 3 |
-
<
|
| 4 |
-
<
|
| 5 |
-
|
| 6 |
-
<form method="POST" action="/generate_otp">
|
| 7 |
-
<button type="submit">Generate OTP</button>
|
| 8 |
-
</form>
|
| 9 |
-
<a href="/logout">Logout</a>
|
| 10 |
-
<ul>
|
| 11 |
-
{% for row in otps %}
|
| 12 |
-
<li>{{ row.otp }} | expires: {{ row.expiry }} | used: {{ row.used }}</li>
|
| 13 |
-
{% endfor %}
|
| 14 |
-
</ul>
|
| 15 |
-
</body>
|
| 16 |
-
</html>
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<title>Admin Dashboard</title>
|
| 3 |
+
<h2>Welcome, Admin</h2>
|
| 4 |
+
<a href="/generate_otp">Generate OTP</a><br>
|
| 5 |
+
<a href="/logout">Logout</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|