You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.0 KiB

4 months ago
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>{% block title %}{{ title }}{% endblock %}</title>
  7. <link rel="icon" href="data:," />
  8. {% block stylesheets %}
  9. {% endblock %}
  10. {% block javascripts %}
  11. {% block importmap %}{{ importmap('app') }}{% endblock %}
  12. {% endblock %}
  13. </head>
  14. <body>
  15. {% block body %}
  16. <header>{% block header %}{% include '_header.html.twig' %}{% endblock %}</header>
  17. <main>
  18. <div class="container my-3">
  19. <div class="row">
  20. <div class="col mb-3">
  21. <nav aria-label="breadcrumb">
  22. <ol class="breadcrumb">
  23. {% block breadcrumb %}{% endblock %}
  24. </ol>
  25. </nav>
  26. </div>
  27. </div>
  28. <div class="row">
  29. <div class="col mb-3">
  30. <h1>{% block page_title %}{% endblock %}</h1>
  31. </div>
  32. </div>
  33. <div class="row">
  34. <div class="col mb-3">
  35. {% for label, messages in app.flashes %}
  36. {% for message in messages %}
  37. <div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
  38. {{ message }}
  39. <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  40. </div>
  41. {% endfor %}
  42. {% endfor %}
  43. </div>
  44. </div>{% block page_content %}
  45. {% endblock %}
  46. </div>
  47. </main>
  48. <footer>{% block footer %}{% include '_footer.html.twig' %}{% endblock %}</footer>
  49. {% endblock %}
  50. </body>
  51. </html>