<div class="my-container">
<div class="row">
<div class="col-md-12" style="margin-bottom: 7px;">
<div class="step-indicator" style="display: inline-block; width: 100%; margin: 0px; background: #f9f9f9;">
<a class="stepcard completed" href="" style="display: inline-block; width: 22%;"><div class="coustom-my-text">{{ site }}</div></a>
<a class="stepcard completed" href="" style="display: inline-block; width: 22%;"><div class="coustom-my-text">Démo</div></a>
<a class="stepcard" href="#!" style="display: inline-block; width: 22%;"><div class="coustom-my-text">Plateformes d'essais</div></a>
</div>
</div>
</div>
</div>
<div style="background: #f5f7f8; padding-top: 20px;">
<div class="my-container">
<div class="row">
<div class="col-md-4">
{{ render(controller("App\\Controller\\Produit\\Service\\ServiceController:menuarticle", {'position': position})) }}
</div>
<div class="col-md-8">
<style>
.wrap {
max-width: 100%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
}
.card {
flex: 1;
min-width: 100%;
max-width: 31%;
overflow: hidden;
border-radius: 0;
background: #fff;
margin: 0px;
box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.03);
}
@media (max-width: 68em) {
.card {
min-width: 48%;
}
}
@media (max-width: 48em) {
.card {
min-width: 98%;
}
}
.card .head {
}
.card .head:hover {
background-position: -79% 21.5%;
}
.card .head h3 {
margin: 0;
padding: 1em 1.5em;
align-self: flex-end;
display: block;
width: 100%;
font-weight: 400;
text-shadow: 0px 1px 0px #000;
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjEuMCIgeDI9IjAuNSIgeTI9IjAuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
background-size: 100%;
background-image: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
}
.card .head h3 i.fa {
font-size: 120%;
position: relative;
top: 2px;
}
.card .head h3 span.time {
float: right;
font-weight: 200;
}
.card article {
padding: .5em 1.5em;
}
.card article h2:nth-of-type(1) {
margin-top: .5em;
font-weight: 400;
font-size: 205%;
line-height: 1.2em;
margin-bottom: .45em;
}
.card article p {
line-height: 1.55em;
text-align: justify;
}
.card article p:nth-of-type(1) {
margin-top: 0;
}
.card .foot {
border-top: 3px solid rgba(0, 0, 0, 0.1);
margin: 0 1.5em;
padding: 2em 0;
}
.card .foot .profile-pic {
max-width: 52px;
height: auto;
border-radius: 50%;
margin: 0 1em 0 0;
display: inline-block;
}
.card .foot .author {
font-weight: bold;
}
.card .foot .author a {
text-decoration: none;
color: tomato;
position: relative;
top: -.95em;
font-size: 1.25em;
}
.card .foot .social {
display: inline-block;
float: right;
font-size: 2.5em;
}
.card .foot .social a {
margin-left: .5em;
color: rgba(0, 0, 0, 0.3);
}
.card .foot .social a:hover {
color: rgba(0, 0, 0, 0.5);
}
</style>
{% for article in liste_article %}
<div class="wrap">
<div class="card" style="background-image:'{% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin2.png') }}{% endif %}';">
<style>
#bg-card-{{ article.id }}{
background: url({% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin2.png') }}{% endif %}) -59% 51.5%;
min-height: 250px;
color: #fff;
position: relative;
display: flex;
transition: all 1.5s ease-in-out;
background-repeat: no-repeat;
background-size: cover;
}
#bg-card-{{ article.id }}:hover {
background-position: -79% 21.5%;
}
</style>
<a href="{{ article.link }}" style="display: block;" target="_blank">
<header id="bg-card-{{ article.id }}" class="head">
<h3>
<span style="color: #fff;"><img src="{% if article.logo != null and article.logo.imgevenement != null %}{{ asset(article.logo.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/1settings.png') }}{% endif %}" style="width: 36px; height: 36px; border-radius: 18px; background: #fff;"/> {{ article.breve }}</span><span class="time" style="color: #fff; font-size: 16px; margin-top: 15px;"><span class="fa fa-clock-o"></span> {{ moisText(article.date|date('M')) }} {{ article.date|date('Y') }} - En cours</span>
</h3>
</header>
</a>
<article>
<h2><a href="{{ article.link }}" class="btn btn-primary pull-right" target="_blank">Essayer <span class="fa fa-external-link" style="font-size: 12px;"></span></a> {{ article.nom }} </h2>
<p>{{ article.description }}</p>
<div style="margin-top: 20px;"><strong style="color: green;">Essayer les fonctionnalités <a href="#!">{{ site }}</a> sur <a href="{{ article.link }}" target="_blank">{{ article.breve }}</a> </strong></div>
{% set liste_partie = article.getPartiearticles %}
{% for partie in liste_partie %}
<div class="topic">
<div class="open">
<span class="faq-t" style="top: 40px;"></span>
<div class="question">
<img src="{% if partie.imgevenement != null %}{{ asset(partie.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %} " alt="..." style="width: 100px; height: 100px; float: left; margin-right: 7px; background: #ddd; margin-top: -20px;" >
<span style="font-size: 25px;">{{ partie.nom }}</span>
<div style="color: #333; margin-top: 10px;">
{{ partie.breve }} <a href="{{ partie.link }}" class="btn btn-primary pull-right" target="_blank">Essayer <span class="fa fa-external-link" style="font-size: 12px;"></span></a>
</div>
</div>
</div>
<div class="answer">
{{ partie.description }}</br>
</div>
</div>
{% endfor %}
</article>
</div>
</div>
<div style="background: rgba(145, 186, 28, 0.2); padding: 10px; text-align: center;">
<div><strong style="color: green;">Suivre <a href="{{ article.link }}" target="_blank">{{ article.breve }}</a> sur les réseaux sociaux.</strong></div>
<div class="social-btns">
{% if article.facebook != null %}
<a class="social-btn facebook" href="{{ article.facebook }}" target="_blank"><i class="fa fa-facebook"></i></a>
{% else %}
<a class="social-btn facebook" href="#!" title="Lien Indisponible"><i class="fa fa-facebook"></i></a>
{% endif %}
{% if article.twitter != null %}
<a class="social-btn linkedin" href="{{ article.twitter }}" target="_blank"><i class="fa fa-twitter"></i></a>
{% else %}
<a class="social-btn linkedin" href="#!" title="Lien Indisponible"><i class="fa fa-twitter"></i></a>
{% endif %}
{% if article.google != null %}
<a class="social-btn instagram" href="{{ article.google }}" target="_blank"><i class="fa fa-google-plus"></i></a>
{% else %}
<a class="social-btn instagram" href="#!" title="Lien Indisponible"><i class="fa fa-google-plus"></i></a>
{% endif %}
{% if article.linkedin != null %}
<a class="social-btn github" href="{{ article.linkedin }}" target="_blank"><i class="fa fa-linkedin"></i></a>
{% else %}
<a class="social-btn instagram" href="#!" title="Lien Indisponible"><i class="fa fa-linkedin"></i></a>
{% endif %}
</div>
</div>
{% else %}
<div class="col-md-12" style="height: 400px; border-left: 4px solid #3565ae; margin-left: 12px;">
<div style="border-left: 5px solid #3565ae; padding: 3px; background: #f5f5f5; color: red;">{{ 'Aucune donnée disponible pour cette requête'|trans }}</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>