templates/front/shanghai.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Nos formations à SHANGAI | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block styleSheets %}
  4. <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"></script>
  5. <style id='wp-emoji-styles-inline-css' type='text/css'>
  6. .events_pagination ul.pagination {
  7.     display: flex;
  8.     flex-wrap: wrap;
  9.     justify-content: center;
  10.     list-style: none;
  11.     margin: 0;
  12.     padding: 0;
  13. }
  14. .page-item.active .page-link {
  15.     background-color: #ff6600;
  16.     color: #fff;
  17. }
  18. .page-link {
  19.     margin: 10px;
  20.     color: #051a53;
  21.     background-color: #ededed;
  22.     border-radius: 5px;
  23.     padding: 10px;
  24.     /* margin: 0 3px; */
  25. }
  26. .titre-certificat{
  27.     color: #051a53;
  28.     font-family: arial !important;
  29.     font-size: 18px;
  30.     text-transform: uppercase !important;
  31.     line-height: 1.3;
  32.     font-weight: bold;
  33. }
  34. .shadow{
  35.     box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
  36. }
  37. .row {
  38.     display: flex;            /* flexbox pour aligner les colonnes */
  39.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  40.     margin-right: -0.75rem;   /* -gutter/2 */
  41.     margin-left: -0.75rem;    /* -gutter/2 */
  42. }
  43. .events_pagination ul.pagination {
  44.     display: flex;
  45.     flex-wrap: wrap;
  46.     justify-content: center;
  47.     list-style: none;
  48.     margin: 0;
  49.     padding: 0;
  50. }
  51. .page-item.active .page-link {
  52.     background-color: #ff6600;
  53.     color: #fff;
  54. }
  55. .page-link {
  56.     margin: 10px;
  57.     color: #051a53;
  58.     background-color: #ededed;
  59.     border-radius: 5px;
  60.     padding: 10px;
  61.     /* margin: 0 3px; */
  62. }
  63. .text-lien{
  64.    color: #ff6600;
  65.    /* font-size: 16px; */
  66. }
  67. /* Small devices ≥576px */
  68. @media (min-width: 576px) {
  69.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  70.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  71.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  72.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  73. }
  74. /* Medium devices ≥768px */
  75. @media (min-width: 768px) {
  76.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  77.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  78.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  79.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  80. }
  81. /* Large devices ≥992px */
  82. @media (min-width: 992px) {
  83.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  84.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  85.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  86.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  87. }
  88. .type1 .date-event {
  89.     transition: all 0.5s ease;
  90.     position: absolute;
  91.     bottom: 20px;
  92.     left: 30px;
  93.     z-index: 1;
  94.     font-size: 12px;
  95.     color: #fff;
  96.     font-weight: 700;
  97.     text-transform: uppercase;
  98.     text-align: center;
  99.     line-height: 1.3;
  100.     letter-spacing: 1px;
  101.     background-color: #ff6600 !important;
  102.     padding: 12px;
  103. }
  104. .icon_event{
  105.     color: #ff6600 !important;
  106. }
  107. .wrap_header_banner .overlay-slider {
  108.     position: absolute;
  109.     top: 0;
  110.     left: 0;
  111.     padding-top: 30px; 
  112.     width: 100%;
  113.     height: 100%;
  114.     background-color: rgba(0, 0, 0, 0.6392156863);
  115. }
  116. .text-lien{
  117.     color: #ff6600 !important;
  118. }
  119. .text-lien:hover{
  120.     color: #051a53 !important;
  121. }
  122. .wrap_header_banner {
  123.     height: 400px;
  124.     background-size: cover;       /* 🔥 essentiel */
  125.     background-position: center;  /* centre l’image */
  126.     background-repeat: no-repeat; /* évite la répétition */
  127. }
  128. /*
  129. #slide_web{
  130.     top: 70px;
  131.     height: 200px !important;
  132.     margin-bottom: 50px !important;
  133. }
  134. .img_slide{
  135.     height: 200px !important; width: 100%;
  136. }*/
  137. </style>
  138. {% endblock %}
  139. {% block body %}
  140.     {% include 'section/navbar.html.twig' %}
  141.         {% for message in app.flashes('success') %}
  142.         <div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
  143.             <div class="col-md-2 col-sm-2" style="padding: 10px;">
  144.                 <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  145.             </div>
  146.             <div class="col-md-10 col-sm-10" style="padding: 10px;">
  147.                 <label>{{ message }}</label>
  148.             </div>
  149.         </div>    
  150.         {% endfor %}
  151.         {% for message in app.flashes('warning') %}
  152.         <div class="row toast_warning" style="top: 100px !important; float: right !important; position: absolute;">
  153.             <div class="col-md-2 col-sm-2" style="padding: 10px;">
  154.                 <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  155.             </div>
  156.             <div class="col-md-10 col-sm-10" style="padding: 10px;">
  157.                 <label>{{ message }}</label>
  158.             </div>
  159.         </div>   
  160.         {% endfor %}
  161.         {% for message in app.flashes('danger') %}
  162.         <div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
  163.             <div class="col-md-2 col-sm-2" style="padding: 10px;">
  164.                 <i class="fa fa-check fa-2x" aria-hidden="true"></i>
  165.             </div>
  166.             <div class="col-md-10 col-sm-10" style="padding: 10px;">
  167.                 <label>{{ message }}</label>
  168.             </div>
  169.         </div>   
  170.         {% endfor %}
  171.         
  172.         
  173.         <div class="wrap_header_banner" style="background-image: url('{{ asset('public/inter/slides/shanghai/shanghai_3.jpg') }}');">
  174.             <div class="">
  175.                 <div class="row_site">
  176.                     <div class="container_site">
  177.                         <div class="cover_color"></div>
  178.                         <div class="header_banner_el">
  179.                         </div>
  180.                     </div>
  181.                 </div>
  182.             </div>
  183.         </div>
  184.         <div class="container-event">
  185.            <div id="sidebar-active" class="content-event">
  186.                 <div class="shadow" style="margin-bottom: 20px !impirtant; width: 100%; padding: 10px !important; 
  187.                 border: 1px solid #cfcfcf; background-color: #F5F5F5 !important;">
  188.                     <form method="POST">
  189.                         <div class="row" style="width: 100%; margin: 0px !important; padding: 0px !important;">
  190.                             <div class="col-md-12 col-sm-12">
  191.                                 <input type="text" class="form-control" name="recherche" id="searchCertyou" placeholder="Rechercher une formation..." style="width: 100%;" />
  192.                             </div>
  193.                         </div>
  194.                     </form>
  195.                 </div>
  196.                 <div class="mt-4" style="height: 20px;"></div>
  197.               <!-- search form -->
  198.                 {% if pagination != null %}
  199.                     {% for pag in pagination %}
  200.                     <div class="row theme-item" data-theme="{{ pag.theme|lower }}" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%; margin-left: 2px;">
  201.                         <div class="col-md-12 col-sm-12">
  202.                             <div style="margin-bottom: 20px;"><label class="titre-certificat">{{ pag.theme }}</label></div>
  203.                 
  204.                             <span style="text-transform: lowercase; color: #201D1C;"> {{ pag.ville }} &nbsp;|</span>
  205.                             <span style="text-transform: lowercase;"> <b style="color: #ff6600;">{{ pag.session }}</b> &nbsp;|</span>
  206.                             <span style="text-transform: lowercase;">&nbsp; <b style="color: #ff6600;">{{ pag.prix }} {{ pag.devise }}</b> &nbsp;|</span>
  207.                             <a style="text-transform: lowercase; color: #ff6600;" href="{{ path('front.inscription',{'slug': pag.slug, 'id': pag.id,'seminaires': 'formations shanghai'}) }}">S'inscrire</a>
  208.                         </div>
  209.                     </div>
  210.                     {% endfor %}
  211.                 {% endif %}
  212.         
  213.            </div>
  214.         
  215.            {% include 'section/aside.html.twig' %}
  216.                   
  217.         </div>
  218.            {% include 'section/footer.html.twig' %}
  219.     <script>
  220.     document.getElementById('searchCertyou').addEventListener('keyup', function () {
  221.         let value = this.value.toLowerCase().trim();
  222.         let items = document.querySelectorAll('.theme-item');
  223.     
  224.         items.forEach(function (item) {
  225.             let theme = item.dataset.theme || '';
  226.     
  227.             if (theme.includes(value)) {
  228.                 item.style.display = '';
  229.             } else {
  230.                 item.style.display = 'none';
  231.             }
  232.         });
  233.     });
  234.     </script>
  235.         
  236. {% endblock %}    
  237.