vendor/apidae-tourisme/apidae-bundle/templates/theme.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% if app_env != 'prod' %}[{{ app_env }}] &bull; {% endif %}{% block title %}Apidae Bundle{% endblock %}</title>
  6.         {% block stylesheets %}
  7.             {{ encore_entry_link_tags('app') }}
  8.         {% endblock %}
  9.         {% block javascripts %}
  10.             {{ encore_entry_script_tags('app') }}
  11.         {% endblock %}
  12.         <link rel="icon" href="{{ asset('build/images/favicon.ico') }}" />
  13.         <script
  14.         src="https://code.jquery.com/jquery-3.6.0.min.js"
  15.         integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
  16.         crossorigin="anonymous"></script>
  17.         <link
  18.             rel="stylesheet"
  19.             href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/11.0.0/css/fabric.min.css"
  20.         />      
  21.         {% if app_tagmanager_id is defined %}
  22.         <!-- Global site tag (gtag.js) - Google Analytics -->
  23.         <script async src="https://www.googletagmanager.com/gtag/js?id={{ app_tagmanager_id }}"></script>
  24.         <script>
  25.             window.dataLayer = window.dataLayer || [];
  26.             function gtag(){dataLayer.push(arguments);}
  27.             gtag('js', new Date());
  28.             gtag('config', '{{ app_tagmanager_id }}');
  29.         </script>
  30.         {% endif %}
  31.         <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" />
  32.         {% if apidaebundle_taches_path is defined %}<script>
  33.             var apidaebundle_taches_path = "{{ apidaebundle_taches_path }}" ;
  34.         </script>{% endif %}
  35.     </head>
  36.     <body class="{{ app_env }}{% if body_class is defined %} {{ body_class }}{% endif %}">
  37.         {% block body %}
  38.             {% block header %}{% include 'header.html.twig' %}{% endblock %}
  39.             {% block container %}
  40.             <div class="container-fluid">
  41.                 {% if sidebarMenu is defined and sidebarMenu == true %}
  42.                     <div class="row">
  43.                         {% block sidebarMenu %}
  44.                             <nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block">
  45.                                 <div class="sidebar-sticky pt-3">
  46.                                     {% block sidebarMenuUl %}
  47.                                         {% include 'demo/siteBarMenu.html.twig' %}
  48.                                     {% endblock %}
  49.                                 </div>
  50.                             </nav>
  51.                         {% endblock %}
  52.                         <main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
  53.                 {% else %}
  54.                     <main role="main" class="px-md-4">
  55.                 {% endif %}
  56.                         {% block breadcrumb %}
  57.                             {% if breadcrumb is defined %}
  58.                                 {% include 'breadcrumb.html.twig' %}
  59.                             {% endif %}
  60.                         {% endblock %}
  61.                         {% block h1 %}
  62.                             <h1>{{ titre|default(app.request.get('_route')|trans) }}</h1>
  63.                         {% endblock %}
  64.                         {% block alerts %}
  65.                             {% include 'alerts.html.twig' %}
  66.                         {% endblock %}
  67.                         {% block main %}{% endblock %}
  68.                         {% block helper %}{% endblock %}
  69.                         {% if debug is defined %}
  70.                             {{ dump(debug) }}
  71.                         {% endif %}
  72.                         {% if gql is defined %}
  73.                             <pre style="font-size:.6em;max-height:80px;overflow:auto;"><code>{{ gql }}</code></pre>
  74.                         {% endif %}
  75.                 {% if sidebarMenu is defined and sidebarMenu == true %}                
  76.                         </main>
  77.                     </div>
  78.                 {% else %}
  79.                     </main>
  80.                 {% endif %}
  81.             </div>
  82.             {% endblock %}
  83.         {% endblock %}
  84.         {% include 'env.html.twig' %}
  85.     </body>
  86. </html>