0vergeared commited on
Commit
8b15483
·
verified ·
1 Parent(s): 91bc074

Update templates/dashboard.html

Browse files
Files changed (1) hide show
  1. templates/dashboard.html +5 -16
templates/dashboard.html CHANGED
@@ -1,16 +1,5 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head><title>Admin Dashboard</title></head>
4
- <body>
5
- <h2>✅ OTP Dashboard</h2>
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>