{% extends 'layouts/site.html.twig' %}
{% block title %} ORISHAS TV {% endblock %}
{% block css %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.css">
<style>
/*sans bordure (1ère photo)*/
.arrondie {
-moz-border-radius:50px;
-webkit-border-radius:10px;
border-radius:50px;
}
span.img-text {
text-decoration: none;
outline: none;
transition: all 0.4s ease;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
cursor: pointer;
width: 100%;
font-size: 23px;
display: block;
text-transform: capitalize;
}
span.img-text:hover {
color: #2caae1;
}
.o-flex-stretch--center {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.o-flex-stretch {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
.c-title-universe__title {
position: relative;
display: inline-block;
background-color: #fff;
text-transform: uppercase;
font-size: 30px;
font-size: 3rem;
font-weight: 100;
line-height: 1.25;
letter-spacing: .4px;
letter-spacing: .04rem;
padding-right: 10px;
padding-right: 1rem;
}
.c-title-universe__link {
position: relative;
background-color: #fff;
display: block;
margin-top: 5px;
margin-top: .5rem;
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
.c-title-universe--color-1 {
color: #006fb7;
}
.marge{
margin-right:16px
}
th, td {
border-bottom: 1px solid #ddd;
margin-bottom:20px;
margin-top:20px;
}
tr{
margin-bottom:50px;
margin-top:50px;
}
tr:hover {
background-color: #f5f5f5;
}
.titreproduit{
font-weight:bold;
font-size:16px
}
.card-body {
background-color:#33333D !important;
}
.corps{
background-color:#33333D !important;
}
.titreproduit {
font-weight: bold;
font-size: 16px;
color:var(--color-primary);
}
.acat{
font-size: 14px;
color:#039be5
}
body{ background-color: #434250; }
.title {
font-size: 18px;
margin-bottom: 6px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
font-weight: bold;
}
.nav-tabs {
border-bottom: 1px solid #039be5;
background-color: #33333D !important;
}
</style>
{% endblock %}
{% block body %}
<style>
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
color: #fff;
background-color: #039be5;
font-weight: bold;
border-color: #dee2e6 #dee2e6 #fff;
text-transform: uppercase;
font-size: 16px;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
color: #fff;
background-color: #039be5;
font-weight: bold;
border-color: #dee2e6 #dee2e6 #fff;
}
</style>
<section class="row pagetitle taille" style="background-image:url({{asset('assets/site/images/background/page-title3.jpg')}}); display:none">
<div class="col-md-12 auto-container">
<span class="auto-text" >{{title}} </span><br>
<span >Services online d’Informations financières sur le Marché Africain. Des données fiables et sur mesures
sur les marchés Actions, Obligataires et sur les Fonds Opcvm..</span>
</div>
</section>
<section class="row">
<div class="col-md-12">
<p>
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class=" nav-item nav-link acat " href="{{path('site_videos')}}" >Toutes les vidéos</a>
{% for categorie in categories %}
{% if categorie.libelle != "Voeux" %}
<a class=" nav-item nav-link acat " href="{{path('site_videos_cat',{'id':categorie.id })}}" >{{categorie.libelle}}</a>
{% endif %}
{% endfor %}
</div>
</nav>
</p>
</div>
</section>
<div class="row">
<div class="col-md-12" style=" margin-top: 20px; margin-bottom: 20px;">
<!-- Search form -->
<input class="form-control" type="text" placeholder="Search" aria-label="Search">
</div>
</div>
<section class="row" style="margin-top:12px ; " >
<div class="col-md-12">
<div class="block block-primary">
<h3 class="block-title"><span>Les Vidéos récentes</span></h3>
</div>
</div>
<div class="row" style="margin-bottom:10px;padding-left:10px;padding-right:10px">
{% for video in videos %}
{% if video.categorie.libelle != "Voeux" %}
{%if video.categorie.id==cat%}
<div class="col-md-4 pbottom" >
<div class="card">
<a href="{{path('site_videos_show',{'id':video.id,'cat':video.categorie.id})}}">
<div class="of-video-img-1">
<i class="fa fa-play-circle fa-4x"></i>
<img src="{{ asset("uploads/videos/thumbnails/#{video.getThumbnail()}") }}" class="card-img-top" alt="...">
</div>
<div class="card-body">
<h6 class="card-title title" title="{{video.libelle}}"><a href="{{path('site_videos_show',{'id':video.id,'cat':video.categorie.id})}}">{{video.libelle}}</a></h6>
</div>
</a>
</div>
</div>
{%endif%}
{%endif%}
{%else%}
<div class="col-md-12 pbottom" style="color:white" >
Aucune Vidéo n'est disponible sur cette catégorie
</div>
{% endfor %}
<br>
</section>
{% endblock %}
{% block scripts %}
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
{% endblock %}