<!DOCTYPE html>
<html lang="fr">
{% set centreGroupe = getInfoCentreGroupe() %}
{% set parametreCentreGroupe = getParametreCentreGroupe() %}
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content=" {{centreGroupe.centres|first.ctrnom}} - Votre sécurité routière garantie.
Confiez-nous votre véhicule pour une expertise professionnelle et rapide.
Bénéficiez de l'assurance d'une conduite en toute confiance. Prenez rendez-vous dès maintenant !">
<meta name="author" content="Autobilan-systems">
<!-- Favicon icon -->
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset("favicon.png")}}">
<link rel="apple-touch-icon" sizes="120x120" href="{{ asset("apple-touch-icon-120x120-precomposed.png")}}" />
<link rel="apple-touch-icon" sizes="152x152" href="{{ asset("apple-touch-icon-152x152-precomposed.png")}}" />
<title>{% block title %}{{centreGroupe.centres|first.ctrnom}},
{{centreGroupe.centres|first.ctradresse.adrcodepostal}},
{{centreGroupe.centres|first.ctradresse.adrville}}{% endblock %}</title>
<!-- Bootstrap Core CSS -->
<link href="{{ asset("public/bootstrap/css/bootstrap.min.css")}}" rel="stylesheet">
<!-- owl slider CSS -->
<link href="{{ asset("public/assets/owl.carousel/owl.carousel.min.css")}}" rel="stylesheet">
<link href="{{ asset("public/assets/owl.carousel/owl.theme.default.css")}}" rel="stylesheet">
<link href="{{ asset("adminMercureRdv/assets/plugins/select2/dist/css/select2.min.css")}}" rel="stylesheet"
type="text/css" />
<link href="{{ asset("adminMercureRdv/assets/plugins/select2/dist/css/select2-bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
<!-- Custom CSS -->
<link href="{{ asset("public/css/style.css")}}" rel="stylesheet">
<!-- Fonts CSS -->
<link href="{{ asset("public/css/fonts.css")}}" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@7.2.96/css/materialdesignicons.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{ asset("public/css/star-rating-svg.css")}}">
<link href="{{ asset("adminMercureRdv/assets/plugins/toast-master/css/jquery.toast.css")}}" rel="stylesheet">
{% block stylesheets %}{% endblock %}
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<style>
.form-control {
color: {{centreGroupe.centregroupecss.bg1}};
}
.fc-col-header-cell-cushion,
.fc-timegrid-slot-label-cushion {
color: white
}
.PN-Light {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 300;
font-style: normal;
}
.PN-Regular {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 400;
font-style: normal;
}
.PN-Medium {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 500;
font-style: normal;
}
.PN-Semibold {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 600;
font-style: normal;
}
.PN-Bold {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 700;
font-style: normal;
}
.PN-Extrabold {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 800;
font-style: normal;
}
.PN-Black {
/* font-family: "proxima-nova", sans-serif; */
font-weight: 900;
font-style: normal;
}
.PN-blue {
color: #061847;
}
.PN-color1 {
color: {{centreGroupe.centregroupecss.color1}} !important;
}
.PN-color2 {
color: {{centreGroupe.centregroupecss.color2}} !important;
}
.PN-color3 {
color: {{centreGroupe.centregroupecss.color3}} !important;
}
.PN-colorbg1 {
color: {{centreGroupe.centregroupecss.bg1}} !important;
}
.PN-colorbg2 {
color: {{centreGroupe.centregroupecss.bg2}} !important;
}
.PN-colorbg3 {
color: {{centreGroupe.centregroupecss.bg3}} !important;
}
.PN-blue-clair {
color: #0048FF;
}
.PN-bg1 {
background-color: {{centreGroupe.centregroupecss.bg1}};
color: {{centreGroupe.centregroupecss.color1}} !important;
border-color: {{centreGroupe.centregroupecss.bg1}} !important;
}
.PN-bg2 {
background-color: {{centreGroupe.centregroupecss.bg2}};
color: {{centreGroupe.centregroupecss.color2}} !important;
border-color: {{centreGroupe.centregroupecss.bg2}} !important;
}
.PN-bg3 {
background-color: {{centreGroupe.centregroupecss.bg3}};
color: {{centreGroupe.centregroupecss.color3}} !important;
border-color: {{centreGroupe.centregroupecss.bg3}} !important;
}
.image_fond {
background: transparent url('../public/images/alessio-soggetti-PdGBci-4jR8-unsplash-o.jpg') 0% 0% no-repeat padding-box;
background-size: cover;
width: 100%;
}
.btn-outline-custom-bleu {
color: {{centreGroupe.centregroupecss.bg1}};
border-color: {{centreGroupe.centregroupecss.bg1}};
border: 3px solid;
font-weight: bold;
}
.btn-outline-custom-bleu-clair {
color: {{centreGroupe.centregroupecss.color3}};
border-color: {{centreGroupe.centregroupecss.bg3}};
border: 3px solid;
font-weight: bold;
background-color: {{centreGroupe.centregroupecss.bg3}};
}
.btn-outline-custom-bg1 {
color: {{centreGroupe.centregroupecss.bg1}};
border-color: {{centreGroupe.centregroupecss.bg1}};
border: 3px solid;
font-weight: bold;
{
# background-color: {{centreGroupe.centregroupecss.bg1}};
#
}
}
.btn-outline-custom-bg1.hover {
background-color: {{centreGroupe.centregroupecss.bg2}};
color: {{centreGroupe.centregroupecss.color2}};
}
.btn-outline-custom-bg2 {
color: {{centreGroupe.centregroupecss.color2}};
border-color: {{centreGroupe.centregroupecss.bg2}};
border: 3px solid;
font-weight: bold;
background-color: {{centreGroupe.centregroupecss.bg2}};
}
.btn-outline-custom-bg3 {
color: {{centreGroupe.centregroupecss.bg3}};
border-color: {{centreGroupe.centregroupecss.bg3}};
border: 3px solid;
font-weight: bold;
background-color: {{centreGroupe.centregroupecss.bg3}};
}
.cercle {
left: 50%;
width: 300px;
height: 300px;
opacity: 0.62;
background: #4908CA 0% 0% no-repeat padding-box;
filter: blur(40px);
position: absolute;
border-radius: 200px;
}
.cercle1 {
left: 40%;
top: 15%;
width: 400px;
height: 400px;
opacity: 0.62;
background: #00C2FF 0% 0% no-repeat padding-box;
filter: blur(40px);
position: absolute;
border-radius: 200px;
}
.nav-abs.active {
color: {{centreGroupe.centregroupecss.color1}};
background-color: {{centreGroupe.centregroupecss.bg1}};
font-weight: bold;
}
.nav-abs {
border-radius: 20px 20px 0px 0px;
display: block;
padding: 0.5rem 1rem;
background-color: #fff;
font-weight: bold;
color: {{centreGroupe.centregroupecss.bg1}};
}
.nav-abs1.active {
color: {{centreGroupe.centregroupecss.color1}};
background-color: {{centreGroupe.centregroupecss.bg1}};
font-weight: bold;
}
.nav-abs1 {
border-radius: 61px;
padding: 0px 25px;
margin: 10px;
box-shadow: 0px 3px 6px #00000029;
border: 3px solid {{centreGroupe.centregroupecss.bg1}};
font-weight: bold;
color: {{centreGroupe.centregroupecss.bg1}};
display: flex;
align-items: center;
}
.nav-abs2.active {
color: {{centreGroupe.centregroupecss.color2}};
background-color: {{centreGroupe.centregroupecss.bg2}};
font-weight: bold;
}
.nav-abs2 {
border-radius: 61px;
padding: 0px 25px;
margin: 10px;
box-shadow: 0px 3px 6px #00000029;
border: 3px solid {{centreGroupe.centregroupecss.bg2}};
font-weight: bold;
color: {{centreGroupe.centregroupecss.bg2}};
display: flex;
align-items: center;
}
.nav-abs2.hover {
background-color: {{centreGroupe.centregroupecss.bg2}};
}
.nav-abs3.active {
color: #fff;
background-color: #061847;
font-weight: bold;
}
.nav-abs3 {
border-radius: 61px;
padding: 0px 25px;
margin: 10px;
box-shadow: 0px 3px 6px #00000029;
border: 3px solid #061847;
font-weight: bold;
color: #061847;
display: flex;
align-items: center;
}
.nav-abs3.hover {
background-color: #061847;
}
.PN-footer {
background-color: {{centreGroupe.centregroupecss.bg1}};
color: {{centreGroupe.centregroupecss.color1}};
}
.dataTables_filter input {
border-radius: 50px 50px 50px 50px !important;
padding: 0.5rem 1rem !important;
background-color: #fff !important;
font-weight: bold;
color: {{centreGroupe.centregroupecss.bg3}};
border: 2px solid {{centreGroupe.centregroupecss.bg2}} !important;
}
.dataTables_filter label {
color: {{centreGroupe.centregroupecss.bg2}};
font-weight: bold;
}
.dataTables_length label {
color: {{centreGroupe.centregroupecss.bg2}};
font-weight: bold;
}
.dataTables_length select {
color: {{centreGroupe.centregroupecss.bg2}};
font-weight: bold;
border-radius: 50px 50px 50px 50px !important;
border: 2px solid {{centreGroupe.centregroupecss.bg2}} !important;
}
.dataTables_paginate a {
color: {{centreGroupe.centregroupecss.bg2}} !important;
font-weight: bold;
}
.dataTables_info {
color: {{centreGroupe.centregroupecss.bg2}} !important;
font-weight: bold;
}
.paginate_button.current {
background-color: {{centreGroupe.centregroupecss.bg2}} !important;
font-weight: bold;
color: {{centreGroupe.centregroupecss.color2}} !important;
}
.hjj {
width: 18% !important;
}
</style>
<body class="fix-header ">
<!-- ============================================================== -->
<!-- Preloader - style you can find in spinners.css -->
<!-- ============================================================== -->
<div class="preloader" id="preloader">
<svg class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" />
</svg>
</div>
<!-- ============================================================== -->
<!-- Main wrapper - style you can find in pages.scss -->
<!-- ============================================================== -->
<div id="main-wrapper">
<!-- ============================================================== -->
<!-- Topbar header - style you can find in pages.scss -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Page wrapper -->
<!-- ============================================================== -->
<div class="page-wrapper " id="top">
<!-- ============================================================== -->
<!-- Container fluid -->
<!-- ============================================================== -->
{# <img class="image_fond" src='../public/images/alessio-soggetti-PdGBci-4jR8-unsplash.jpg' alt=""> #}
{% include "public/modal_contact.html.twig" %}
{% include "public/modal_cookie.html.twig" %}
<div class="modal" id="ModalConnexion" tabindex="-1" role="dialog" aria-labelledby="ModalLabel1">
<div class="modal-dialog" role="document">
<div class="modal-content" style="border-radius: 35px;">
<div class="modal-body text-center p-t-0"
style="background-color: {{centreGroupe.centregroupecss.bg1}};display: flex;flex-direction: column;border-radius: 25px;"
id="modal_detail">
<div class="text-right">
<i class="mdi mdi-close-circle-outline PN-color1 mdi-36px" data-dismiss="modal"></i>
</div>
<div id="div_connexion">
<div>
<span class="mdi mdi-account PN-color1 " style="font-size:100px"></span>
</div>
<form method="post" action="{{ path('app_login_pro') }}">
<h2 class="PN-Black PN-color1">Connexion</h2>
<div style="margin-left: 65px;margin-right: 65px">
<p class="PN-Bold PN-color1" style="font-size:20px">Identifiant/Email</p>
<input type="text" class="form-control"
style="border-radius: 23px;height: 50px;" id="username" name="username"
placeholder="" value="">
</div>
<div style="margin-left: 65px;margin-right: 65px">
<p class="PN-Bold PN-color1" style="font-size:20px">Mot de passe</p>
<input type="password" class="form-control"
style="border-radius: 23px;height: 50px;" id="mot_de_passe"
name="mot_de_passe" value="" autocomplete>
</div>
{% if app.request.get('errorLogin') %}
<span class="text-danger">La connexion n'a pas abouti, veuillez réessayer.</span>
{% endif %}
<div class="m-t-20">
<button type="submit" class="btn btn-rounded"
style="font-size: 15px; border: 3px solid white;font-weight: bold;background-color: transparent;">
<span style="display: flex;align-items: center; color: white"> Connexion
<i class="mdi mdi-chevron-right-circle mdi-24px p-l-10"></i></span>
</button>
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
</form>
<div class="m-t-10">
<a href="#" id="btn_oublie" class="PN-color1">Mot de passe oublié ?</a>
<br>
<a href="{{ path('formulaire_compte') }}" class="PN-color1">Créer un compte</a>
</div>
</div>
<div id="div_mot_de_passe_oublie" style="display: none">
<form method="post" action="{{ path('mot_de_passe_oublie') }}">
<div>
<span class="mdi mdi-lock-reset PN-color1 " style="font-size:100px"></span>
</div>
<h2 class="PN-Black PN-color1">Mot de passe oublié</h2>
<p class="PN-Black PN-color1">Entrez votre adresse e-mail et les instructions vous
seront
envoyées par courrier électronique !</p>
<div style="margin-left: 65px;margin-right: 65px">
<p class="PN-Bold PN-color1" style="font-size:20px">Email</p>
<input type="text" class="form-control"
style="border-radius: 23px;height: 50px;" id="email_oublie"
name="email_oublie" placeholder="">
</div>
<div class="m-t-20">
<button class="btn btn-rounded"
style="font-size: 15px; border: 3px solid white;font-weight: bold;background-color: transparent;">
<span style="display: flex;align-items: center; color: white"> Réinitialiser
<i class="mdi mdi-chevron-right-circle mdi-24px p-l-10"></i></span>
</button>
</div>
<div class="m-t-10">
<a href="#" id="btn_connexion" class="PN-color1">Connexion</a>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid p-0">
<div>
<input type="hidden" value="{{ app.request.get('id') }}" id="iframeCentreId">
{% if app.request.get('iframe') != true %}
<div class="p-l-20 p-r-20 " style="background-color:#d6e8f6">
<nav class="navbar navbar-expand-md navbar-light p-l-0">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false"
aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
<!-- Logo will be here -->
<a class="navbar-brand pl-lg-5" href="{{ path('index')}}">
<img src={% if parametreCentreGroupe.pcgcheminlogo %} {% set
logo = asset("/uploads/dataCentre/")~centreGroupe.id~"/"~parametreCentreGroupe.pcgcheminlogo
%} "{{logo}}" {% else %} "{{ asset("public/images/AUTOBILAN_logo.png")}}" {% endif %}
alt="logo_{{centreGroupe.cgnom}}"
style="width:{{parametreCentreGroupe.pcgtaillelogo|default('300')}}px;" /></a>
{% if app.request.attributes.get('_route') != 'index' %}
<div class="PN-Black text-right" style="width: 400%;">
<h1 style="color: {{centreGroupe.centregroupecss.bg1}}">{{centreGroupe.cgnom}}</h1>
</div>
{% endif %}
<!-- This is the navigation menu -->
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto stylish-nav">
{% if app.user %}
<li class="nav-item dropdown">
<a class="m-t-5 btn font-13 PN-Bold PN-colorbg1" data-toggle="dropdown"
aria-haspopup="true"
style="width:100%;color: #061847;font-size: 25px; display: flex; align-items: center;justify-content: center;">{{app.user.cliprenom}}
{{app.user.clinom}}<i class="mdi mdi-account PN-colorbg1"
title="Espace client en compte" style="font-size: 40px;"></i></a>
<div class="dropdown-menu dropdown-menu-right bounceInDown p-20"
style="background-color: {{centreGroupe.centregroupecss.bg1}};color: {{centreGroupe.centregroupecss.color1}};width: 330px;">
<div class="m-b-20">
<a href="{{ path('index')}}" class="text-white PN-Bold ">Accueil</a>
</div>
{# <div class="m-b-20">
{% for centre in centreGroupe.centres %}
<form id="FormCentreMenu{{centre.id}}"
action="{{path('prendre_rdv_pro')}}" method="post">
<input type="hidden" name="id" value="{{centre.id}}" />
</form>
<a href="javascript:void(0)"
onclick='document.getElementById("FormCentreMenu{{centre.id}}").submit()'
class="text-white PN-Bold">Prendre un rendez-vous</a>
{% endfor %}
</div> #}
<div class="m-b-20">
<a href="{{ path('mes_vehicules')}}" class="text-white PN-Bold">Mes
véhicules</a>
</div>
<div class="m-b-20">
<a href="{{ path('mes_reservations')}}" class="text-white PN-Bold">Mes
réservations</a>
</div>
<div class="m-b-40">
<a href="#" class="text-white PN-Bold" id="contact_menu">Contact</a>
</div>
<div class="m-b-20">
<a href="{{ path('app_logout_pro')}}"
class="text-white PN-Bold">Déconnexion - {{app.user.cliprenom}}
{{app.user.clinom}} <i class="mdi mdi-account"
title="Espace client en compte"></i></a>
</div>
</div>
</li>
{% else %}
<li class="nav-item"> <a class="m-t-5 btn font-13" id="btn_compte"
style="width:100%;"><i class="mdi mdi-account PN-colorbg1"
title="Espace client en compte" style="font-size: 40px;"></i></a></li>
<li class="nav-item dropdown"> <a class="m-t-5 btn font-13" href="#"
style="width:100%;"><i class="mdi mdi-menu PN-colorbg1" title="Menu"
style="font-size: 40px;"></i></a>
<div class="dropdown-menu dropdown-menu-right bounceInDown p-20 "
style="background-color: {{centreGroupe.centregroupecss.bg1}};color: {{centreGroupe.centregroupecss.color1}};width: 330px;">
<div class="m-b-20">
<a href="{{ path('index')}}" class="text-white PN-Bold ">Accueil</a>
</div>
{# <div class="m-b-20">
{% for centre in centreGroupe.centres %}
<form id="FormCentreMenu{{centre.id}}" action="{{path('prendre_rdv')}}"
method="post">
<input type="hidden" name="id" value="{{centre.id}}" />
</form>
<a href="javascript:void(0)"
onclick='document.getElementById("FormCentreMenu{{centre.id}}").submit()'
class="text-white PN-Bold">Prendre un rendez-vous</a>
{% endfor %}
</div> #}
<div class="m-b-20">
<a href="javascript:void(0)" class="text-white PN-Bold"
id="contact_menu">Contact</a>
</div>
<div class="m-b-20">
<a href="javascript:void(0)" class="text-white PN-Bold"
id="btn_compte1">Espace Pro <i class="mdi mdi-account mdi-18px"
title="Espace client en compte"></i></a>
</div>
</div>
</li>
{% endif %}
</ul>
</div>
</nav>
</div>
{% endif %}
{% block body %}
{% endblock %}
</div>
<!-- footer -->
<!-- ============================================================== -->
<a class="bt-top btn btn-circle btn-lg btn-info"
style="background:{{centreGroupe.centregroupecss.bg2}};border: 1px solid {{centreGroupe.centregroupecss.bg2}} ;"
href="#top"><i class="ti-arrow-up"></i></a>
{% if app.request.get('iframe') != true %}
<footer class="PN-footer row" style="padding:50px 0 30px">
<div class="fix-width">
<div class="row p-l-20 p-r-20">
<div class="col-lg col-xs-12 p-b-20">
<ul class="footer-link list-icons PN-Medium text-white">
<li><a class="PN-color1" href="{{ path('mentions_legales')}}"> Mentions légales</a>
</li>
<li><a class="PN-color1" href="{{ path('politiques')}}"> Politique de
confidentialité</a></li>
<li><a class="PN-color1" href="{{ path('cookies')}}"> Cookies et technologies
similaires</a></li>
<li><a class="PN-color1" href="{{ path('rgpd')}}"> Politique RGPD</a></li>
<li><a class="PN-color1" href="#" id="contact_footer"> Contact</a></li>
<li><a class="PN-color1" href="{{ path('dashboard')}}"> Administration</a>
</li>
</ul>
</div>
<div class="col-lg col-xs-12">
<p class="PN-color1">{{parametreCentreGroupe.pcgensavoirplus|raw}}</p>
</div>
<div class="col-lg col-xs-12 ">
{# <img src="{{ asset("public/images/admin-text-dark.png")}}" alt="logo" /> #}
<img src="/adminMercureRdv/assets/images/AUTOBILAN_logo_blanc.png" width="200px"
alt="homepage" class="light-logo m-b-10 m-l-10">
<br>
<a href="https://www.autobilan-systems.com/" target="_blank"
class="btn btn-outline-custom-bleu btn-rounded" id=""
style="font-size: 15px;background-color: white">
<span style="display: flex;align-items: center;color:#061847"> Devenez partenaire
<i class="mdi mdi-open-in-new mdi-24px"></i></span>
</a>
<br>
{% set param_centre = centreGroupe.centres|first.ctrparametrecentre %}
{% if param_centre.pcurltwitter or param_centre.pcurlgoogle or
param_centre.pcurlfacebook or param_centre.pcurlinstagram %}
<p class="PN-Semibold m-t-20 text-white" style="display: flex;align-items: center;">
Suivez-nous !
{% if param_centre.pcurlfacebook %}
<a href="https://www.facebook.com/{{param_centre.pcurlfacebook}}" target="_blank" class="text-white"><i
class="mdi mdi-facebook mdi-48px"></i></a>
{% endif %}
{% if param_centre.pcurltwitter %}
<a href="https://twitter.com/{{param_centre.pcurltwitter}}" target="_blank" class="text-white"><i
class="mdi mdi-twitter mdi-48px"></i></a>
{% endif %}
{% if param_centre.pcurlgoogle %}
<a href="https://www.google.com/maps?cid={{param_centre.pcurlgoogle}}" target="_blank" class="text-white"><i
class="mdi mdi-google-plus mdi-48px"></i></a>
{% endif %}
{% if param_centre.pcurlinstagram %}
<a href="https://www.instagram.com/{{param_centre.pcurlinstagram}}" target="_blank" class="text-white"><i
class="mdi mdi-instagram mdi-48px"></i></a>
{% endif %}
</p>
{% endif %}
<p>
</p>
</div>
{# <div class="clearfix"></div> #}
<div class="col-md-12 sub-footer text-center">
<span>© {{ "now"|date("Y") }} <a class="text-white" href="autobilansystems.com"
target="_blank">Auto bilan systems</a></span>
</div>
</div>
</div>
</footer>
{% endif %}
</div>
<!-- ============================================================== -->
<!-- End Container fluid -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Page wrapper -->
<!-- ============================================================== -->
</div>
<!-- ============================================================== -->
<!-- End Wrapper -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- All Jquery -->
<!-- ============================================================== -->
<script src="{{ asset("public/js/jquery.min.js")}}"></script>
<script src="{{ asset('public/js/jquery.star-rating-svg.js') }}"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="{{ asset("public/bootstrap/js/popper.min.js")}}"></script>
<script src="{{ asset("public/bootstrap/js/bootstrap.min.js")}}"></script>
<!--Wave Effects -->
<script src="{{ asset("public/js/waves.js")}}"></script>
<!--stickey kit -->
<script src="{{ asset("public/js/sticky-kit.min.js")}}"></script>
<!-- jQuery for carousel -->
<script src="{{ asset("public/assets/owl.carousel/owl.carousel.min.js")}}"></script>
<!--Custom JavaScript -->
<script src="{{ asset("public/js/custom.min.js")}}"></script>
<script src="{{ asset("adminMercureRdv/assets/plugins/sweetalert/sweetalert.min.js")}}"></script>
<script src="{{ asset("adminMercureRdv/assets/plugins/styleswitcher/jQuery.style.switcher.js")}}"></script>
<script src="{{ asset("adminMercureRdv/assets/plugins/select2/dist/js/select2.full.min.js")}}"
type="text/javascript"></script>
<script src="{{ asset("adminMercureRdv/assets/plugins/toast-master/js/jquery.toast.js")}}"></script>
{# On vérifie si au moins un des trois tags est renseigné #}
{% set tag1 = parametreCentreGroupe.pcggoogleanalytics %}
{% set tag2 = parametreCentreGroupe.pcggoogleanalytics2 %}
{% set tag3 = parametreCentreGroupe.pcggoogleanalytics3 %}
{% if tag1 or tag2 or tag3 %}
{# Détermination du tag de lancement (le premier non vide) #}
{% set main_tag = tag1 ?: (tag2 ?: tag3) %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ main_tag }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
{# On enregistre chaque tag présent en BDD #}
{% if tag1 %} gtag('config', '{{ tag1 }}'); {% endif %}
{% if tag2 %} gtag('config', '{{ tag2 }}'); {% endif %}
{% if tag3 %} gtag('config', '{{ tag3 }}'); {% endif %}
</script>
{% endif %}
<script>
$( document ).ready(function() {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const error = urlParams.get('errorLogin');
if (error) {
$('#ModalConnexion').modal("show");
}
});
const monCookie = getCookie('UtilisationCookie');
if (!monCookie) {
$('#ModalCookie').modal("show");
}
function AccepteCookie() {
setCookie('UtilisationCookie', '1', 365);
$('#ModalCookie').modal("hide");
}
$('#contact_footer').on('click', function () {
$('#ModalContact').modal("show");
})
$('#contact_menu').on('click', function () {
$('#ModalContact').modal("show");
})
$('#btn_compte').on('click', function () {
$('#ModalConnexion').modal("show");
})
$('#btn_compte1').on('click', function () {
$('#ModalConnexion').modal("show");
})
$('#btn_oublie').on('click', function () {
$('#div_mot_de_passe_oublie').css("display", "block");
$('#div_connexion').css("display", "none");
})
$('#btn_connexion').on('click', function () {
$('#div_mot_de_passe_oublie').css("display", "none");
$('#div_connexion').css("display", "block");
})
function envoi_email_contact() {
if ($("#couriel_contact").val() == '') {
Swal.fire({
type: 'error', // "success", "c", "warning", "info", "question"
confirmButtonColor: '#3085d6',
title: 'Oups !',
text: "Vous devez saisir une adresse email",
})
return false;
}
if ($("#nom_contact").val() == '') {
Swal.fire({
type: 'error',
confirmButtonColor: '#3085d6',
title: 'Oups !',
text: "Vous devez saisir un nom",
})
return false;
}
if ($("#sujet_contact").val() == '') {
Swal.fire({
type: 'error',
confirmButtonColor: '#3085d6',
title: 'Oups !',
text: "Vous devez saisir un sujet",
})
return false;
}
if ($("#message_contact").val() == '') {
Swal.fire({
type: 'error',
confirmButtonColor: '#3085d6',
title: 'Oups !',
text: "Vous devez saisir un message",
})
return false;
}
if ($("#condition_contact").prop('checked') == false) {
Swal.fire({
type: 'error',
confirmButtonColor: '#3085d6',
title: 'Oups !',
text: "Vous devez cocher la case : je suis pas un robot",
})
return false;
}
$.ajax({
url: "{{ path('envoi_email_contact') }}",
type: "POST",
data: {
'email': $("#couriel_contact").val(),
'nom': $("#nom_contact").val(),
'objet': $("#sujet_contact").val(),
'message': $("#message_contact").val(),
},
success: function (data) {
Swal.fire({
type: 'success',
confirmButtonColor: '#3085d6',
//title: 'Oups !',
text: "Votre message a bien été envoyé!",
// footer: 'Veuillez contacter votre commercial pour activé cette opition',
// backdrop: '#df0501f5',
})
$('#ModalContact').modal("hide");
$("#couriel_contact").val('');
$("#nom_contact").val('');
$("#sujet_contact").val('');
$("#message_contact").val('');
$("#condition_contact").prop('checked', false)
}
});
}
function message_appel_centre(tel) {
Swal.fire({
type: 'error',
confirmButtonColor: '#3085d6',
title: 'Appeler au ' + tel + ' !',
text: "Pour bénéficier de cette prestation, veuillez prendre contact avec le centre afin de fixer un rendez-vous.",
})
}
function getCookie(name) {
const cookies = document.cookie.split('; ');
for (const cookie of cookies) {
const [cookieName, cookieValue] = cookie.split('=');
if (cookieName === name) {
return decodeURIComponent(cookieValue);
}
}
return null; // Retourne null si le cookie n'est pas trouvé
}
function setCookie(name, value, daysToExpire) {
const date = new Date();
date.setTime(date.getTime() + (daysToExpire * 24 * 60 * 60 * 1000));
const expires = 'expires=' + date.toUTCString();
document.cookie = name + '=' + encodeURIComponent(value) + ';' + expires + ';path=/';
}
</script>
{% block javascripts %}{% endblock %}
</body>
</html>