|
| 1 | +{% set title = title|default('Omines Anti-Spam Quarantine Bundle Test Site') %} |
| 2 | +<!DOCTYPE html> |
| 3 | +<html lang="{{ app.request.locale }}" data-bs-theme="dark"> |
| 4 | + <head> |
| 5 | + <meta charset="UTF-8"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <title>{{ title }}</title> |
| 8 | + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>"> |
| 9 | + <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> |
| 10 | + {% block stylesheets %} |
| 11 | + {% endblock %} |
| 12 | + |
| 13 | + {% block javascripts %} |
| 14 | + {% endblock %} |
| 15 | + </head> |
| 16 | + <body> |
| 17 | + <header class="navbar navbar-expand bg-body-tertiary"> |
| 18 | + <div class="container"> |
| 19 | + <a class="navbar-brand" href="/">{{ title }}</a> |
| 20 | + <ul class="navbar-nav me-auto mb-2 mb-lg-0"> |
| 21 | + <li class="nav-item dropdown"> |
| 22 | + <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> |
| 23 | + {% trans %}Languages{% endtrans %} |
| 24 | + </a> |
| 25 | + <ul class="dropdown-menu"> |
| 26 | +{# {% for language in languages %}#} |
| 27 | +{# <li><a class="dropdown-item" href="/{{ language }}/">{{ ('languages.native.' ~ language)|trans }}</a></li>#} |
| 28 | +{# {% endfor %}#} |
| 29 | + </ul> |
| 30 | + </li> |
| 31 | + </ul> |
| 32 | + </div> |
| 33 | + </header> |
| 34 | + <main class="container my-3"> |
| 35 | + {% for message in app.session.flashBag.get('message') %} |
| 36 | + <div class="alert alert-primary alert-dismissible fade show"> |
| 37 | + {{ message }} |
| 38 | + <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> |
| 39 | + </div> |
| 40 | + {% endfor %} |
| 41 | + {% block body %}{% endblock %} |
| 42 | + </main> |
| 43 | + <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> |
| 44 | + </body> |
| 45 | +</html> |
0 commit comments