<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Theme/Produit/Service/Service/articlesdemo.html.twig */
class __TwigTemplate_4d7ba8c4b43472943da28878bba64662af77fe0b3f755304c0bc45b6de987d1e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/Produit/Service/Service/articlesdemo.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/Produit/Service/Service/articlesdemo.html.twig"));
// line 1
echo "<div class=\"my-container\">
<div class=\"row\">
\t<div class=\"col-md-12\" style=\"margin-bottom: 7px;\">
\t<div class=\"step-indicator\" style=\"display: inline-block; width: 100%; margin: 0px; background: #f9f9f9;\">
\t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">";
// line 5
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 5, $this->source); })()), "html", null, true);
echo "</div></a>
\t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">Démo</div></a>
\t\t<a class=\"stepcard\" href=\"#!\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">Plateformes d'essais</div></a>
\t</div>
\t</div>
</div>
</div>
<div style=\"background: #f5f7f8; padding-top: 20px;\">
\t<div class=\"my-container\">
\t\t<div class=\"row\">
\t\t<div class=\"col-md-4\">
\t\t\t";
// line 17
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Service\\ServiceController:menuarticle", ["position" => (isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 17, $this->source); })())]));
echo "
\t\t</div>
\t\t<div class=\"col-md-8\">
\t\t
<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>
\t\t
\t\t";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_article"]) || array_key_exists("liste_article", $context) ? $context["liste_article"] : (function () { throw new RuntimeError('Variable "liste_article" does not exist.', 129, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
// line 130
echo "\t\t<div class=\"wrap\">
\t\t<div class=\"card\" style=\"background-image:'";
// line 131
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "imgservice", [], "any", false, false, false, 131), null))) {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "imgservice", [], "any", false, false, false, 131), "getwebpath", [], "any", false, false, false, 131)), "html", null, true);
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/bglogin2.png"), "html", null, true);
}
echo "';\">
\t\t <style>
\t\t\t#bg-card-";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 133), "html", null, true);
echo "{
\t\t\t\tbackground: url(";
// line 134
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "imgservice", [], "any", false, false, false, 134), null))) {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "imgservice", [], "any", false, false, false, 134), "getwebpath", [], "any", false, false, false, 134)), "html", null, true);
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/bglogin2.png"), "html", null, true);
}
echo ") -59% 51.5%;
\t\t\t\tmin-height: 250px;
\t\t\t\t color: #fff;
\t\t\t\t position: relative;
\t\t\t\t display: flex;
\t\t\t\t transition: all 1.5s ease-in-out;
\t\t\t\t background-repeat: no-repeat;
\t\t\t\t background-size: cover;
\t\t\t}
\t\t\t#bg-card-";
// line 143
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 143), "html", null, true);
echo ":hover {
\t\t\t background-position: -79% 21.5%;
\t\t\t}
\t\t </style>
\t\t <a href=\"";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "link", [], "any", false, false, false, 147), "html", null, true);
echo "\" style=\"display: block;\" target=\"_blank\">
\t\t <header id=\"bg-card-";
// line 148
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "id", [], "any", false, false, false, 148), "html", null, true);
echo "\" class=\"head\">
\t\t <h3>
\t\t <span style=\"color: #fff;\"><img src=\"";
// line 150
if (((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "logo", [], "any", false, false, false, 150), null)) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "logo", [], "any", false, false, false, 150), "imgevenement", [], "any", false, false, false, 150), null)))) {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["article"], "logo", [], "any", false, false, false, 150), "imgevenement", [], "any", false, false, false, 150), "getwebpath", [], "any", false, false, false, 150)), "html", null, true);
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/1settings.png"), "html", null, true);
}
echo "\" style=\"width: 36px; height: 36px; border-radius: 18px; background: #fff;\"/> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "breve", [], "any", false, false, false, 150), "html", null, true);
echo "</span><span class=\"time\" style=\"color: #fff; font-size: 16px; margin-top: 15px;\"><span class=\"fa fa-clock-o\"></span> ";
echo twig_escape_filter($this->env, $this->extensions['App\Service\Servicetext\TwigExtensions']->moisText(twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "date", [], "any", false, false, false, 150), "M")), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "date", [], "any", false, false, false, 150), "Y"), "html", null, true);
echo " - En cours</span>
\t\t </h3>
\t\t </header>
\t\t </a>
\t\t <article>
\t\t\t<h2><a href=\"";
// line 155
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "link", [], "any", false, false, false, 155), "html", null, true);
echo "\" class=\"btn btn-primary pull-right\" target=\"_blank\">Essayer <span class=\"fa fa-external-link\" style=\"font-size: 12px;\"></span></a> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "nom", [], "any", false, false, false, 155), "html", null, true);
echo " </h2>
\t\t\t<p>";
// line 156
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "description", [], "any", false, false, false, 156), "html", null, true);
echo "</p>
\t\t\t
\t\t\t<div style=\"margin-top: 20px;\"><strong style=\"color: green;\">Essayer les fonctionnalités <a href=\"#!\">";
// line 158
echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 158, $this->source); })()), "html", null, true);
echo "</a> sur <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "link", [], "any", false, false, false, 158), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "breve", [], "any", false, false, false, 158), "html", null, true);
echo "</a> </strong></div>
\t\t\t";
// line 159
$context["liste_partie"] = twig_get_attribute($this->env, $this->source, $context["article"], "getPartiearticles", [], "any", false, false, false, 159);
// line 160
echo "\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["liste_partie"]) || array_key_exists("liste_partie", $context) ? $context["liste_partie"] : (function () { throw new RuntimeError('Variable "liste_partie" does not exist.', 160, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["partie"]) {
// line 161
echo "\t\t\t <div class=\"topic\">
\t\t\t\t<div class=\"open\">
\t\t\t\t<span class=\"faq-t\" style=\"top: 40px;\"></span>
\t\t\t\t<div class=\"question\">
\t\t\t\t<img src=\"";
// line 165
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["partie"], "imgevenement", [], "any", false, false, false, 165), null))) {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["partie"], "imgevenement", [], "any", false, false, false, 165), "getwebpath", [], "any", false, false, false, 165)), "html", null, true);
} else {
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html", null, true);
}
echo " \" alt=\"...\" style=\"width: 100px; height: 100px; float: left; margin-right: 7px; background: #ddd; margin-top: -20px;\" >
\t\t\t\t<span style=\"font-size: 25px;\">";
// line 166
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partie"], "nom", [], "any", false, false, false, 166), "html", null, true);
echo "</span>
\t\t\t\t<div style=\"color: #333; margin-top: 10px;\">
\t\t\t\t ";
// line 169
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partie"], "breve", [], "any", false, false, false, 169), "html", null, true);
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partie"], "link", [], "any", false, false, false, 169), "html", null, true);
echo "\" class=\"btn btn-primary pull-right\" target=\"_blank\">Essayer <span class=\"fa fa-external-link\" style=\"font-size: 12px;\"></span></a>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"answer\">
\t\t\t\t";
// line 174
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["partie"], "description", [], "any", false, false, false, 174), "html", null, true);
echo "</br>
\t\t\t\t</div>
\t\t\t </div>
\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partie'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
echo "\t
\t\t </article>
\t\t</div>
\t\t</div>
\t\t
\t\t<div style=\"background: rgba(145, 186, 28, 0.2); padding: 10px; text-align: center;\">
\t\t<div><strong style=\"color: green;\">Suivre <a href=\"";
// line 183
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "link", [], "any", false, false, false, 183), "html", null, true);
echo "\" target=\"_blank\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "breve", [], "any", false, false, false, 183), "html", null, true);
echo "</a> sur les réseaux sociaux.</strong></div>
\t\t<div class=\"social-btns\">
\t\t\t";
// line 185
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "facebook", [], "any", false, false, false, 185), null))) {
// line 186
echo "\t\t\t<a class=\"social-btn facebook\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "facebook", [], "any", false, false, false, 186), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
\t\t\t";
} else {
// line 188
echo "\t\t\t<a class=\"social-btn facebook\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-facebook\"></i></a>
\t\t\t";
}
// line 190
echo "\t\t\t";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "twitter", [], "any", false, false, false, 190), null))) {
// line 191
echo "\t\t\t<a class=\"social-btn linkedin\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "twitter", [], "any", false, false, false, 191), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-twitter\"></i></a>
\t\t\t";
} else {
// line 193
echo "\t\t\t<a class=\"social-btn linkedin\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-twitter\"></i></a>
\t\t\t";
}
// line 195
echo "\t\t\t";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "google", [], "any", false, false, false, 195), null))) {
// line 196
echo "\t\t\t<a class=\"social-btn instagram\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "google", [], "any", false, false, false, 196), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-google-plus\"></i></a>
\t\t\t";
} else {
// line 198
echo "\t\t\t<a class=\"social-btn instagram\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-google-plus\"></i></a>
\t\t\t";
}
// line 200
echo "\t\t\t";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, $context["article"], "linkedin", [], "any", false, false, false, 200), null))) {
// line 201
echo "\t\t\t<a class=\"social-btn github\" href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["article"], "linkedin", [], "any", false, false, false, 201), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
\t\t\t";
} else {
// line 203
echo "\t\t\t<a class=\"social-btn instagram\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-linkedin\"></i></a>
\t\t\t";
}
// line 205
echo "\t\t</div>
\t </div>
\t\t";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 208
echo "\t\t<div class=\"col-md-12\" style=\"height: 400px; border-left: 4px solid #3565ae; margin-left: 12px;\">
\t\t\t<div style=\"border-left: 5px solid #3565ae; padding: 3px; background: #f5f5f5; color: red;\">";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Aucune donnée disponible pour cette requête"), "html", null, true);
echo "</div>
\t\t</div>
\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 212
echo "\t\t
\t\t
\t\t</div>
\t\t</div>
\t</div>
</div>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Theme/Produit/Service/Service/articlesdemo.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 401 => 212, 392 => 209, 389 => 208, 382 => 205, 378 => 203, 372 => 201, 369 => 200, 365 => 198, 359 => 196, 356 => 195, 352 => 193, 346 => 191, 343 => 190, 339 => 188, 333 => 186, 331 => 185, 324 => 183, 316 => 177, 306 => 174, 296 => 169, 290 => 166, 282 => 165, 276 => 161, 271 => 160, 269 => 159, 261 => 158, 256 => 156, 250 => 155, 232 => 150, 227 => 148, 223 => 147, 216 => 143, 200 => 134, 196 => 133, 187 => 131, 184 => 130, 179 => 129, 64 => 17, 49 => 5, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"my-container\">
<div class=\"row\">
\t<div class=\"col-md-12\" style=\"margin-bottom: 7px;\">
\t<div class=\"step-indicator\" style=\"display: inline-block; width: 100%; margin: 0px; background: #f9f9f9;\">
\t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">{{ site }}</div></a>
\t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">Démo</div></a>
\t\t<a class=\"stepcard\" href=\"#!\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">Plateformes d'essais</div></a>
\t</div>
\t</div>
</div>
</div>
<div style=\"background: #f5f7f8; padding-top: 20px;\">
\t<div class=\"my-container\">
\t\t<div class=\"row\">
\t\t<div class=\"col-md-4\">
\t\t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Service\\\\ServiceController:menuarticle\", {'position': position})) }}
\t\t</div>
\t\t<div class=\"col-md-8\">
\t\t
<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>
\t\t
\t\t{% for article in liste_article %}
\t\t<div class=\"wrap\">
\t\t<div class=\"card\" style=\"background-image:'{% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin2.png') }}{% endif %}';\">
\t\t <style>
\t\t\t#bg-card-{{ article.id }}{
\t\t\t\tbackground: url({% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/bglogin2.png') }}{% endif %}) -59% 51.5%;
\t\t\t\tmin-height: 250px;
\t\t\t\t color: #fff;
\t\t\t\t position: relative;
\t\t\t\t display: flex;
\t\t\t\t transition: all 1.5s ease-in-out;
\t\t\t\t background-repeat: no-repeat;
\t\t\t\t background-size: cover;
\t\t\t}
\t\t\t#bg-card-{{ article.id }}:hover {
\t\t\t background-position: -79% 21.5%;
\t\t\t}
\t\t </style>
\t\t <a href=\"{{ article.link }}\" style=\"display: block;\" target=\"_blank\">
\t\t <header id=\"bg-card-{{ article.id }}\" class=\"head\">
\t\t <h3>
\t\t <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>
\t\t </h3>
\t\t </header>
\t\t </a>
\t\t <article>
\t\t\t<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>
\t\t\t<p>{{ article.description }}</p>
\t\t\t
\t\t\t<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>
\t\t\t{% set liste_partie = article.getPartiearticles %}
\t\t\t{% for partie in liste_partie %}
\t\t\t <div class=\"topic\">
\t\t\t\t<div class=\"open\">
\t\t\t\t<span class=\"faq-t\" style=\"top: 40px;\"></span>
\t\t\t\t<div class=\"question\">
\t\t\t\t<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;\" >
\t\t\t\t<span style=\"font-size: 25px;\">{{ partie.nom }}</span>
\t\t\t\t<div style=\"color: #333; margin-top: 10px;\">
\t\t\t\t {{ 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>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"answer\">
\t\t\t\t{{ partie.description }}</br>
\t\t\t\t</div>
\t\t\t </div>
\t\t\t{% endfor %}\t
\t\t </article>
\t\t</div>
\t\t</div>
\t\t
\t\t<div style=\"background: rgba(145, 186, 28, 0.2); padding: 10px; text-align: center;\">
\t\t<div><strong style=\"color: green;\">Suivre <a href=\"{{ article.link }}\" target=\"_blank\">{{ article.breve }}</a> sur les réseaux sociaux.</strong></div>
\t\t<div class=\"social-btns\">
\t\t\t{% if article.facebook != null %}
\t\t\t<a class=\"social-btn facebook\" href=\"{{ article.facebook }}\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a>
\t\t\t{% else %}
\t\t\t<a class=\"social-btn facebook\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-facebook\"></i></a>
\t\t\t{% endif %}
\t\t\t{% if article.twitter != null %}
\t\t\t<a class=\"social-btn linkedin\" href=\"{{ article.twitter }}\" target=\"_blank\"><i class=\"fa fa-twitter\"></i></a>
\t\t\t{% else %}
\t\t\t<a class=\"social-btn linkedin\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-twitter\"></i></a>
\t\t\t{% endif %}
\t\t\t{% if article.google != null %}
\t\t\t<a class=\"social-btn instagram\" href=\"{{ article.google }}\" target=\"_blank\"><i class=\"fa fa-google-plus\"></i></a>
\t\t\t{% else %}
\t\t\t<a class=\"social-btn instagram\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-google-plus\"></i></a>
\t\t\t{% endif %}
\t\t\t{% if article.linkedin != null %}
\t\t\t<a class=\"social-btn github\" href=\"{{ article.linkedin }}\" target=\"_blank\"><i class=\"fa fa-linkedin\"></i></a>
\t\t\t{% else %}
\t\t\t<a class=\"social-btn instagram\" href=\"#!\" title=\"Lien Indisponible\"><i class=\"fa fa-linkedin\"></i></a>
\t\t\t{% endif %}
\t\t</div>
\t </div>
\t\t{% else %}
\t\t<div class=\"col-md-12\" style=\"height: 400px; border-left: 4px solid #3565ae; margin-left: 12px;\">
\t\t\t<div style=\"border-left: 5px solid #3565ae; padding: 3px; background: #f5f5f5; color: red;\">{{ 'Aucune donnée disponible pour cette requête'|trans }}</div>
\t\t</div>
\t\t{% endfor %}
\t\t
\t\t
\t\t</div>
\t\t</div>
\t</div>
</div>", "Theme/Produit/Service/Service/articlesdemo.html.twig", "/home/afhunt/domains/factory.afhunt.com/public_html/factory/templates/Theme/Produit/Service/Service/articlesdemo.html.twig");
}
}