templates/front/detail/detail-thematique.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}Thématiques | {{ slug }} | CIMEF-INTERNATIONAL{% endblock %}
  3. {% block styleSheets %}
  4. <style id='wp-emoji-styles-inline-css' type='text/css'>
  5. label{
  6.     color: #ff6600;
  7.     font-weight: bold;
  8. }
  9. .events_pagination ul.pagination {
  10.     display: flex;
  11.     flex-wrap: wrap;
  12.     justify-content: center;
  13.     list-style: none;
  14.     margin: 0;
  15.     padding: 0;
  16. }
  17. .page-item.active .page-link {
  18.     background-color: #ff6600;
  19.     color: #fff;
  20. }
  21. .page-link {
  22.     margin: 10px;
  23.     color: #051a53;
  24.     background-color: #ededed;
  25.     border-radius: 5px;
  26.     padding: 10px;
  27.     /* margin: 0 3px; */
  28. }
  29. .titre-certificat{
  30.     color: #051a53;
  31.     font-family: arial !important;
  32.     font-size: 16px;
  33.     text-transform: uppercase !important;
  34.     line-height: 1.3;
  35.     font-weight: bold;
  36. }
  37. .lien-theme{
  38.     color: #051a53 !important;
  39. }
  40. .lien-theme:hover{
  41.     color: #ff6600;
  42. }
  43. .row {
  44.     display: flex;            /* flexbox pour aligner les colonnes */
  45.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  46.     margin-right: -0.75rem;   /* -gutter/2 */
  47.     margin-left: -0.75rem;    /* -gutter/2 */
  48. }
  49. .events_pagination ul.pagination {
  50.     display: flex;
  51.     flex-wrap: wrap;
  52.     justify-content: center;
  53.     list-style: none;
  54.     margin: 0;
  55.     padding: 0;
  56. }
  57. .page-item.active .page-link {
  58.     background-color: #ff6600;
  59.     color: #fff;
  60. }
  61. .page-link {
  62.     margin: 10px;
  63.     color: #051a53;
  64.     background-color: #ededed;
  65.     border-radius: 5px;
  66.     padding: 10px;
  67.     /* margin: 0 3px; */
  68. }
  69. .text-lien{
  70.    color: #ff6600;
  71.    /* font-size: 16px; */
  72. }
  73. /* Small devices ≥576px */
  74. @media (min-width: 576px) {
  75.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  76.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  77.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  78.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  79. }
  80. /* Medium devices ≥768px */
  81. @media (min-width: 768px) {
  82.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  83.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  84.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  85.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  86. }
  87. /* Large devices ≥992px */
  88. @media (min-width: 992px) {
  89.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  90.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  91.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  92.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  93. }
  94. .type1 .date-event {
  95.     transition: all 0.5s ease;
  96.     position: absolute;
  97.     bottom: 20px;
  98.     left: 30px;
  99.     z-index: 1;
  100.     font-size: 12px;
  101.     color: #fff;
  102.     font-weight: 700;
  103.     text-transform: uppercase;
  104.     text-align: center;
  105.     line-height: 1.3;
  106.     letter-spacing: 1px;
  107.     background-color: #ff6600 !important;
  108.     padding: 12px;
  109. }
  110. .icon_event{
  111.     color: #ff6600 !important;
  112. }
  113. .wrap_header_banner .overlay-slider {
  114.     position: absolute;
  115.     top: 0;
  116.     left: 0;
  117.     padding-top: 30px; 
  118.     width: 100%;
  119.     height: 100%;
  120.     background-color: rgba(0, 0, 0, 0.6392156863);
  121. }
  122. </style>
  123. {% endblock %}
  124. {% block body %}
  125. {% include 'section/navbar.html.twig' %}
  126. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/wp-content/uploads/2023/06/header-banner.jpg')}});">
  127.     <div class="overlay-slider">
  128.         <div class="row_site">
  129.             <div class="container_site">
  130.                 <div class="cover_color"></div>
  131.                 <div class="header_banner_el">
  132.                     <div class="header_breadcrumbs">
  133.                         <div id="breadcrumbs">
  134.                         <ul class="breadcrumb">
  135.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  136.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  137.                             <li style="color: #fff!important;">{{ slug|replace({'-': ' '}) }}</li>
  138.                         </ul>
  139.                         </div>
  140.                     </div>
  141.                     <h1 class="header_title" style="color: #fff!important;">{{ slug|replace({'-': ' '}) }}</h1>
  142.                 </div>
  143.             </div>
  144.         </div>
  145.     </div>
  146. </div>
  147. <div class="container-event">
  148.     <div id="sidebar-active" class="content-event">
  149.         {% if thematique != null %}
  150.         <div class="mb-5">
  151.             <label>Description :</label>
  152.             {% if thematique.description is empty %}
  153.                 <p>Aucune description disponible.</p>
  154.             {% else %}
  155.                 <p>{{ thematique.description }}</p>
  156.             {% endif %}
  157.         </div>
  158.         {% endif %}
  159.         <div class="mb-2"></div>
  160.         <h3 style="font-family: Arial; font-weight: bold;">Thèmes</h3>
  161.         <div class="mt-4" style="height: 20px;"></div>
  162.         <!-- search form -->
  163.         {% if pagination != null %}
  164.             {% for pag in pagination %}
  165.                 <div class="row" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%; margin-left: 2px;">
  166.                     <div class="col-md-12 col-sm-12">
  167.                         <div style="margin-bottom: 20px;"><h3 class="titre-certificat">{{ pag.nom }}</h3></div>
  168.                         <a href="{{ path('front.inscription',{'slug': pag.slug, 'id': pag.id,'seminaires': 'certificats interantionaux'}) }}">
  169.                             <span class="lien-theme" style="text-transform: lowercase;">
  170.                                 <a href="{{ path('front.thematique.date.theme', {'slugThematique': slug, 'slug': pag.slug}) }}"> En savoir plus</a>
  171.                             </span>
  172.                         </a>
  173.                     </div>
  174.                 </div>
  175.             {% endfor %}
  176.         {% endif %}
  177.         <div class="events_pagination justify-content-center mt-4" style="margin-bottom: 20px !important;">
  178.             {{ knp_pagination_render(pagination, '@KnpPaginator/Pagination/bootstrap_v5_pagination.html.twig') }}
  179.         </div>
  180.     </div>
  181.    {% include 'section/aside.html.twig' %}
  182. </div>
  183.    {% include 'section/footer.html.twig' %}
  184. {% endblock %}