templates/front/inscriptions/inscription-certificat.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Inscription aux certificat | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block styleSheets %}
  4. <style id='wp-emoji-styles-inline-css' type='text/css'>
  5. .captcha {
  6.     display: flex !important;
  7.     align-items: center !important;
  8.     gap: 10px;
  9. }
  10. .captcha img {
  11.     margin-right: 10px;
  12. }
  13. .captcha input {
  14.     width: 180px;
  15. }
  16. .btn-primary{
  17.     font-family: arial;
  18.     font-weight: bold;
  19. }
  20. label {
  21.     font-family: arial;
  22.     font-weight: bold;
  23. }
  24. .form-control{
  25.     width:100%;
  26.     height:45px;
  27.     padding:10px;
  28.     border-radius:8px;
  29.     font-family: arial;
  30.     margin-bottom: 20px;
  31.     border:1px solid #ccc;
  32. }
  33. .textarea{
  34.     width:100%;
  35.     height:45px;
  36.     padding:10px;
  37.     font-family: arial;
  38.     border:1px solid #ccc;
  39.     height: 100px !important;
  40.     border-radius:1px !important;
  41. }
  42. #map {
  43.     height: 500px;
  44.     width: 100%;
  45. }
  46. .row {
  47.     display: flex;            /* flexbox pour aligner les colonnes */
  48.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  49.     margin-right: -0.75rem;   /* -gutter/2 */
  50.     margin-left: -0.75rem;    /* -gutter/2 */
  51. }
  52. .btn-register {
  53.     background-color: #ff6600;
  54.     color: #fff;
  55.     font-weight: bold;
  56.     margin-top: 10px;
  57.     text-align: center; 
  58.     border: 1px solid #ff6600!important; 
  59.     width: 100% !important;
  60.     padding: 10px;
  61.     border-radius: 2px;
  62. }
  63. .btn-register:hover {
  64.     background-color: #051a53;
  65.     color: #fff;
  66.     margin-top: 10px;
  67.     text-align: center; 
  68.     border: 1px solid #051a53!important; 
  69.     width: 100% !important;
  70.     padding: 10px;
  71.     border-radius: 2px;
  72. }
  73. .text-lien{
  74.    color: #ff6600;
  75.    font-size: 16px;
  76. }
  77. .mon-div-fixe {
  78.     position: fixed;
  79.     top: 250px;     /* distance du haut */
  80.     /* right: 20px;   distance de la droite */
  81.     z-index: 9999; /* pour passer au-dessus des autres éléments */
  82. }
  83. .btn-fichier{
  84.     margin-bottom: 30px; background: #ff6600; padding: 10px; height: 70px; width: 100%; line-height: 50px;
  85. }
  86. .btn-fichier:hover{
  87.     margin-bottom: 30px; background: #051a53; padding: 10px; height: 70px; width: 100%;
  88. }
  89. .shadow {
  90.     box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
  91. }
  92. .header_title{ font-size: 25px !important; text-transform: lowercase; color: #fff!important; font-weight: bold !important; }
  93. /* Small devices ≥576px */
  94. @media (min-width: 576px) {
  95.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  96.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  97.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  98.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  99.   .header_title{ font-size: 20px; text-transform: lowercase; color: #fff!important; }
  100.   .header_banner_el { padding: 10px!important; }
  101. }
  102. /* Medium devices ≥768px */
  103. @media (min-width: 768px) {
  104.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  105.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  106.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  107.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  108. }
  109. /* Large devices ≥992px */
  110. @media (min-width: 992px) {
  111.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  112.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  113.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  114.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  115. }
  116. .wrap_header_banner .overlay-slider {
  117.     position: absolute;
  118.     top: 0;
  119.     left: 0;
  120.     padding-top: 30px; 
  121.     width: 100%;
  122.     height: 100%;
  123.     background-color: rgba(0, 0, 0, 0.6392156863);
  124. }
  125. </style>
  126. {% endblock %}
  127. {% block mapjs %}
  128.     <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"/>
  129.     <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
  130. {% endblock %}
  131. {% block body %}
  132. {% include 'section/navbar.html.twig' %}
  133. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/wp-content/uploads/2023/06/header-banner.jpg')}});">
  134.     <div class="overlay-slider">
  135.         <div class="row_site">
  136.             <div class="container_site">
  137.                 <div class="cover_color"></div>
  138.                 <div class="header_banner_el">
  139.                     {% if certificat is not empty %}
  140.                     <div class="header_breadcrumbs">
  141.                         <div id="breadcrumbs">
  142.                             <ul class="breadcrumb">
  143.                                 <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  144.                                 <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  145.                                 <li style="color: #fff!important; text-transform: lowercase;">Formations</li>
  146.                                 <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  147.                                 <li style="color: #fff!important; text-transform: lowercase;">{{ type }}</li>
  148.                                 <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  149.                             </ul>
  150.                         </div>
  151.                     </div>
  152.                     <h1 class="header_title">{{ theme }} </h1>
  153.                     {% endif %}
  154.                 </div>
  155.             </div>
  156.         </div>
  157.     </div>
  158. </div>
  159. {% for message in app.flashes('success') %}
  160. <div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
  161.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  162.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  163.     </div>
  164.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  165.         <label style="font-family: arial;">{{ message }}</label>
  166.     </div>
  167. </div>    
  168. {% endfor %}
  169. {% for message in app.flashes('danger') %}
  170. <div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
  171.     <div class="col-md-2 col-sm-2" style="padding: 10px;">
  172.         <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  173.     </div>
  174.     <div class="col-md-10 col-sm-10" style="padding: 10px;">
  175.         <label style="font-family: arial;">{{ message }}</label>
  176.     </div>
  177. </div>   
  178. {% endfor %}
  179.     <style id="elementor-post-1308">.elementor-1308 .elementor-element.elementor-element-6df1039{margin-top:0px;margin-bottom:110px;}.elementor-1308 .elementor-element.elementor-element-7668bb9 .ovaev-event-title{font-size:30px;}.elementor-1308 .elementor-element.elementor-element-5dc2e39 > .elementor-widget-container{margin:0px 0px 35px 0px;}.elementor-1308 .elementor-element.elementor-element-ee883c9 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:30px;}.elementor-1308 .elementor-element.elementor-element-ee883c9 > .elementor-element-populated{margin:-50px 0px 0px 10px;--e-column-margin-right:0px;--e-column-margin-left:10px;}@media(max-width:1024px){.elementor-1308 .elementor-element.elementor-element-6df1039{margin-top:0px;margin-bottom:80px;}.elementor-1308 .elementor-element.elementor-element-ee883c9 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;}}@media(max-width:767px){.elementor-1308 .elementor-element.elementor-element-7668bb9 > .elementor-widget-container{margin:0px 0px 20px 0px;}.elementor-1308 .elementor-element.elementor-element-ff09908 > .elementor-widget-container{margin:0px 0px 50px 0px;}}@media(min-width:768px){.elementor-1308 .elementor-element.elementor-element-d6d4b6c{width:67%;}.elementor-1308 .elementor-element.elementor-element-ee883c9{width:33%;}}</style>
  180.         <div data-elementor-type="page" data-elementor-id="1308" class="elementor elementor-1308">
  181.         {% if certificat is not empty %}
  182.             <section class="elementor-section elementor-top-section elementor-element elementor-element-6df1039 elementor-section-boxed elementor-section-height-default elementor-section-height-default" data-id="6df1039" data-element_type="section">
  183.                 <div class="elementor-container elementor-column-gap-default">
  184.                     <div class="elementor-column elementor-col-80 elementor-top-column elementor-element elementor-element-d6d4b6c" data-id="d6d4b6c" data-element_type="column">
  185.                         <div class="elementor-widget-wrap elementor-element-populated" style="padding-top: 50px;">
  186.                             
  187.                             {{ form_start(inscriptionForm, {attr: {style: 'width: 100%;'} }) }}
  188.                             <div class="row">
  189.                                 <div class="col-md-12 col-sm-12">
  190.                                     {{ form_row(inscriptionForm.civilite) }}
  191.                                 </div>
  192.                                 <div class="col-md-6 col-sm-12">
  193.                                     {{ form_row(inscriptionForm.nom) }}
  194.                                 </div>
  195.                                 <div class="col-md-6 col-sm-12">
  196.                                     {{ form_row(inscriptionForm.prenoms) }}
  197.                                 </div>
  198.                                 <div class="col-md-6 col-sm-12">
  199.                                     {{ form_row(inscriptionForm.fonction) }}
  200.                                 </div>
  201.                                 <div class="col-md-6 col-sm-12">
  202.                                     {{ form_row(inscriptionForm.adresse) }}
  203.                                 </div> 
  204.                                 <div class="col-md-6 col-sm-12">
  205.                                     {{ form_row(inscriptionForm.mail) }}
  206.                                 </div>
  207.                                 <div class="col-md-6 col-sm-12">
  208.                                     {{ form_row(inscriptionForm.entreprise) }}
  209.                                 </div>                             
  210.                                 <div class="col-md-6 col-sm-12">
  211.                                     {{ form_row(inscriptionForm.siteweb) }}
  212.                                 </div>
  213.                                 <div class="col-md-6 col-sm-12">
  214.                                     {{ form_row(inscriptionForm.nbparticipant) }}
  215.                                 </div> 
  216.                                 <div class="col-md-6 col-sm-12">
  217.                                     {{ form_row(inscriptionForm.pays) }}
  218.                                 </div>
  219.                                 <div class="col-md-6 col-sm-12">
  220.                                     {{ form_row(inscriptionForm.ville) }}
  221.                                 </div> 
  222.                                 
  223.                                 <div class="col-md-4 col-sm-12">
  224.                                     {{ form_row(inscriptionForm.boitepostale) }}
  225.                                 </div>
  226.                                 <div class="col-md-4 col-sm-12">
  227.                                     {{ form_row(inscriptionForm.whatsapp) }}
  228.                                 </div>                             
  229.                                 <div class="col-md-4 col-sm-12">
  230.                                     {{ form_row(inscriptionForm.telephone) }}
  231.                                 </div>
  232.                                 <div class="col-md-12 col-sm-12">
  233.                                     {{ form_row(inscriptionForm.commentaire) }}
  234.                                 </div>                                
  235.                                 <div style="margin: 10px !important;" class="g-recaptcha" data-sitekey="6LfPYkosAAAAANaQq5rVy_x44wv122vknRu-sw3C"></div>
  236.                             </div>
  237.                             {{ form_end(inscriptionForm) }}
  238.                             
  239.                         </div>
  240.                     </div>
  241.                 
  242.                     <div class="elementor-column elementor-col-40 elementor-top-column elementor-element elementor-element-ee883c9" data-id="ee883c9" data-element_type="column">
  243.                         <div class="elementor-widget-wrap elementor-element-populated">
  244.     
  245.                             <div  class="elementor-element elementor-element-bdfb755 elementor-widget elementor-widget-ova_event_info" data-id="bdfb755" data-element_type="widget" data-widget_type="ova_event_info.default">
  246.                                 <div class="elementor-widget-container">
  247.                                     <div class="ovaev-event-info">
  248.                                         <div class="row">
  249.                                             <div class="col-md-2">
  250.                                                 <span class="label"><i class="fa fa-calendar-o" aria-hidden="true"></i> </span>
  251.                                             </div>
  252.                                             <div class="col-md-10">
  253.                                                 <span class="info"><b style="color: #051a53;">{{ session}} {{ annee }}</b></span>
  254.                                             </div>
  255.                                         </div>
  256.                                         <div class="row" style="margin-top: 30px !important;">
  257.                                             <div class="col-md-2">
  258.                                                 <span class="label"><i class="fa fa-map-marker" aria-hidden="true"></i> </span>
  259.                                             </div>
  260.                                             <div class="col-md-10">
  261.                                                 <span class="info"><b style="color: #051a53;">{{ pays }}, {{ ville }}</b></span>
  262.                                             </div>
  263.                                         </div>
  264.                                         <div class="row" style="margin-top: 20px !important; margin-bottom: 20px !important;">
  265.                                             <div class="col-md-2">
  266.                                                 <span class="label"><i class="fa fa-money" aria-hidden="true"></i> </span>
  267.                                             </div>
  268.                                             <div class="col-md-10">
  269.                                                 <span class="info"><b style="color: #051a53;">{{ prix }} {{ devise }}</b></span>
  270.                                             </div>
  271.                                         </div>
  272.                                     </div>
  273.                                 </div>
  274.                             </div>
  275.                             <div class="shadow btn-fichier">
  276.                                 <a href="{{ asset('public/catalogues/Catalogue_2026_CIMEF_INTERNATIONAL.pdf') }}">
  277.                                     <div class="row">
  278.                                         <div class="col-md-2 col-sm-12" style="text-align: center;">
  279.                                             <a href="{{ asset('public/catalogues/Catalogue_2026_CIMEF_INTERNATIONAL.pdf') }}" title="Download files" class="icon" data-id="829">
  280.                                                 <i class="gimonticon-download" style="font-size: 22px; color: #fff;" aria-hidden="true"></i>
  281.                                             </a>    
  282.                                         </div>
  283.                                         <div class="col-md-10 col-sm-12">
  284.                                             <a href="{{ asset('public/catalogues/Catalogue_2026_CIMEF_INTERNATIONAL.pdf') }}">
  285.                                             <label style="color: #fff; font-size: 20px; font-family: arial; cursor: pointer;">Télécharger le catalogue 2026</h3>
  286.                                             </a>
  287.                                         </div>
  288.                                     </div>
  289.                                 </a>
  290.                             </div>
  291.     
  292.                         </div>
  293.                     </div>
  294.                 </div>
  295.             </section>
  296.         {% else %}
  297.             <div style="margin-top: 20px; text-align: justify;">
  298.                 <h2>Informations indisponible</h2>
  299.             </div>
  300.         {% endif %}
  301.         </div>
  302.       </div>
  303. {% endblock %}