base.html.twig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>{% block title %}Videothèque{% endblock %}</title>
  7. {{ encore_entry_link_tags('app') }}
  8. {% block stylesheets %}{% endblock %}
  9. <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
  10. </head>
  11. <body style="padding-top:5rem;padding-bottom:4rem;">
  12. {% include 'flashbag.html.twig' %}
  13. {% include 'navbar.html.twig' %}
  14. <header>
  15. {% include 'modal.html.twig' %}
  16. </header>
  17. <nav class="navbar">
  18. <div class="nav-item">
  19. <h1>{% block titre %}{% endblock %}</h1>
  20. </div>
  21. <div class="container-xxl d-flex align-items-md-center">
  22. <form class="me-auto" action="{{ path('search_recherche') }}">
  23. <div class="input-group">
  24. <input class="form-control mr-sm-2" name="q" type="text" placeholder="Rechercher" aria-label="Rechercher">
  25. <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Go</button>
  26. </div>
  27. </form>
  28. </div>
  29. </nav>
  30. <main role="main">
  31. {% block body %}{% endblock %}
  32. </main>
  33. <footer class="footer">
  34. {% include 'footer.html.twig' %}
  35. </footer>
  36. {{ encore_entry_script_tags('app') }}
  37. {% block javascripts %}{% endblock %}
  38. </body>
  39. </html>