{% extends 'front.html.twig' %}
{% block title %}Nos thématiques | CIMEF-INTERNATIONAL{% endblock %}
{% block styleSheets %}
<style id='wp-emoji-styles-inline-css' type='text/css'>
.events_pagination ul.pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
}
.page-item.active .page-link {
background-color: #ff6600;
color: #fff;
}
.page-link {
margin: 10px;
color: #051a53;
background-color: #ededed;
border-radius: 5px;
padding: 10px;
/* margin: 0 3px; */
}
.titre-certificat{
color: #051a53;
font-family: arial !important;
font-size: 22px;
text-transform: uppercase !important;
line-height: 1.3;
font-weight: bold;
}
.shadow{
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
}
.row {
display: flex; /* flexbox pour aligner les colonnes */
flex-wrap: wrap; /* les colonnes passent à la ligne si nécessaire */
margin-right: -0.75rem; /* -gutter/2 */
margin-left: -0.75rem; /* -gutter/2 */
}
.events_pagination ul.pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
}
.page-item.active .page-link {
background-color: #ff6600;
color: #fff;
}
.page-link {
margin: 10px;
color: #051a53;
background-color: #ededed;
border-radius: 5px;
padding: 10px;
/* margin: 0 3px; */
}
.text-lien{
color: #ff6600;
/* font-size: 16px; */
}
/* Small devices ≥576px */
@media (min-width: 576px) {
.col-3 { flex: 0 0 100%; max-width: 100%; }
.col-sm-4 { flex: 0 0 100%; max-width: 100%; }
.col-sm-6 { flex: 0 0 100%; max-width: 100%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
/* Medium devices ≥768px */
@media (min-width: 768px) {
.col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
/* Large devices ≥992px */
@media (min-width: 992px) {
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
.type1 .date-event {
transition: all 0.5s ease;
position: absolute;
bottom: 20px;
left: 30px;
z-index: 1;
font-size: 12px;
color: #fff;
font-weight: 700;
text-transform: uppercase;
text-align: center;
line-height: 1.3;
letter-spacing: 1px;
background-color: #ff6600 !important;
padding: 12px;
}
.icon_event{
color: #ff6600 !important;
}
.wrap_header_banner .overlay-slider {
position: absolute;
top: 0;
left: 0;
padding-top: 30px;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6392156863);
}
.text-lien{
color: #ff6600 !important;
}
.text-lien:hover{
color: #051a53 !important;
}
</style>
{% endblock %}
{% block body %}
{% include 'section/navbar.html.twig' %}
{% for message in app.flashes('success') %}
<div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
<div class="col-md-2 col-sm-2" style="padding: 10px;">
<i class="fa fa-check fa-2x" aria-hidden="true"></i>
</div>
<div class="col-md-10 col-sm-10" style="padding: 10px;">
<label>{{ message }}</label>
</div>
</div>
{% endfor %}
{% for message in app.flashes('warning') %}
<div class="row toast_warning" style="top: 100px !important; float: right !important; position: absolute;">
<div class="col-md-2 col-sm-2" style="padding: 10px;">
<i class="fa fa-check fa-2x" aria-hidden="true"></i>
</div>
<div class="col-md-10 col-sm-10" style="padding: 10px;">
<label>{{ message }}</label>
</div>
</div>
{% endfor %}
{% for message in app.flashes('danger') %}
<div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
<div class="col-md-2 col-sm-2" style="padding: 10px;">
<i class="fa fa-check fa-2x" aria-hidden="true"></i>
</div>
<div class="col-md-10 col-sm-10" style="padding: 10px;">
<label>{{ message }}</label>
</div>
</div>
{% endfor %}
<div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/wp-content/uploads/2023/06/header-banner.jpg')}});">
<div class="overlay-slider">
<div class="row_site">
<div class="container_site">
<div class="cover_color"></div>
<div class="header_banner_el">
<div class="header_breadcrumbs">
<div id="breadcrumbs">
<ul class="breadcrumb">
<li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
<li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
<li style="color: #fff!important;">Nos thématiques</li>
</ul>
</div>
</div>
<h1 class="header_title" style="color: #fff!important;">Nos thématiques</h1>
</div>
</div>
</div>
</div>
</div>
<div class="container-event">
<div id="sidebar-active" class="content-event">
<div class="shadow" style="margin-bottom: 20px !impirtant; width: 100%; padding: 10px !important; border: 1px solid #cfcfcf; background-color: #F5F5F5 !important;">
<form method="POST">
<div class="row" style="width: 100%; margin: 0px !important; padding: 0px !important;">
<div class="col-md-12 col-sm-12">
<input type="text" class="form-control" name="recherche" id="searchThematique" placeholder="Rechercher une thématique..." style="width: 100%;" />
</div>
</div>
</form>
</div>
<div class="mt-4" style="height: 20px;"></div>
<!-- search form -->
{% if pagination != null %}
{% for pag in pagination %}
<div class="row thematique-item" data-nom="{{ pag.nom|lower }}" style="padding: 10px; margin-bottom: 10px; border: 1px solid #cfcfcf; width: 100%; margin-left: 2px;">
<div class="col-md-12 col-sm-12">
<div style="margin-bottom: 20px;"><h3 class="titre-certificat">{{ pag.nom }}</h3></div>
<span style="text-transform: lowercase; color: #ff6600; font-size: 20px !important;">({{ pag.nbThemes }}) </span>
<span style="text-transform: lowercase;">Thèmes | </span>
<a style="text-transform: lowercase; color: #ff6600;" href="{{ path('front.inscription',{'slug': pag.slug, 'id': pag.id,'seminaires': 'certificats interantionaux'}) }}">
<span style="text-transform: lowercase;">
<a class="text-lien" href="{{ path('front.thematique.detail', {'slug': pag.slug, 'id': pag.id }) }}" style="color: #201D1C;"> Découvrez les thèmes de cette thématique</a>
</span>
</a>
</div>
</div>
{% endfor %}
{% endif %}
</div>
{% include 'section/aside.html.twig' %}
</div>
{% include 'section/footer.html.twig' %}
<script>
document.getElementById('searchThematique').addEventListener('keyup', function () {
let value = this.value.toLowerCase().trim();
let items = document.querySelectorAll('.thematique-item');
items.forEach(function (item) {
let nom = item.dataset.nom;
if (nom.includes(value)) {
item.style.display = '';
} else {
item.style.display = 'none';
}
});
});
</script>
{% endblock %}