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