templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>{% block title %}{{ config.refTitle }}{% endblock %}</title>
  5.         {% include "_referencement.html.twig" %}
  6.         <link rel="stylesheet" href="https://bootswatch.com/5/lux/bootstrap.min.css">
  7.         <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
  8.         <link rel="stylesheet" href="{{ asset('css/style.css') }}">
  9.         <link rel="stylesheet" href="{{ asset('css/notification.css') }}">
  10.         <link rel="stylesheet" href="{{ path('css_route') }}">
  11.         {% block stylesheets %}
  12.             {{ encore_entry_link_tags('app') }}
  13.         {% endblock %}
  14.     </head>
  15.     <body>
  16.         <div id="contenu">
  17.             {% include "_nav.html.twig" %}
  18.             <main class="col-md-10 mx-auto">
  19.                 {% block ariane %}{% endblock %}
  20.                 <h1 class="text-center my-3">{% block h1 %}{% endblock %}</h1>
  21.                 {% include "_flashes.html.twig" %}
  22.                 {% block body %}{% endblock %}
  23.             </main>
  24.         </div>
  25.         {% include "_footer.html.twig" %}
  26.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
  27.         <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
  28.         crossorigin="anonymous"></script>
  29.         <script src="https://cdnjs.cloudflare.com/ajax/libs/htmx/1.8.5/htmx.min.js" integrity="sha512-B5IkMjoTFeR6sB/Mbd6eNnF0pwvfG5ZgSGdH4pL2uWnadND4pWTFXxXi3TBBKCZWGaWx83AujfrzFQuqfau11Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  30.         <script src="https://unpkg.com/feather-icons"></script>
  31.         <script>
  32.             feather.replace();
  33.         </script>
  34.         <script src="{{ asset('js/firstscript.js') }}"></script>
  35.         
  36.         {% block javascripts %}
  37.             {{ encore_entry_script_tags('app') }}
  38.         {% endblock %}
  39.         <script>
  40.             {% if app.user %}
  41.                 let user = true;
  42.             {% else %}
  43.                 let user = false;
  44.             {% endif %}
  45.         </script>
  46.         <script src="https://code.jquery.com/jquery-3.6.0.js"></script>
  47.         <script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
  48.         <script src="{{ asset('js/secondscript.js') }}"></script>
  49.         <script src="{{ asset('js/notification.js') }}"></script>
  50.     </body>
  51. </html>