templates/layout.html.twig line 1

Open in your IDE?
  1. {% set spacerL = "50" %}
  2. {% set spacerM = "30" %}
  3. {% set spacerS = "20" %}
  4. {% set spacerXS = "15" %}
  5. {% set spacerXXS = "10" %}
  6. <!DOCTYPE html>
  7. <html>
  8.     <head>
  9.         <meta charset="UTF-8">
  10.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11.         <title>{% block title %}{% endblock %} - OPAC GDTI</title>
  12.         <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/favicon/apple-touch-icon.png') }}">
  13.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/favicon/favicon-32x32.png') }}">
  14.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/favicon/favicon-16x16.png') }}">
  15.         <link rel="manifest" href="{{ asset('assets/favicon/site.webmanifest') }}">
  16.         <link rel="mask-icon" href="{{ asset('assets/favicon/safari-pinned-tab.svg') }}" color="#a8cc00">
  17.         <meta name="msapplication-TileColor" content="#ffffff">
  18.         <meta name="theme-color" content="#ff0000">
  19.         <meta name="description" content="OPAC Saône-et-Loire - Gestion des Diagnostics Techniques Immobiliers">
  20.         <meta name="title" content="OPAC Saône-et-Loire - Gestion des Diagnostics Techniques Immobiliers">
  21.         {% block stylesheets %}
  22.             {{ encore_entry_link_tags('app') }}
  23.             <link rel="stylesheet" href="{{ asset('assets/bundle/app.css') }}">
  24.         {% endblock %}
  25.     </head>
  26.     <body>
  27.         <div id="js-flash-message-container">
  28.             {% for type, messages in app.session.flashbag.all() %}
  29.                 {% for message in messages %}
  30.                         {% include 'components/FlashMessage/index.html.twig' with {
  31.                             message: message,
  32.                             level: type,
  33.                             flashMessageClassName: 'is-fixed is-active'
  34.                         } %}
  35.                 {% endfor %}
  36.             {% endfor %}
  37.         </div>
  38.         {% if app.user %}
  39.             {% include 'components/Header/index.html.twig' %}
  40.         {% endif %}
  41.         <div class="overflow-hidden">
  42.             {% block pageHeader %}{% endblock %}
  43.             {% block main %}{% endblock %}
  44.         </div>
  45.         <script>
  46.             const JS_TRANSLATION = {
  47.                 bulkIntegration: {
  48.                     downloadExcel: "{{ 'bulk_integration.label.download_excel'|trans({}, 'diagnostic') }}",
  49.                 }
  50.             };
  51.         </script>
  52.         <script src="{{ asset('assets/bundle/app.js') }}"></script>
  53.         {% block javascripts %}
  54.             {{ encore_entry_script_tags('app') }}
  55.         {% endblock %}
  56.     </body>
  57. </html>