templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, user-scalable=no">
  6.         <title>{% block title %}Planet Fitness Group{% endblock %}</title>
  7.         <link rel="icon" href="{{ asset('img/favicon.ico') }}" />
  8.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
  9.         <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
  10.         {#        FONTS#}
  11.         <link rel="preconnect" href="https://fonts.googleapis.com">
  12.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  13.         <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
  14.         <link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}" />
  15.         <link rel="stylesheet" href="{{ asset('css/general.css') }}" />
  16.         <link rel="stylesheet" href="{{ asset('css/introjs.min.css') }}" />
  17.         <script src="{{ asset('js/jquery-3.5.1.min.js') }}" ></script>
  18.         <script src="{{ asset('js/header_navbar.js') }}" ></script>
  19.         <!-- Global site tag (gtag.js) - Google Analytics -->
  20.         {% include 'partials/analytics.html.twig' %}
  21.         {% if 'fr' in app.request.attributes.get('_route_params')['_locale'] %}
  22.             <script src='https://www.google.com/recaptcha/api.js?hl=fr'></script>
  23.             {% elseif 'it' in app.request.attributes.get('_route_params')['_locale'] %}
  24.             <script src='https://www.google.com/recaptcha/api.js?hl=it'></script>
  25.         {% endif %}
  26.         {% block navbarCss %}
  27.             {#            <link rel="stylesheet" href="{{ asset('css/header-navbar.css') }}" />#}
  28.             <link rel="stylesheet" href="{{ asset('css/navbar-left.css') }}?v={{ image_version }}" />
  29.         {% endblock %}
  30.         {% block stylesheets %}
  31.         {% endblock %}
  32. {#        ajouter un fichier brand.css avec toutes les classes des marques qu'on ajoute dans le body, login form#}
  33.         <link rel="stylesheet" href="{{ asset('css/brand.css') }}" />
  34.     </head>
  35.     {% if context.dtoBrand.backgroundImage is defined %}
  36.     <body class="{{ context.dtoBrand.code | default ('') }}" style="background-image:url('{{ context.dtoBrand.backgroundImage }}')">
  37.     {% else %}
  38.     <body class="{{ context.dtoBrand.code | default ('') }}">
  39.     {% endif %}
  40.         <div class="none" id="scsrft">{% if app.session.get('contact') %}{{ contactCsrfToken }}{% endif %}</div>
  41.         {% block container %}
  42.         {% endblock %}
  43.         {% block footer %}
  44.             {% if context.dtoBrand.htmlFooter is defined and context.dtoBrand.htmlFooter | default('') != ''%}
  45.                 {{ context.dtoBrand.htmlFooter | raw }}
  46.             {% else %}
  47.             {% include 'partials/footer.html.twig' %}
  48.             {% endif %}
  49.         {% endblock %}
  50.         <!-- Confirmation modal -->
  51.         <div class="modal fade" id="confirmationModal" tabindex="-1" role="dialog" aria-labelledby="confirmationModal" aria-hidden="true">
  52.             <div class="modal-dialog" role="document">
  53.                 <div class="modal-content">
  54.                     <div class="modal-header">
  55.                         <h5 class="modal-title" id="confirmationModalTitle"></h5>
  56.                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  57.                             <span aria-hidden="true">&times;</span>
  58.                         </button>
  59.                     </div>
  60.                     <div class="modal-body" id="confirmationModalBody">
  61.                     </div>
  62.                     <div class="modal-footer">
  63.                         <button type="button" class="btn btn-secondary" id="confirmationModalCancelButton" data-dismiss="modal">{% trans %}Annuler{% endtrans %}</button>
  64.                         <button type="button" class="btn btn-primary" id="confirmationModalConfirmButton">{% trans %}Valider{% endtrans %}</button>
  65.                     </div>
  66.                 </div>
  67.             </div>
  68.         </div>
  69.         <div class="modal fade" id="error-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  70.             <div class="modal-dialog" role="document">
  71.                 <div class="modal-content">
  72.                     <div class="modal-header">
  73.                         <h5 class="modal-title" id="exampleModalLabel"></h5>
  74.                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  75.                             <span aria-hidden="true">&times;</span>
  76.                         </button>
  77.                     </div>
  78.                     <div class="modal-body" id="error-modal-body">
  79.                     </div>
  80.                     <div class="modal-footer">
  81.                         <button type="button" class="btn btn-secondary" data-dismiss="modal">{% trans %}Fermer{% endtrans %}</button>
  82.                     </div>
  83.                 </div>
  84.             </div>
  85.         </div>
  86.     <script src="{{ asset('js/bootstrap.bundle.min.js') }}" ></script>
  87.     <script src="{{ asset('js/intro.min.js') }}" ></script>
  88.     <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
  89.         <script src="{{ asset('js/general.js') }}?v={{ image_version }}" ></script>
  90.         {#        Tracking Pardot:#}
  91.         {#        include 'partials/tracking_pardot.html.twig' #}
  92.         {% block javascripts %}{% endblock %}
  93.     </body>
  94. </html>