<?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;
/* @OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig */
class __TwigTemplate_7a7061037df1d809122a6ad8a28cbf67 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 4
return "@SyliusShop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"));
// line 1
$macros["pagination"] = $this->macros["pagination"] = $this->loadTemplate("@SyliusUi/Macro/pagination.html.twig", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", 1)->unwrap();
// line 2
$macros["messages"] = $this->macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", 2)->unwrap();
// line 4
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
echo " <div>
<div class=\"header-evenement-index\">
<div class=\"container-h text-evenement-header-index\">
<span></span>
<h1>
EVENEMENTS
</h1>
</div>
</div>
<div class=\"container-h\">
<div class=\"search-evenement\">
<form class=\"form-evenement\">
<select id=\"departement\">
<option value=\"null\">Département</option>
<option value=\"Paris\">Paris</option>
<option value=\"Bouches-du-Rhône\">Bouches-du-Rhône</option>
<option value=\"Haute-Garonne\">Haute-Garonne</option>
<option value=\"Alpes-Maritimes\">Alpes-Maritimes</option>
<option value=\"Rhône\">Rhône</option>
<option value=\"Gironde\">Gironde</option>
<option value=\"Nord\">Nord</option>
<option value=\"Hauts-de-Seine\">Hauts-de-Seine</option>
<option value=\"Seine-Saint-Denis\">Seine-Saint-Denis</option>
<option value=\"Val-de-Marne\">Val-de-Marne</option>
</select>
<div class=\"input-search-evenement\">
<input type=\"text\" placeholder=\"Rechercher un événement\">
</div>
<button type=\"submit\" class=\"btn-evenement\">Rechercher</button>
</form>
</div>
<div>
";
// line 39
if ((twig_length_filter($this->env, (isset($context["resources"]) || array_key_exists("resources", $context) ? $context["resources"] : (function () { throw new RuntimeError('Variable "resources" does not exist.', 39, $this->source); })())) > 0)) {
// line 40
echo " <div class=\"ui three odd doubling cards\" id=\"articleContainer\">
";
// line 41
$this->loadTemplate("@OdiseoSyliusBlogPlugin/Shop/Evenement/listEvenement.twig", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", 41)->display($context);
// line 42
echo " ";
$this->loadTemplate("@OdiseoSyliusBlogPlugin/Shop/Evenement/pagination.html.twig", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", 42)->display($context);
// line 43
echo " </div>
";
} else {
// line 45
echo " <div class=\"ui info message\">
<div class=\"header\">
";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.no_results"), "html", null, true);
echo "
</div>
</div>
";
}
// line 51
echo " </div>
</div>
</div>
<style>
/*.page-selector-container{*/
/* display: flex;*/
/* flex-direction: row;*/
/* gap: 1rem;*/
/* justify-content: center;*/
/* align-items: center;*/
/* margin-top: 2rem;*/
/* width: 100%;*/
/*}*/
/*.page-selector-item{*/
/* padding: 0.5rem 1rem;*/
/* cursor: pointer;*/
/* color: black;*/
/*}*/
/*.page-selector-item:hover{*/
/* color: inherit;*/
/*}*/
/*!*.page-selector-item a{*!*/
/*!* color: initial;*!*/
/*!*}*!*/
/*.page-selector-item.selected{*/
/* background-color: #E35E31;*/
/* border-radius: 5px;*/
/* color: white;*/
/*}*/
/*!*.page-selector-item.selected a {*!*/
/*!* color: white;*!*/
/*!* width: 100%;*!*/
/*!* height: 100%;*!*/
/*!*}*!*/
/*.text-article{*/
/* display: flex;*/
/* flex-direction: column;*/
/* gap: 1rem;*/
/* align-items: flex-start;*/
/* padding: 1rem;*/
/*}*/
/*.text-article a{*/
/* color: black;*/
/*}*/
/*.place-times-event{*/
/* display: inline-flex;*/
/* gap: 1rem;*/
/*}*/
/*.header-evenement-index{*/
/* width: 100%;*/
/* height: 300px;*/
/* background-color: black;*/
/*}*/
/*.text-evenement-header-index{*/
/* color: white;*/
/* display: flex;*/
/* flex-direction: row;*/
/* justify-content: flex-start;*/
/* align-items: center;*/
/* height: 100%;*/
/* gap: 2rem;*/
/*}*/
/*.text-evenement-header-index span{*/
/* width: 80px;*/
/* height: 1px;*/
/* background-color: white;*/
/*}*/
/*.text-evenement-header-index h1 {*/
/* margin: 0 !important;*/
/* padding: 0 !important;*/
/*}*/
/*.search-evenement{*/
/*padding: 2rem 0 3rem 0;*/
/*}*/
/*.form-evenement{*/
/* display: flex;*/
/* flex-direction: row;*/
/* justify-content: space-between;*/
/* align-items: center;*/
/* gap: 1rem;*/
/* width: 50%;*/
/* background-color: #F8F8F8;*/
/* margin: 0 auto;*/
/*}*/
/*.input-search-evenement{*/
/* display: inline-flex;*/
/* justify-content: flex-start;*/
/* align-items: center;*/
/* gap: 1rem;*/
/* border-left: 1px solid #ccc;*/
/*}*/
/*#departement{*/
/* width: 200px;*/
/* height: 40px;*/
/* border-radius: 5px;*/
/* border: none;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: transparent;*/
/* color: #ccc;*/
/*}*/
/*#departement:focus{*/
/* color: #000000;*/
/*}*/
/*.input-search-evenement {*/
/* width: 100%;*/
/*}*/
/*.input-search-evenement input{*/
/* width: 100%;*/
/* height: 40px;*/
/* border-radius: 0 5px 5px 0;*/
/* border: none;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: transparent;*/
/*}*/
/*.input-search-evenement input::placeholder{*/
/* color: #ccc;*/
/*}*/
/*.input-search-evenement input:focus{*/
/* border: 0;*/
/*}*/
/*.form-evenement .btn-evenement{*/
/* width: 200px;*/
/* height: 40px;*/
/* border-radius: 5px;*/
/* border: 1px solid #ccc;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: #E35E31;*/
/* color: white;*/
/* cursor: pointer;*/
/*}*/
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 132 => 51, 125 => 47, 121 => 45, 117 => 43, 114 => 42, 112 => 41, 109 => 40, 107 => 39, 73 => 7, 63 => 6, 52 => 4, 50 => 2, 48 => 1, 35 => 4,);
}
public function getSourceContext()
{
return new Source("{% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
{% import '@SyliusUi/Macro/messages.html.twig' as messages %}
{% extends '@SyliusShop/layout.html.twig' %}
{% block content %}
<div>
<div class=\"header-evenement-index\">
<div class=\"container-h text-evenement-header-index\">
<span></span>
<h1>
EVENEMENTS
</h1>
</div>
</div>
<div class=\"container-h\">
<div class=\"search-evenement\">
<form class=\"form-evenement\">
<select id=\"departement\">
<option value=\"null\">Département</option>
<option value=\"Paris\">Paris</option>
<option value=\"Bouches-du-Rhône\">Bouches-du-Rhône</option>
<option value=\"Haute-Garonne\">Haute-Garonne</option>
<option value=\"Alpes-Maritimes\">Alpes-Maritimes</option>
<option value=\"Rhône\">Rhône</option>
<option value=\"Gironde\">Gironde</option>
<option value=\"Nord\">Nord</option>
<option value=\"Hauts-de-Seine\">Hauts-de-Seine</option>
<option value=\"Seine-Saint-Denis\">Seine-Saint-Denis</option>
<option value=\"Val-de-Marne\">Val-de-Marne</option>
</select>
<div class=\"input-search-evenement\">
<input type=\"text\" placeholder=\"Rechercher un événement\">
</div>
<button type=\"submit\" class=\"btn-evenement\">Rechercher</button>
</form>
</div>
<div>
{% if resources|length > 0 %}
<div class=\"ui three odd doubling cards\" id=\"articleContainer\">
{% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/listEvenement.twig' %}
{% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/pagination.html.twig' %}
</div>
{% else %}
<div class=\"ui info message\">
<div class=\"header\">
{{ 'sylius.ui.no_results'|trans }}
</div>
</div>
{% endif %}
</div>
</div>
</div>
<style>
/*.page-selector-container{*/
/* display: flex;*/
/* flex-direction: row;*/
/* gap: 1rem;*/
/* justify-content: center;*/
/* align-items: center;*/
/* margin-top: 2rem;*/
/* width: 100%;*/
/*}*/
/*.page-selector-item{*/
/* padding: 0.5rem 1rem;*/
/* cursor: pointer;*/
/* color: black;*/
/*}*/
/*.page-selector-item:hover{*/
/* color: inherit;*/
/*}*/
/*!*.page-selector-item a{*!*/
/*!* color: initial;*!*/
/*!*}*!*/
/*.page-selector-item.selected{*/
/* background-color: #E35E31;*/
/* border-radius: 5px;*/
/* color: white;*/
/*}*/
/*!*.page-selector-item.selected a {*!*/
/*!* color: white;*!*/
/*!* width: 100%;*!*/
/*!* height: 100%;*!*/
/*!*}*!*/
/*.text-article{*/
/* display: flex;*/
/* flex-direction: column;*/
/* gap: 1rem;*/
/* align-items: flex-start;*/
/* padding: 1rem;*/
/*}*/
/*.text-article a{*/
/* color: black;*/
/*}*/
/*.place-times-event{*/
/* display: inline-flex;*/
/* gap: 1rem;*/
/*}*/
/*.header-evenement-index{*/
/* width: 100%;*/
/* height: 300px;*/
/* background-color: black;*/
/*}*/
/*.text-evenement-header-index{*/
/* color: white;*/
/* display: flex;*/
/* flex-direction: row;*/
/* justify-content: flex-start;*/
/* align-items: center;*/
/* height: 100%;*/
/* gap: 2rem;*/
/*}*/
/*.text-evenement-header-index span{*/
/* width: 80px;*/
/* height: 1px;*/
/* background-color: white;*/
/*}*/
/*.text-evenement-header-index h1 {*/
/* margin: 0 !important;*/
/* padding: 0 !important;*/
/*}*/
/*.search-evenement{*/
/*padding: 2rem 0 3rem 0;*/
/*}*/
/*.form-evenement{*/
/* display: flex;*/
/* flex-direction: row;*/
/* justify-content: space-between;*/
/* align-items: center;*/
/* gap: 1rem;*/
/* width: 50%;*/
/* background-color: #F8F8F8;*/
/* margin: 0 auto;*/
/*}*/
/*.input-search-evenement{*/
/* display: inline-flex;*/
/* justify-content: flex-start;*/
/* align-items: center;*/
/* gap: 1rem;*/
/* border-left: 1px solid #ccc;*/
/*}*/
/*#departement{*/
/* width: 200px;*/
/* height: 40px;*/
/* border-radius: 5px;*/
/* border: none;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: transparent;*/
/* color: #ccc;*/
/*}*/
/*#departement:focus{*/
/* color: #000000;*/
/*}*/
/*.input-search-evenement {*/
/* width: 100%;*/
/*}*/
/*.input-search-evenement input{*/
/* width: 100%;*/
/* height: 40px;*/
/* border-radius: 0 5px 5px 0;*/
/* border: none;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: transparent;*/
/*}*/
/*.input-search-evenement input::placeholder{*/
/* color: #ccc;*/
/*}*/
/*.input-search-evenement input:focus{*/
/* border: 0;*/
/*}*/
/*.form-evenement .btn-evenement{*/
/* width: 200px;*/
/* height: 40px;*/
/* border-radius: 5px;*/
/* border: 1px solid #ccc;*/
/* padding: 0 1rem;*/
/* outline: none;*/
/* background-color: #E35E31;*/
/* color: white;*/
/* cursor: pointer;*/
/*}*/
</style>
{% endblock %}
", "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig", "/var/www/Bikers/templates/bundles/OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig");
}
}