templates/public/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. {% set centreGroupe = getInfoCentreGroupe() %}
  4. {% set parametreCentreGroupe = getParametreCentreGroupe() %}
  5. <head>
  6.     <meta charset="utf-8">
  7.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8.     <!-- Tell the browser to be responsive to screen width -->
  9.     <meta name="viewport" content="width=device-width, initial-scale=1">
  10.     <meta name="description"
  11.         content=" {{centreGroupe.centres|first.ctrnom}} - Votre sécurité routière garantie. 
  12.                                         Confiez-nous votre véhicule pour une expertise professionnelle et rapide. 
  13.                                         Bénéficiez de l'assurance d'une conduite en toute confiance. Prenez rendez-vous dès maintenant !">
  14.     <meta name="author" content="Autobilan-systems">
  15.     <!-- Favicon icon -->
  16.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset("favicon.png")}}">
  17.     <link rel="apple-touch-icon" sizes="120x120" href="{{ asset("apple-touch-icon-120x120-precomposed.png")}}" />
  18.     <link rel="apple-touch-icon" sizes="152x152" href="{{ asset("apple-touch-icon-152x152-precomposed.png")}}" />
  19.     <title>{% block title %}{{centreGroupe.centres|first.ctrnom}},
  20.         {{centreGroupe.centres|first.ctradresse.adrcodepostal}},
  21.         {{centreGroupe.centres|first.ctradresse.adrville}}{% endblock %}</title>
  22.     <!-- Bootstrap Core CSS -->
  23.     <link href="{{ asset("public/bootstrap/css/bootstrap.min.css")}}" rel="stylesheet">
  24.     <!-- owl slider CSS -->
  25.     <link href="{{ asset("public/assets/owl.carousel/owl.carousel.min.css")}}" rel="stylesheet">
  26.     <link href="{{ asset("public/assets/owl.carousel/owl.theme.default.css")}}" rel="stylesheet">
  27.     <link href="{{ asset("adminMercureRdv/assets/plugins/select2/dist/css/select2.min.css")}}" rel="stylesheet"
  28.         type="text/css" />
  29.     <link href="{{ asset("adminMercureRdv/assets/plugins/select2/dist/css/select2-bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
  30.     <!-- Custom CSS -->
  31.     <link href="{{ asset("public/css/style.css")}}" rel="stylesheet">
  32.     <!-- Fonts CSS -->
  33.     <link href="{{ asset("public/css/fonts.css")}}" rel="stylesheet">
  34.     <link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.2.96/css/materialdesignicons.min.css" rel="stylesheet">
  35.     <link rel="stylesheet" type="text/css" href="{{ asset("public/css/star-rating-svg.css")}}">
  36.     <link href="{{ asset("adminMercureRdv/assets/plugins/toast-master/css/jquery.toast.css")}}" rel="stylesheet">
  37.     {% block stylesheets %}{% endblock %}
  38.     <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  39.     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  40.     <!--[if lt IE 9]>
  41.     <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  42.     <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  43. <![endif]-->
  44. </head>
  45. <style>
  46.    .form-control {
  47.     color: {{centreGroupe.centregroupecss.bg1}};
  48. }
  49. .fc-col-header-cell-cushion,
  50. .fc-timegrid-slot-label-cushion {
  51.     color: white
  52. }
  53. .PN-Light {
  54.     /* font-family: "proxima-nova", sans-serif; */
  55.     font-weight: 300;
  56.     font-style: normal;
  57. }
  58. .PN-Regular {
  59.     /* font-family: "proxima-nova", sans-serif; */
  60.     font-weight: 400;
  61.     font-style: normal;
  62. }
  63. .PN-Medium {
  64.     /* font-family: "proxima-nova", sans-serif; */
  65.     font-weight: 500;
  66.     font-style: normal;
  67. }
  68. .PN-Semibold {
  69.     /* font-family: "proxima-nova", sans-serif; */
  70.     font-weight: 600;
  71.     font-style: normal;
  72. }
  73. .PN-Bold {
  74.     /* font-family: "proxima-nova", sans-serif; */
  75.     font-weight: 700;
  76.     font-style: normal;
  77. }
  78. .PN-Extrabold {
  79.     /* font-family: "proxima-nova", sans-serif; */
  80.     font-weight: 800;
  81.     font-style: normal;
  82. }
  83. .PN-Black {
  84.     /* font-family: "proxima-nova", sans-serif; */
  85.     font-weight: 900;
  86.     font-style: normal;
  87. }
  88. .PN-blue {
  89.     color: #061847;
  90. }
  91. .PN-color1 {
  92.     color: {{centreGroupe.centregroupecss.color1}} !important;
  93. }
  94. .PN-color2 {
  95.     color: {{centreGroupe.centregroupecss.color2}} !important;
  96. }
  97. .PN-color3 {
  98.     color: {{centreGroupe.centregroupecss.color3}} !important;
  99. }
  100. .PN-colorbg1 {
  101.     color: {{centreGroupe.centregroupecss.bg1}} !important;
  102. }
  103. .PN-colorbg2 {
  104.     color: {{centreGroupe.centregroupecss.bg2}} !important;
  105. }
  106. .PN-colorbg3 {
  107.     color: {{centreGroupe.centregroupecss.bg3}} !important;
  108. }
  109. .PN-blue-clair {
  110.     color: #0048FF;
  111. }
  112. .PN-bg1 {
  113.     background-color: {{centreGroupe.centregroupecss.bg1}};
  114.     color: {{centreGroupe.centregroupecss.color1}} !important;
  115.     border-color: {{centreGroupe.centregroupecss.bg1}} !important;
  116. }
  117. .PN-bg2 {
  118.     background-color: {{centreGroupe.centregroupecss.bg2}};
  119.     color: {{centreGroupe.centregroupecss.color2}} !important;
  120.     border-color: {{centreGroupe.centregroupecss.bg2}} !important;
  121. }
  122. .PN-bg3 {
  123.     background-color: {{centreGroupe.centregroupecss.bg3}};
  124.     color: {{centreGroupe.centregroupecss.color3}} !important;
  125.     border-color: {{centreGroupe.centregroupecss.bg3}} !important;
  126. }
  127. .image_fond {
  128.     background: transparent url('../public/images/alessio-soggetti-PdGBci-4jR8-unsplash-o.jpg') 0% 0% no-repeat padding-box;
  129.     background-size: cover;
  130.     width: 100%;
  131. }
  132. .btn-outline-custom-bleu {
  133.     color: {{centreGroupe.centregroupecss.bg1}};
  134.     border-color: {{centreGroupe.centregroupecss.bg1}};
  135.     border: 3px solid;
  136.     font-weight: bold;
  137. }
  138. .btn-outline-custom-bleu-clair {
  139.     color: {{centreGroupe.centregroupecss.color3}};
  140.     border-color: {{centreGroupe.centregroupecss.bg3}};
  141.     border: 3px solid;
  142.     font-weight: bold;
  143.     background-color: {{centreGroupe.centregroupecss.bg3}};
  144. }
  145. .btn-outline-custom-bg1 {
  146.     color: {{centreGroupe.centregroupecss.bg1}};
  147.     border-color: {{centreGroupe.centregroupecss.bg1}};
  148.     border: 3px solid;
  149.     font-weight: bold;
  150. {
  151.     # background-color: {{centreGroupe.centregroupecss.bg1}};
  152.     #
  153. }
  154. }
  155. .btn-outline-custom-bg1.hover {
  156.     background-color: {{centreGroupe.centregroupecss.bg2}};
  157.     color: {{centreGroupe.centregroupecss.color2}};
  158. }
  159. .btn-outline-custom-bg2 {
  160.     color: {{centreGroupe.centregroupecss.color2}};
  161.     border-color: {{centreGroupe.centregroupecss.bg2}};
  162.     border: 3px solid;
  163.     font-weight: bold;
  164.     background-color: {{centreGroupe.centregroupecss.bg2}};
  165. }
  166. .btn-outline-custom-bg3 {
  167.     color: {{centreGroupe.centregroupecss.bg3}};
  168.     border-color: {{centreGroupe.centregroupecss.bg3}};
  169.     border: 3px solid;
  170.     font-weight: bold;
  171.     background-color: {{centreGroupe.centregroupecss.bg3}};
  172. }
  173. .cercle {
  174.     left: 50%;
  175.     width: 300px;
  176.     height: 300px;
  177.     opacity: 0.62;
  178.     background: #4908CA 0% 0% no-repeat padding-box;
  179.     filter: blur(40px);
  180.     position: absolute;
  181.     border-radius: 200px;
  182. }
  183. .cercle1 {
  184.     left: 40%;
  185.     top: 15%;
  186.     width: 400px;
  187.     height: 400px;
  188.     opacity: 0.62;
  189.     background: #00C2FF 0% 0% no-repeat padding-box;
  190.     filter: blur(40px);
  191.     position: absolute;
  192.     border-radius: 200px;
  193. }
  194. .nav-abs.active {
  195.     color: {{centreGroupe.centregroupecss.color1}};
  196.     background-color: {{centreGroupe.centregroupecss.bg1}};
  197.     font-weight: bold;
  198. }
  199. .nav-abs {
  200.     border-radius: 20px 20px 0px 0px;
  201.     display: block;
  202.     padding: 0.5rem 1rem;
  203.     background-color: #fff;
  204.     font-weight: bold;
  205.     color: {{centreGroupe.centregroupecss.bg1}};
  206. }
  207. .nav-abs1.active {
  208.     color: {{centreGroupe.centregroupecss.color1}};
  209.     background-color: {{centreGroupe.centregroupecss.bg1}};
  210.     font-weight: bold;
  211. }
  212. .nav-abs1 {
  213.     border-radius: 61px;
  214.     padding: 0px 25px;
  215.     margin: 10px;
  216.     box-shadow: 0px 3px 6px #00000029;
  217.     border: 3px solid {{centreGroupe.centregroupecss.bg1}};
  218.     font-weight: bold;
  219.     color: {{centreGroupe.centregroupecss.bg1}};
  220.     display: flex;
  221.     align-items: center;
  222. }
  223. .nav-abs2.active {
  224.     color: {{centreGroupe.centregroupecss.color2}};
  225.     background-color: {{centreGroupe.centregroupecss.bg2}};
  226.     font-weight: bold;
  227. }
  228. .nav-abs2 {
  229.     border-radius: 61px;
  230.     padding: 0px 25px;
  231.     margin: 10px;
  232.     box-shadow: 0px 3px 6px #00000029;
  233.     border: 3px solid {{centreGroupe.centregroupecss.bg2}};
  234.     font-weight: bold;
  235.     color: {{centreGroupe.centregroupecss.bg2}};
  236.     display: flex;
  237.     align-items: center;
  238. }
  239. .nav-abs2.hover {
  240.     background-color: {{centreGroupe.centregroupecss.bg2}};
  241. }
  242. .nav-abs3.active {
  243.     color: #fff;
  244.     background-color: #061847;
  245.     font-weight: bold;
  246. }
  247. .nav-abs3 {
  248.     border-radius: 61px;
  249.     padding: 0px 25px;
  250.     margin: 10px;
  251.     box-shadow: 0px 3px 6px #00000029;
  252.     border: 3px solid #061847;
  253.     font-weight: bold;
  254.     color: #061847;
  255.     display: flex;
  256.     align-items: center;
  257. }
  258. .nav-abs3.hover {
  259.     background-color: #061847;
  260. }
  261. .PN-footer {
  262.     background-color: {{centreGroupe.centregroupecss.bg1}};
  263.     color: {{centreGroupe.centregroupecss.color1}};
  264. }
  265. .dataTables_filter input {
  266.     border-radius: 50px 50px 50px 50px !important;
  267.     padding: 0.5rem 1rem !important;
  268.     background-color: #fff !important;
  269.     font-weight: bold;
  270.     color: {{centreGroupe.centregroupecss.bg3}};
  271.     border: 2px solid {{centreGroupe.centregroupecss.bg2}} !important;
  272. }
  273. .dataTables_filter label {
  274.     color: {{centreGroupe.centregroupecss.bg2}};
  275.     font-weight: bold;
  276. }
  277. .dataTables_length label {
  278.     color: {{centreGroupe.centregroupecss.bg2}};
  279.     font-weight: bold;
  280. }
  281. .dataTables_length select {
  282.     color: {{centreGroupe.centregroupecss.bg2}};
  283.     font-weight: bold;
  284.     border-radius: 50px 50px 50px 50px !important;
  285.     border: 2px solid {{centreGroupe.centregroupecss.bg2}} !important;
  286. }
  287. .dataTables_paginate a {
  288.     color: {{centreGroupe.centregroupecss.bg2}} !important;
  289.     font-weight: bold;
  290. }
  291. .dataTables_info {
  292.     color: {{centreGroupe.centregroupecss.bg2}} !important;
  293.     font-weight: bold;
  294. }
  295. .paginate_button.current {
  296.     background-color: {{centreGroupe.centregroupecss.bg2}} !important;
  297.     font-weight: bold;
  298.     color: {{centreGroupe.centregroupecss.color2}} !important;
  299. }
  300. .hjj {
  301.     width: 18% !important;
  302. }
  303. </style>
  304. <body class="fix-header ">
  305.     <!-- ============================================================== -->
  306.     <!-- Preloader - style you can find in spinners.css -->
  307.     <!-- ============================================================== -->
  308.     <div class="preloader" id="preloader">
  309.         <svg class="circular" viewBox="25 25 50 50">
  310.             <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" />
  311.         </svg>
  312.     </div>
  313.     <!-- ============================================================== -->
  314.     <!-- Main wrapper - style you can find in pages.scss -->
  315.     <!-- ============================================================== -->
  316.     <div id="main-wrapper">
  317.         <!-- ============================================================== -->
  318.         <!-- Topbar header - style you can find in pages.scss -->
  319.         <!-- ============================================================== -->
  320.         <!-- ============================================================== -->
  321.         <!-- Page wrapper  -->
  322.         <!-- ============================================================== -->
  323.         <div class="page-wrapper " id="top">
  324.             <!-- ============================================================== -->
  325.             <!-- Container fluid  -->
  326.             <!-- ============================================================== -->
  327.             {# <img class="image_fond" src='../public/images/alessio-soggetti-PdGBci-4jR8-unsplash.jpg' alt=""> #}
  328.             {% include "public/modal_contact.html.twig" %}
  329.             {% include "public/modal_cookie.html.twig" %}
  330.             <div class="modal" id="ModalConnexion" tabindex="-1" role="dialog" aria-labelledby="ModalLabel1">
  331.                 <div class="modal-dialog" role="document">
  332.                     <div class="modal-content" style="border-radius: 35px;">
  333.                         <div class="modal-body text-center p-t-0"
  334.                             style="background-color: {{centreGroupe.centregroupecss.bg1}};display: flex;flex-direction: column;border-radius: 25px;"
  335.                             id="modal_detail">
  336.                             <div class="text-right">
  337.                                 <i class="mdi mdi-close-circle-outline PN-color1 mdi-36px" data-dismiss="modal"></i>
  338.                             </div>
  339.                             <div id="div_connexion">
  340.                                 <div>
  341.                                     <span class="mdi mdi-account PN-color1 " style="font-size:100px"></span>
  342.                                 </div>
  343.                                 <form method="post" action="{{ path('app_login_pro') }}">
  344.                                     <h2 class="PN-Black PN-color1">Connexion</h2>
  345.                                     <div style="margin-left: 65px;margin-right: 65px">
  346.                                         <p class="PN-Bold PN-color1" style="font-size:20px">Identifiant/Email</p>
  347.                                         <input type="text" class="form-control"
  348.                                             style="border-radius: 23px;height: 50px;" id="username" name="username"
  349.                                             placeholder="" value="">
  350.                                     </div>
  351.                                     <div style="margin-left: 65px;margin-right: 65px">
  352.                                         <p class="PN-Bold PN-color1" style="font-size:20px">Mot de passe</p>
  353.                                         <input type="password" class="form-control"
  354.                                             style="border-radius: 23px;height: 50px;" id="mot_de_passe"
  355.                                             name="mot_de_passe" value="" autocomplete>
  356.                                     </div>
  357.                                     {% if app.request.get('errorLogin') %}
  358.                                         <span class="text-danger">La connexion n'a pas abouti, veuillez réessayer.</span>
  359.                                     {% endif %}
  360.                                     <div class="m-t-20">
  361.                                         <button type="submit" class="btn btn-rounded"
  362.                                             style="font-size: 15px; border: 3px solid white;font-weight: bold;background-color: transparent;">
  363.                                             <span style="display: flex;align-items: center; color: white"> Connexion
  364.                                                 <i class="mdi mdi-chevron-right-circle mdi-24px p-l-10"></i></span>
  365.                                         </button>
  366.                                     </div>
  367.                                     <input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
  368.                                 </form>
  369.                                 <div class="m-t-10">
  370.                                     <a href="#" id="btn_oublie" class="PN-color1">Mot de passe oublié ?</a>
  371.                                     <br>
  372.                                     <a href="{{ path('formulaire_compte') }}" class="PN-color1">Créer un compte</a>
  373.                                 </div>
  374.                             </div>
  375.                             <div id="div_mot_de_passe_oublie" style="display: none">
  376.                                 <form method="post" action="{{ path('mot_de_passe_oublie') }}">
  377.                                     <div>
  378.                                         <span class="mdi mdi-lock-reset PN-color1 " style="font-size:100px"></span>
  379.                                     </div>
  380.                                     <h2 class="PN-Black PN-color1">Mot de passe oublié</h2>
  381.                                     <p class="PN-Black PN-color1">Entrez votre adresse e-mail et les instructions vous
  382.                                         seront
  383.                                         envoyées par courrier électronique !</p>
  384.                                     <div style="margin-left: 65px;margin-right: 65px">
  385.                                         <p class="PN-Bold PN-color1" style="font-size:20px">Email</p>
  386.                                         <input type="text" class="form-control"
  387.                                             style="border-radius: 23px;height: 50px;" id="email_oublie"
  388.                                             name="email_oublie" placeholder="">
  389.                                     </div>
  390.                                     <div class="m-t-20">
  391.                                         <button class="btn btn-rounded"
  392.                                             style="font-size: 15px; border: 3px solid white;font-weight: bold;background-color: transparent;">
  393.                                             <span style="display: flex;align-items: center; color: white"> Réinitialiser
  394.                                                 <i class="mdi mdi-chevron-right-circle mdi-24px p-l-10"></i></span>
  395.                                         </button>
  396.                                     </div>
  397.                                     <div class="m-t-10">
  398.                                         <a href="#" id="btn_connexion" class="PN-color1">Connexion</a>
  399.                                     </div>
  400.                                 </form>
  401.                             </div>
  402.                         </div>
  403.                     </div>
  404.                 </div>
  405.             </div>
  406.             <div class="container-fluid p-0">
  407.                 <div>
  408.                     <input type="hidden" value="{{ app.request.get('id') }}" id="iframeCentreId">
  409.                     {% if app.request.get('iframe') != true %}
  410.                         <div class="p-l-20 p-r-20 " style="background-color:#d6e8f6">
  411.                         <nav class="navbar navbar-expand-md navbar-light p-l-0">
  412.                             <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
  413.                                 data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false"
  414.                                 aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
  415.                             <!-- Logo will be here -->
  416.                             <a class="navbar-brand pl-lg-5" href="{{ path('index')}}">
  417.                                 <img src={% if parametreCentreGroupe.pcgcheminlogo %} {% set
  418.                                     logo = asset("/uploads/dataCentre/")~centreGroupe.id~"/"~parametreCentreGroupe.pcgcheminlogo
  419.                                     %} "{{logo}}" {% else %} "{{ asset("public/images/AUTOBILAN_logo.png")}}" {% endif %}
  420.                                     alt="logo_{{centreGroupe.cgnom}}"
  421.                                     style="width:{{parametreCentreGroupe.pcgtaillelogo|default('300')}}px;" /></a>
  422.                                     {% if app.request.attributes.get('_route') != 'index' %}
  423.                                         <div class="PN-Black text-right" style="width: 400%;">
  424.                                             <h1 style="color: {{centreGroupe.centregroupecss.bg1}}">{{centreGroupe.cgnom}}</h1>
  425.                                         </div>
  426.                                     {% endif %}
  427.                                     
  428.                             <!-- This is the navigation menu -->
  429.                             <div class="collapse navbar-collapse" id="navbarNavDropdown">
  430.                                 <ul class="navbar-nav ml-auto stylish-nav">
  431.                                     {% if app.user %}
  432.                                     <li class="nav-item dropdown">
  433.                                         <a class="m-t-5 btn font-13 PN-Bold PN-colorbg1" data-toggle="dropdown"
  434.                                             aria-haspopup="true"
  435.                                             style="width:100%;color: #061847;font-size: 25px; display: flex;    align-items: center;justify-content: center;">{{app.user.cliprenom}}
  436.                                             {{app.user.clinom}}<i class="mdi mdi-account  PN-colorbg1"
  437.                                                 title="Espace client en compte" style="font-size: 40px;"></i></a>
  438.                                         <div class="dropdown-menu dropdown-menu-right  bounceInDown p-20"
  439.                                             style="background-color: {{centreGroupe.centregroupecss.bg1}};color: {{centreGroupe.centregroupecss.color1}};width: 330px;">
  440.                                             <div class="m-b-20">
  441.                                                 <a href="{{ path('index')}}" class="text-white PN-Bold ">Accueil</a>
  442.                                             </div>
  443.                                             {# <div class="m-b-20">
  444.                                                 {% for centre in centreGroupe.centres %}
  445.                                                 <form id="FormCentreMenu{{centre.id}}"
  446.                                                     action="{{path('prendre_rdv_pro')}}" method="post">
  447.                                                     <input type="hidden" name="id" value="{{centre.id}}" />
  448.                                                 </form>
  449.                                                 <a href="javascript:void(0)"
  450.                                                     onclick='document.getElementById("FormCentreMenu{{centre.id}}").submit()'
  451.                                                     class="text-white PN-Bold">Prendre un rendez-vous</a>
  452.                                                 {% endfor %}
  453.                                             </div> #}
  454.                                             <div class="m-b-20">
  455.                                                 <a href="{{ path('mes_vehicules')}}" class="text-white PN-Bold">Mes
  456.                                                     véhicules</a>
  457.                                             </div>
  458.                                             <div class="m-b-20">
  459.                                                 <a href="{{ path('mes_reservations')}}" class="text-white PN-Bold">Mes
  460.                                                     réservations</a>
  461.                                             </div>
  462.                                             <div class="m-b-40">
  463.                                                 <a href="#" class="text-white PN-Bold" id="contact_menu">Contact</a>
  464.                                             </div>
  465.                                             <div class="m-b-20">
  466.                                                 <a href="{{ path('app_logout_pro')}}"
  467.                                                     class="text-white PN-Bold">Déconnexion - {{app.user.cliprenom}}
  468.                                                     {{app.user.clinom}} <i class="mdi mdi-account"
  469.                                                         title="Espace client en compte"></i></a>
  470.                                             </div>
  471.                                         </div>
  472.                                     </li>
  473.                                     {% else %}
  474.                                     <li class="nav-item"> <a class="m-t-5 btn font-13" id="btn_compte"
  475.                                             style="width:100%;"><i class="mdi mdi-account  PN-colorbg1"
  476.                                                 title="Espace client en compte" style="font-size: 40px;"></i></a></li>
  477.                                     <li class="nav-item dropdown"> <a class="m-t-5 btn font-13" href="#"
  478.                                             style="width:100%;"><i class="mdi mdi-menu  PN-colorbg1" title="Menu"
  479.                                                 style="font-size: 40px;"></i></a>
  480.                                         <div class="dropdown-menu dropdown-menu-right  bounceInDown p-20 "
  481.                                             style="background-color: {{centreGroupe.centregroupecss.bg1}};color: {{centreGroupe.centregroupecss.color1}};width: 330px;">
  482.                                             <div class="m-b-20">
  483.                                                 <a href="{{ path('index')}}" class="text-white PN-Bold ">Accueil</a>
  484.                                             </div>
  485.                                             {# <div class="m-b-20">
  486.                                                 {% for centre in centreGroupe.centres %}
  487.                                                 <form id="FormCentreMenu{{centre.id}}" action="{{path('prendre_rdv')}}"
  488.                                                     method="post">
  489.                                                     <input type="hidden" name="id" value="{{centre.id}}" />
  490.                                                 </form>
  491.                                                 <a href="javascript:void(0)"
  492.                                                     onclick='document.getElementById("FormCentreMenu{{centre.id}}").submit()'
  493.                                                     class="text-white PN-Bold">Prendre un rendez-vous</a>
  494.                                                 {% endfor %}
  495.                                             </div> #}
  496.                                             <div class="m-b-20">
  497.                                                 <a href="javascript:void(0)" class="text-white PN-Bold"
  498.                                                     id="contact_menu">Contact</a>
  499.                                             </div>
  500.                                             <div class="m-b-20">
  501.                                                 <a href="javascript:void(0)" class="text-white PN-Bold"
  502.                                                     id="btn_compte1">Espace Pro <i class="mdi mdi-account mdi-18px"
  503.                                                         title="Espace client en compte"></i></a>
  504.                                             </div>
  505.                                         </div>
  506.                                     </li>
  507.                                     {% endif %}
  508.                                 </ul>
  509.                             </div>
  510.                         </nav>
  511.                     </div>
  512.                     {% endif %}
  513.                     {% block body %}
  514.                     {% endblock %}
  515.                 </div>
  516.                 <!-- footer -->
  517.                 <!-- ============================================================== -->
  518.                 <a class="bt-top btn btn-circle btn-lg btn-info"
  519.                     style="background:{{centreGroupe.centregroupecss.bg2}};border: 1px solid {{centreGroupe.centregroupecss.bg2}} ;"
  520.                     href="#top"><i class="ti-arrow-up"></i></a>
  521.                 {% if app.request.get('iframe') != true %}
  522.                     <footer class="PN-footer row" style="padding:50px 0 30px">
  523.                     <div class="fix-width">
  524.                         <div class="row p-l-20 p-r-20">
  525.                             <div class="col-lg col-xs-12 p-b-20">
  526.                                 <ul class="footer-link list-icons PN-Medium text-white">
  527.                                     <li><a class="PN-color1" href="{{ path('mentions_legales')}}"> Mentions légales</a>
  528.                                     </li>
  529.                                     <li><a class="PN-color1" href="{{ path('politiques')}}"> Politique de
  530.                                             confidentialité</a></li>
  531.                                     <li><a class="PN-color1" href="{{ path('cookies')}}"> Cookies et technologies
  532.                                             similaires</a></li>
  533.                                     <li><a class="PN-color1" href="{{ path('rgpd')}}"> Politique RGPD</a></li>
  534.                                     <li><a class="PN-color1" href="#" id="contact_footer"> Contact</a></li>
  535.                                     <li><a class="PN-color1" href="{{ path('dashboard')}}"> Administration</a>
  536.                                     </li>
  537.                                 </ul>
  538.                             </div>
  539.                             <div class="col-lg col-xs-12">
  540.                                <p class="PN-color1">{{parametreCentreGroupe.pcgensavoirplus|raw}}</p>
  541.                                 
  542.                             </div>
  543.                             <div class="col-lg col-xs-12 ">
  544.                                 {# <img src="{{ asset("public/images/admin-text-dark.png")}}" alt="logo" /> #}
  545.                                 <img src="/adminMercureRdv/assets/images/AUTOBILAN_logo_blanc.png" width="200px"
  546.                                     alt="homepage" class="light-logo m-b-10 m-l-10">
  547.                                 <br>
  548.                                 <a href="https://www.autobilan-systems.com/" target="_blank"
  549.                                     class="btn btn-outline-custom-bleu btn-rounded" id=""
  550.                                     style="font-size: 15px;background-color: white">
  551.                                     <span style="display: flex;align-items: center;color:#061847"> Devenez partenaire
  552.                                         <i class="mdi mdi-open-in-new mdi-24px"></i></span>
  553.                                 </a>
  554.                                 <br>
  555.                                 {% set param_centre = centreGroupe.centres|first.ctrparametrecentre %}
  556.                                 {% if param_centre.pcurltwitter or param_centre.pcurlgoogle or
  557.                                 param_centre.pcurlfacebook or param_centre.pcurlinstagram %}
  558.                                 <p class="PN-Semibold m-t-20 text-white" style="display: flex;align-items: center;">
  559.                                     Suivez-nous !
  560.                                     {% if param_centre.pcurlfacebook %}
  561.                                     <a href="https://www.facebook.com/{{param_centre.pcurlfacebook}}" target="_blank" class="text-white"><i
  562.                                             class="mdi mdi-facebook mdi-48px"></i></a>
  563.                                     {% endif %}
  564.                                     {% if param_centre.pcurltwitter %}
  565.                                     <a href="https://twitter.com/{{param_centre.pcurltwitter}}" target="_blank" class="text-white"><i
  566.                                             class="mdi mdi-twitter mdi-48px"></i></a>
  567.                                     {% endif %}
  568.                                     {% if param_centre.pcurlgoogle %}
  569.                                     <a href="https://www.google.com/maps?cid={{param_centre.pcurlgoogle}}" target="_blank" class="text-white"><i
  570.                                             class="mdi mdi-google-plus mdi-48px"></i></a>
  571.                                     {% endif %}
  572.                                     {% if param_centre.pcurlinstagram %}
  573.                                         <a href="https://www.instagram.com/{{param_centre.pcurlinstagram}}" target="_blank" class="text-white"><i
  574.                                                     class="mdi mdi-instagram mdi-48px"></i></a>
  575.                                     {% endif %}
  576.                                 </p>
  577.                                 {% endif %}
  578.                                 <p>
  579.                                 </p>
  580.                             </div>
  581.                             {# <div class="clearfix"></div> #}
  582.                             <div class="col-md-12 sub-footer text-center">
  583.                                 <span>© {{ "now"|date("Y") }} <a class="text-white" href="autobilansystems.com"
  584.                                         target="_blank">Auto bilan systems</a></span>
  585.                             </div>
  586.                         </div>
  587.                     </div>
  588.                 </footer>
  589.                 {% endif %}
  590.             </div>
  591.             <!-- ============================================================== -->
  592.             <!-- End Container fluid  -->
  593.             <!-- ============================================================== -->
  594.         </div>
  595.         <!-- ============================================================== -->
  596.         <!-- End Page wrapper  -->
  597.         <!-- ============================================================== -->
  598.     </div>
  599.     <!-- ============================================================== -->
  600.     <!-- End Wrapper -->
  601.     <!-- ============================================================== -->
  602.     <!-- ============================================================== -->
  603.     <!-- All Jquery -->
  604.     <!-- ============================================================== -->
  605.     <script src="{{ asset("public/js/jquery.min.js")}}"></script>
  606.     <script src="{{ asset('public/js/jquery.star-rating-svg.js') }}"></script>
  607.     <!-- Bootstrap tether Core JavaScript -->
  608.     <script src="{{ asset("public/bootstrap/js/popper.min.js")}}"></script>
  609.     <script src="{{ asset("public/bootstrap/js/bootstrap.min.js")}}"></script>
  610.     <!--Wave Effects -->
  611.     <script src="{{ asset("public/js/waves.js")}}"></script>
  612.     <!--stickey kit -->
  613.     <script src="{{ asset("public/js/sticky-kit.min.js")}}"></script>
  614.     <!-- jQuery for carousel -->
  615.     <script src="{{ asset("public/assets/owl.carousel/owl.carousel.min.js")}}"></script>
  616.     <!--Custom JavaScript -->
  617.     <script src="{{ asset("public/js/custom.min.js")}}"></script>
  618.     <script src="{{ asset("adminMercureRdv/assets/plugins/sweetalert/sweetalert.min.js")}}"></script>
  619.     <script src="{{ asset("adminMercureRdv/assets/plugins/styleswitcher/jQuery.style.switcher.js")}}"></script>
  620.     <script src="{{ asset("adminMercureRdv/assets/plugins/select2/dist/js/select2.full.min.js")}}"
  621.         type="text/javascript"></script>
  622.     <script src="{{ asset("adminMercureRdv/assets/plugins/toast-master/js/jquery.toast.js")}}"></script>
  623.     {# On vérifie si au moins un des trois tags est renseigné #}
  624.     {% set tag1 = parametreCentreGroupe.pcggoogleanalytics %}
  625.     {% set tag2 = parametreCentreGroupe.pcggoogleanalytics2 %}
  626.     {% set tag3 = parametreCentreGroupe.pcggoogleanalytics3 %}
  627.     {% if tag1 or tag2 or tag3 %}
  628.         {# Détermination du tag de lancement (le premier non vide) #}
  629.         {% set main_tag = tag1 ?: (tag2 ?: tag3) %}
  630.         <script async src="https://www.googletagmanager.com/gtag/js?id={{ main_tag }}"></script>
  631.         <script>
  632.             window.dataLayer = window.dataLayer || [];
  633.             function gtag(){dataLayer.push(arguments);}
  634.             gtag('js', new Date());
  635.             {# On enregistre chaque tag présent en BDD #}
  636.             {% if tag1 %} gtag('config', '{{ tag1 }}'); {% endif %}
  637.             {% if tag2 %} gtag('config', '{{ tag2 }}'); {% endif %}
  638.             {% if tag3 %} gtag('config', '{{ tag3 }}'); {% endif %}
  639.         </script>
  640.     {% endif %}
  641.     <script>
  642.         $( document ).ready(function() {
  643.             const queryString = window.location.search;
  644.             const urlParams = new URLSearchParams(queryString);
  645.             const error = urlParams.get('errorLogin');
  646.             if (error) {
  647.                 $('#ModalConnexion').modal("show");
  648.             }
  649.         });
  650.         const monCookie = getCookie('UtilisationCookie');
  651.         if (!monCookie) {
  652.             $('#ModalCookie').modal("show");
  653.         }
  654.         function AccepteCookie() {
  655.             setCookie('UtilisationCookie', '1', 365);
  656.             $('#ModalCookie').modal("hide");
  657.         }
  658.         $('#contact_footer').on('click', function () {
  659.             $('#ModalContact').modal("show");
  660.         })
  661.         $('#contact_menu').on('click', function () {
  662.             $('#ModalContact').modal("show");
  663.         })
  664.         $('#btn_compte').on('click', function () {
  665.             $('#ModalConnexion').modal("show");
  666.         })
  667.         $('#btn_compte1').on('click', function () {
  668.             $('#ModalConnexion').modal("show");
  669.         })
  670.         $('#btn_oublie').on('click', function () {
  671.             $('#div_mot_de_passe_oublie').css("display", "block");
  672.             $('#div_connexion').css("display", "none");
  673.         })
  674.         $('#btn_connexion').on('click', function () {
  675.             $('#div_mot_de_passe_oublie').css("display", "none");
  676.             $('#div_connexion').css("display", "block");
  677.         })
  678.         function envoi_email_contact() {
  679.             if ($("#couriel_contact").val() == '') {
  680.                 Swal.fire({
  681.                     type: 'error', // "success", "c", "warning", "info", "question"
  682.                     confirmButtonColor: '#3085d6',
  683.                     title: 'Oups !',
  684.                     text: "Vous devez saisir une adresse email",
  685.                 })
  686.                 return false;
  687.             }
  688.             if ($("#nom_contact").val() == '') {
  689.                 Swal.fire({
  690.                     type: 'error',
  691.                     confirmButtonColor: '#3085d6',
  692.                     title: 'Oups !',
  693.                     text: "Vous devez saisir un nom",
  694.                 })
  695.                 return false;
  696.             }
  697.             if ($("#sujet_contact").val() == '') {
  698.                 Swal.fire({
  699.                     type: 'error',
  700.                     confirmButtonColor: '#3085d6',
  701.                     title: 'Oups !',
  702.                     text: "Vous devez saisir un sujet",
  703.                 })
  704.                 return false;
  705.             }
  706.             if ($("#message_contact").val() == '') {
  707.                 Swal.fire({
  708.                     type: 'error',
  709.                     confirmButtonColor: '#3085d6',
  710.                     title: 'Oups !',
  711.                     text: "Vous devez saisir un message",
  712.                 })
  713.                 return false;
  714.             }
  715.             if ($("#condition_contact").prop('checked') == false) {
  716.                 Swal.fire({
  717.                     type: 'error',
  718.                     confirmButtonColor: '#3085d6',
  719.                     title: 'Oups !',
  720.                     text: "Vous devez cocher la case : je suis pas un robot",
  721.                 })
  722.                 return false;
  723.             }
  724.             $.ajax({
  725.                 url: "{{ path('envoi_email_contact') }}",
  726.                 type: "POST",
  727.                 data: {
  728.                     'email': $("#couriel_contact").val(),
  729.                     'nom': $("#nom_contact").val(),
  730.                     'objet': $("#sujet_contact").val(),
  731.                     'message': $("#message_contact").val(),
  732.                 },
  733.                 success: function (data) {
  734.                     Swal.fire({
  735.                         type: 'success',
  736.                         confirmButtonColor: '#3085d6',
  737.                         //title: 'Oups !',
  738.                         text: "Votre message a bien été envoyé!",
  739.                         //           footer: 'Veuillez contacter votre commercial pour activé cette opition',
  740.                         //  backdrop: '#df0501f5',
  741.                     })
  742.                     $('#ModalContact').modal("hide");
  743.                     $("#couriel_contact").val('');
  744.                     $("#nom_contact").val('');
  745.                     $("#sujet_contact").val('');
  746.                     $("#message_contact").val('');
  747.                     $("#condition_contact").prop('checked', false)
  748.                 }
  749.             });
  750.         }
  751.         function message_appel_centre(tel) {
  752.             Swal.fire({
  753.                 type: 'error',
  754.                 confirmButtonColor: '#3085d6',
  755.                 title: 'Appeler au ' + tel + ' !',
  756.                 text: "Pour bénéficier de cette prestation, veuillez prendre contact avec le centre afin de fixer un rendez-vous.",
  757.             })
  758.         }
  759.         function getCookie(name) {
  760.             const cookies = document.cookie.split('; ');
  761.             for (const cookie of cookies) {
  762.                 const [cookieName, cookieValue] = cookie.split('=');
  763.                 if (cookieName === name) {
  764.                     return decodeURIComponent(cookieValue);
  765.                 }
  766.             }
  767.             return null; // Retourne null si le cookie n'est pas trouvé
  768.         }
  769.         function setCookie(name, value, daysToExpire) {
  770.             const date = new Date();
  771.             date.setTime(date.getTime() + (daysToExpire * 24 * 60 * 60 * 1000));
  772.             const expires = 'expires=' + date.toUTCString();
  773.             document.cookie = name + '=' + encodeURIComponent(value) + ';' + expires + ';path=/';
  774.         }
  775.     </script>
  776.     {% block javascripts %}{% endblock %}
  777. </body>
  778. </html>