Spaces:
Sleeping
Sleeping
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <title>{{ title or "Pest Chat" }}</title> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| <style> | |
| body { background:#f7fafc; } | |
| .logo { max-height:110px; object-fit:contain; display:block; margin: 10px auto; } | |
| .card { border-radius:12px; box-shadow: 0 6px 18px rgba(15,23,42,0.06); } | |
| .topbar { background: #fff; border-bottom:1px solid #eef2f7; padding:14px 0; } | |
| </style> | |
| </head> | |
| <body> | |
| <header class="topbar"> | |
| <div class="container text-center"> | |
| <a href="{{ url_for('welcome_page') }}"> | |
| <img src="{{ url_for('static', filename='logo.png') }}" alt="logo" class="logo" /> | |
| </a> | |
| </div> | |
| </header> | |
| <main class="container py-5"> | |
| {% with messages = get_flashed_messages(with_categories=true) %} | |
| {% if messages %} | |
| <div class="mb-4"> | |
| {% for category, message in messages %} | |
| <div class="alert alert-{{ category }} alert-dismissible fade show" role="alert"> | |
| {{ message }} | |
| <button type="button" class="btn-close" data-bs-dismiss="alert"></button> | |
| </div> | |
| {% endfor %} | |
| </div> | |
| {% endif %} | |
| {% endwith %} | |
| {% block content %}{% endblock %} | |
| </main> | |
| <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script> | |
| </body> | |
| </html> | |