| <!DOCTYPE html>
|
| <html lang="en">
|
|
|
| <head>
|
| <meta charset="UTF-8">
|
| <title>Real-Time Document Scanner</title>
|
| </head>
|
|
|
| <body style="font-family:sans-serif;text-align:center">
|
| <h1>📄 Real-Time Document Scanner</h1>
|
|
|
| {% with messages = get_flashed_messages(with_categories=true) %}
|
| {% for category, message in messages %}
|
| {% if category == 'error' %}
|
| <p style="color: red;">{{ message }}</p>
|
| {% else %}
|
| <p style="color: green;">{{ message }}</p>
|
| {% endif %}
|
| {% endfor %}
|
| {% endwith %}
|
|
|
| <form action="/scan">
|
| <button style="padding:15px 30px;font-size:18px">📷 Scan Document</button>
|
| </form>
|
| </body>
|
|
|
| </html> |