{# BASE LOAD #}
{% extends 'base.html.twig' %}
{# TITLE TOP PAGE #}
{% block title %}CPI | {% if app.request.locale == 'fr' %}Politique de confidentialité{% else %}Privacy policy{% endif %}{% endblock %}
{# CSS #}
{% block stylesheet %}
<link rel="stylesheet" href="{{ asset('css/politique.css')}}">
{% endblock %}
{# BODY HOME PAGE #}
{% block body %}
{% if app.user %}
{% include 'cms.html.twig' %}
<style>
.accueil{
padding-top:400px;
}
</style>
{% endif %}
<main>
<div class="accueil">
<div class="container text-light">
<div class="row" >
<div class="col-12">
<div class="row">
<h1 class="opensans_bold_50" style="margin-bottom: 0!important;">POLITIQUE DE CONFIDENTIALITE</h1>
<div class="col-6">
<div class="traitBlanc"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ GESTION DES SECTION ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% set i = 0 %}
{% for section in sections %}
{% if section.id == '948' %}
{% set i = i +1 %}
<section id="section{{section.id}}" style="
{% if section.image %}
background-image: url(../uploads/sections/{{section.image}});
background-size: contain;
background-repeat: repeat-x;
background-color: #170069;
{% else %}
background-color:{{section.color}};
{% endif %}
{% if i > 1 %}
margin-top:-54px
{% endif %}
">
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% set y = 0 %}
{% for res in section.lignes %}
{% set y = y+1 %}
<div id="{% if i == 1 %}sectionMain{% else %}sectionReste{% endif %}" data-aos="fade-up" data-aos-duration="1000" style="{% if i == 1 %}
{% else %}
{% if i > 1 %}
padding-top:112px; padding-bottom:112px;
{% endif %}
{% if y > 1 %}
padding-top:0; padding-bottom:112px;
{% endif %}
{% endif %}">
<div class="container text-light pb-3">
<div class="row pt-5 justify-content-center justify-content-md-start">
{% for res2 in res.blocs %}
<div id="bloc{{res2.id}}" data-aos="fade-up" data-aos-duration="1000" class="
{% if res2.type == 2 %}
col-xl-2 col-12
{% endif %}
{% if res2.type == 3 %}
col-xxl-3 col-md-6 col-12
{% endif %}
{% if res2.type == 4 %}
col-xxl-4 col-md-6 col-12
{% endif %}
{% if res2.type == 6 %}
col-lg-6 col-12
{% endif %}
{% if res2.type == 8 %}
col-12
{% endif %}
{% if res2.type == 12 %}
col-12
{% endif %}
" {% if app.user %} style="border:dashed 1px grey; border-radius:10px; margin-bottom:10px"{% endif %}>
{% if res2.contenuses is not empty %}
{% if res2.contenuses.0.typesContenus.id != 8 %}
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ AFFCHER CONTENUS ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
<!-- ///\\\ ///\\\ TEXTE ///\\\ ///\\\ -->
{% if res2.contenuses.0.typesContenus.id == 1 %}
{% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
{% if res2.contenuses.0.document is not empty %}
<a href="{{res2.contenuses.0.document}}" target="_blank" style="text-decoration:none;">
<button type="button btn-modal" class="justify-content-center align-items-center text-center"
style="
background-color:{{res2.contenuses.0.background}}!important;
border:solid 3px {{res2.contenuses.0.couleur1}}!important;
border-radius: 30px!important;
color: rgb(0, 206, 255);
font-weight: bold;
background-color: #0c24b3;
cursor: pointer;
padding-top: 12px;
padding-left: 50px;
padding-right: 50px;
margin-top:20px
">
{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</button>
</a>
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ FIN TEXTE ///\\\ ///\\\ -->
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
<!-- ///\\\ ///\\\ BOX PICTO CAROUSEL ///\\\ ///\\\ -->
{% if res2.contenuses.0.typesContenus.id == 10 %}
<div data-aos="fade-up" data-aos-duration="1000" class="container d-flex paddingPerso2" >
<div class="slider-demo-valeur">
{% for carou in res2.contenuses.0.carousels|sort((a, b) => a.ordre < b.ordre ? -1 : 1) %}
<div data-aos="fade-up" data-aos-duration="1000" class="carte " style="padding-left: 15px!important;padding-right: 15px;!important">
<div class="col-12">
<div class="image d-flex justify-content-center">
<img src="{{asset('uploads/carousels/'~carou.image)}}" alt="{% if app.request.locale == 'en' %}{{carou.titreEn}}{% else %}{{carou.titreFr}}{% endif %}">
</div>
<div class="corps-carte">
<div class="tete-carte">
<p>{% if app.request.locale == 'en' %}{{carou.titreEn|raw}}{% else %}{{carou.titreFr|raw}}{% endif %} </p>
</div>
<div class="texte-carte">
<div class="texte-1">
{% if app.request.locale == 'en' %}{{carou.texteEn|raw}}{% else %}{{carou.texteFr|raw}}{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if app.user %}
{% if res2.contenuses.0.typesContenus.id == 10 %}
<br>
<div data-aos="fade-up" data-aos-duration="1000" class="d-flex justify-content-center">
<a href="{{path('app_carousels_index',{'contenu':res2.contenuses.0.id})}}"><button type="button" style="margin-bottom:5px" class="btn btn-info" >Gérer les carousels</button></a>
</div>
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ FIN BOXPICTO CAROUSEL ///\\\ ///\\\ -->
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ BOUTON MODIFIER CMS ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
{% if res2.contenuses.0.typesContenus.id != 8 and res2.contenuses.0.typesContenus.id != 10 and res2.contenuses.0.typesContenus.id != 9 %}
{% if app.user %}
<div class="d-flex justify-content-center mb-3">
<a href="{{path('app_editContent',{'id':res2.contenuses.0.id,'type':res2.contenuses.0.typesContenus.libelle})}}">
<div class="d-flex justify-content-center align-items-center cubeIcon">
<i class="fa-solid fa-pen"></i>
</div>
</a>
</div>
{% endif %}
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ MODAL CONTENUS ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if app.user %}
{% if res2.contenuses is empty %}
<button type="button" style="margin-bottom:5px" class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#addContenu{{res2.id}}" >Ajouter un contenu</button>
{% endif %}
<!-- ///\\\ ///\\\ MODAL CONTENUS ///\\\ ///\\\ -->
<div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="container-modal d-flex flex-column">
<h2>Ajouter un contenu</h2>
<p>Les «blocs» peuvent contenir chacun un «Contenu» dédiés à du texte, une image, un lien youtube, …</p>
</div>
<div class="container-contenu d-flex flex-wrap justify-content-start">
<a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
<div class="container-picto container-picto-texte">
<div class="simu-grid-picto d-flex justify-content-center align-items-center">
<img src="{{asset('img/cms/cpi-textes.svg')}}" alt="">
</div>
<p class="colonneText text-center">Texte</p>
</div>
</a>
</div>
<div class="modal-submit d-flex justify-content-end align-items-end">
<button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
</div>
</div>
</div>
</div>
</div>
<!-- ///\\\ ///\\\ FIN MODAL CONTENUS ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ MODAL CONTENUS 2 ///\\\ ///\\\ -->
<div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="container-modal d-flex flex-column">
<h2>Ajouter un contenu</h2>
<p>Les «blocs» sont des éléments de « Section » répartis en colonnes contenant chacun un «Contenu» dédiés à du texte, une image ou un lien youtube.</p>
</div>
<div class="container-grid-choix d-flex flex-wrap justify-content-around ">
<a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-center align-items-center">
<div class="simu-col simu-col-12 d-flex justify-content-center align-items-center">
<p>12</p>
</div>
</div>
<p class="colonneText text-center">Texte</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':66})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
<p>6</p>
</div>
<div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
<p>6</p>
</div>
</div>
<p class="colonneText text-center">3 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':444})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':84})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
<p>8</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':48})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
<p>8</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
</div>
<div class="modal-submit d-flex justify-content-end align-items-end">
<button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
<!-- ///\\\ ///\\\ FIN MODAL CONTENUS 2 ///\\\ ///\\\ -->
</div>
{% endfor %}
</div>
{% endfor %}
<!-- ///\\\ ///\\\ FIN SECTION + FORME BLEU SOUS SECTION DANS LE DOM ///\\\ ///\\\ -->
</section>
<div class="container">
<div class="formeBleu">
<div class="row justify-content-center d-flex">
{% if section.rond != '' %}
<img src="{{asset('uploads/sections/'~section.rond)}}" class="img-fluid d-none d-lg-block">
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
<div class="container" style="margin-bottom: 120px;">
<div class="container-text-container">
<div class="row">
<div class="col-12">
<h2><strong>4. Comment traitons-nous vos donnees personnelles ?</strong></h2>
<br>
<!-- <img style="width: 80%;" src="{{asset('img/politique/tbPolitique1.png')}}" alt="tableau"> -->
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Pour quelle(s) finalité(s) ?</th>
<th>Sur quelle(s) base(s) ?</th>
</tr>
</thead>
<tbody>
<tr>
<td>Pour la gestion des candidatures conformément à notre processus de recrutement</td>
<td>L'exécution de mesures précontractuelles prises à votre demande.</td>
</tr>
<tr>
<td>Pour la protection de nos biens et pour la sécurité de nos réseaux informatiques (notre infrastructure IT, sécurité du site internet, ...)</td>
<td>Notre intérêt légitime à assurer la protection de nos biens et la sécurité de nos réseaux informatiques.</td>
</tr>
<tr>
<td>Pour respecter nos obligations vis-à-vis des autorités publiques (organismes de la sécurité sociale, organisme de santé complémentaire, police, assurance etc.).</td>
<td>Nos obligations légales.</td>
</tr>
<tr>
<td>Pour prendre connaissance des messages qui nous sont envoyés au moyen du formulaire de contact et y répondre</td>
<td>Consentement de la personne concernée au traitement de données lors de l’envoi du message.</td>
</tr>
<tr>
<td>Pour la gestion et le bon fonctionnement du site internet à l’aide notamment de cookies.</td>
<td>Consentement de la personne concernée et intérêts légitimes du responsable du traitement selon le type de cookies. Voir la partie concernant les cookies.</td>
</tr>
<tr>
<td>Pour le déploiement de nos activités de prospections, et relations commerciales / événementiels</td>
<td>Notre intérêt légitime pour assurer le développement et le déploiement de CPI et de ses compétences et le Consentement de la personne concernée au traitement de données lors de l’envoi de message.</td>
</tr>
</tbody>
</table>
</div>
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ GESTION DES SECTION ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% for section in sections %}
{% if section.id == '949' %}
{% set i = i +1 %}
<section id="section{{section.id}}" style="
{% if section.image %}
background-image: url(../uploads/sections/{{section.image}});
background-size: contain;
background-repeat: repeat-x;
background-color: #170069;
{% else %}
background-color:{{section.color}};
{% endif %}
{% if i > 1 %}
margin-top:-54px
{% endif %}
">
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% set y = 0 %}
{% for res in section.lignes %}
{% set y = y+1 %}
<div id="{% if i == 1 %}sectionMain{% else %}sectionReste{% endif %}" data-aos="fade-up" data-aos-duration="1000" style="{% if i == 1 %}
{% else %}
{% if i > 1 %}
padding-top:50px;
{% endif %}
{% if y > 1 %}
padding-top:0;
{% endif %}
{% endif %}">
<div class="container text-light pb-3">
<div class="row pt-5 justify-content-center justify-content-md-start">
{% for res2 in res.blocs %}
<div id="bloc{{res2.id}}" data-aos="fade-up" data-aos-duration="1000" class="
{% if res2.type == 2 %}
col-xl-2 col-12
{% endif %}
{% if res2.type == 3 %}
col-xxl-3 col-md-6 col-12
{% endif %}
{% if res2.type == 4 %}
col-xxl-4 col-md-6 col-12
{% endif %}
{% if res2.type == 6 %}
col-lg-6 col-12
{% endif %}
{% if res2.type == 8 %}
col-12
{% endif %}
{% if res2.type == 12 %}
col-12
{% endif %}
" {% if app.user %} style="border:dashed 1px grey; border-radius:10px; margin-bottom:10px"{% endif %}>
{% if res2.contenuses is not empty %}
{% if res2.contenuses.0.typesContenus.id != 8 %}
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ AFFCHER CONTENUS ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
<!-- ///\\\ ///\\\ TEXTE ///\\\ ///\\\ -->
{% if res2.contenuses.0.typesContenus.id == 1 %}
{% if app.request.locale == 'en' %}{{res2.contenuses.0.TexteEn|raw}}{% else %}{{res2.contenuses.0.TexteFr|raw}}{% endif %}
{% if res2.contenuses.0.document is not empty %}
<a href="{{res2.contenuses.0.document}}" target="_blank" style="text-decoration:none;">
<button type="button btn-modal" class="justify-content-center align-items-center text-center"
style="
background-color:{{res2.contenuses.0.background}}!important;
border:solid 3px {{res2.contenuses.0.couleur1}}!important;
border-radius: 30px!important;
color: rgb(0, 206, 255);
font-weight: bold;
background-color: #0c24b3;
cursor: pointer;
padding-top: 12px;
padding-left: 50px;
padding-right: 50px;
margin-top:20px
">
{% if app.request.locale == 'en' %}{{res2.contenuses.0.TitreEn|raw}}{% else %}{{res2.contenuses.0.TitreFr|raw}}{% endif %}</button>
</a>
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ FIN TEXTE ///\\\ ///\\\ -->
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
<!-- ///\\\ ///\\\ BOX PICTO CAROUSEL ///\\\ ///\\\ -->
{% if res2.contenuses.0.typesContenus.id == 10 %}
<div data-aos="fade-up" data-aos-duration="1000" class="container d-flex paddingPerso2" >
<div class="slider-demo-valeur">
{% for carou in res2.contenuses.0.carousels|sort((a, b) => a.ordre < b.ordre ? -1 : 1) %}
<div data-aos="fade-up" data-aos-duration="1000" class="carte " style="padding-left: 15px!important;padding-right: 15px;!important">
<div class="col-12">
<div class="image d-flex justify-content-center">
<img src="{{asset('uploads/carousels/'~carou.image)}}" alt="{% if app.request.locale == 'en' %}{{carou.titreEn}}{% else %}{{carou.titreFr}}{% endif %}">
</div>
<div class="corps-carte">
<div class="tete-carte">
<p>{% if app.request.locale == 'en' %}{{carou.titreEn|raw}}{% else %}{{carou.titreFr|raw}}{% endif %} </p>
</div>
<div class="texte-carte">
<div class="texte-1">
{% if app.request.locale == 'en' %}{{carou.texteEn|raw}}{% else %}{{carou.texteFr|raw}}{% endif %}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if app.user %}
{% if res2.contenuses.0.typesContenus.id == 10 %}
<br>
<div data-aos="fade-up" data-aos-duration="1000" class="d-flex justify-content-center">
<a href="{{path('app_carousels_index',{'contenu':res2.contenuses.0.id})}}"><button type="button" style="margin-bottom:5px" class="btn btn-info" >Gérer les carousels</button></a>
</div>
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ FIN BOXPICTO CAROUSEL ///\\\ ///\\\ -->
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ BOUTON MODIFIER CMS ///\\\ ///\\\ -->
{% if res2.contenuses is not empty %}
{% if res2.contenuses.0.typesContenus.id != 8 and res2.contenuses.0.typesContenus.id != 10 and res2.contenuses.0.typesContenus.id != 9 %}
{% if app.user %}
<div class="d-flex justify-content-center mb-3">
<a href="{{path('app_editContent',{'id':res2.contenuses.0.id,'type':res2.contenuses.0.typesContenus.libelle})}}">
<div class="d-flex justify-content-center align-items-center cubeIcon">
<i class="fa-solid fa-pen"></i>
</div>
</a>
</div>
{% endif %}
{% endif %}
{% endif %}
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ MODAL CONTENUS ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ ///\\\ -->
{% if app.user %}
{% if res2.contenuses is empty %}
<button type="button" style="margin-bottom:5px" class="btn btn-warning" data-bs-toggle="modal" data-bs-target="#addContenu{{res2.id}}" >Ajouter un contenu</button>
{% endif %}
<!-- ///\\\ ///\\\ MODAL CONTENUS ///\\\ ///\\\ -->
<div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="container-modal d-flex flex-column">
<h2>Ajouter un contenu</h2>
<p>Les «blocs» peuvent contenir chacun un «Contenu» dédiés à du texte, une image, un lien youtube, …</p>
</div>
<div class="container-contenu d-flex flex-wrap justify-content-start">
<a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
<div class="container-picto container-picto-texte">
<div class="simu-grid-picto d-flex justify-content-center align-items-center">
<img src="{{asset('img/cms/cpi-textes.svg')}}" alt="">
</div>
<p class="colonneText text-center">Texte</p>
</div>
</a>
</div>
<div class="modal-submit d-flex justify-content-end align-items-end">
<button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
</div>
</div>
</div>
</div>
</div>
<!-- ///\\\ ///\\\ FIN MODAL CONTENUS ///\\\ ///\\\ -->
<!-- ///\\\ ///\\\ MODAL CONTENUS 2 ///\\\ ///\\\ -->
<div class="modal fade" id="addContenu{{res2.id}}" tabindex="-1" aria-labelledby="addContenu" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="container-modal d-flex flex-column">
<h2>Ajouter un contenu</h2>
<p>Les «blocs» sont des éléments de « Section » répartis en colonnes contenant chacun un «Contenu» dédiés à du texte, une image ou un lien youtube.</p>
</div>
<div class="container-grid-choix d-flex flex-wrap justify-content-around ">
<a href="{{path('app_addContent',{'bloc':res2.id,'type':'texte'})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-center align-items-center">
<div class="simu-col simu-col-12 d-flex justify-content-center align-items-center">
<p>12</p>
</div>
</div>
<p class="colonneText text-center">Texte</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':66})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
<p>6</p>
</div>
<div class="simu-col simu-col-6 d-flex justify-content-center align-items-center">
<p>6</p>
</div>
</div>
<p class="colonneText text-center">3 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':444})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':84})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
<p>8</p>
</div>
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
<a href="{{path('app_addBloc',{'ligne':res.id,'type':48})}}">
<div class="container-choix">
<div class="simu-grid d-flex justify-content-around align-items-center">
<div class="simu-col simu-col-4 d-flex justify-content-center align-items-center">
<p>4</p>
</div>
<div class="simu-col simu-col-8 d-flex justify-content-center align-items-center">
<p>8</p>
</div>
</div>
<p class="colonneText text-center">2 colonne</p>
</div>
</a>
</div>
<div class="modal-submit d-flex justify-content-end align-items-end">
<button type="submit" class=" btnAdd btnAdd2">Ajouter</button>
</div>
</div>
</div>
</div>
</div>
{% endif %}
<!-- ///\\\ ///\\\ FIN MODAL CONTENUS 2 ///\\\ ///\\\ -->
</div>
{% endfor %}
</div>
</div>
{% endfor %}
<!-- ///\\\ ///\\\ FIN SECTION + FORME BLEU SOUS SECTION DANS LE DOM ///\\\ ///\\\ -->
</section>
<div class="container">
<div class="formeBleu">
<div class="row justify-content-center d-flex">
{% if section.rond != '' %}
<img src="{{asset('uploads/sections/'~section.rond)}}" class="img-fluid d-none d-lg-block">
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</main>
{% endblock %}