var/cache/dev/twig/26/26042375f1fc9097b687269e87aba577.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig */
  14. class __TwigTemplate_7a7061037df1d809122a6ad8a28cbf67 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 4
  29.         return "@SyliusShop/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"));
  38.         // line 1
  39.         $macros["pagination"] = $this->macros["pagination"] = $this->loadTemplate("@SyliusUi/Macro/pagination.html.twig""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"1)->unwrap();
  40.         // line 2
  41.         $macros["messages"] = $this->macros["messages"] = $this->loadTemplate("@SyliusUi/Macro/messages.html.twig""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"2)->unwrap();
  42.         // line 4
  43.         $this->parent $this->loadTemplate("@SyliusShop/layout.html.twig""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"4);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 6
  51.     public function block_content($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  58.         // line 7
  59.         echo "    <div>
  60.         <div class=\"header-evenement-index\">
  61.            <div class=\"container-h text-evenement-header-index\">
  62.                 <span></span>
  63.                <h1>
  64.                    EVENEMENTS
  65.                </h1>
  66.            </div>
  67.         </div>
  68.         <div class=\"container-h\">
  69.             <div class=\"search-evenement\">
  70.                 <form class=\"form-evenement\">
  71.                     <select id=\"departement\">
  72.                         <option value=\"null\">Département</option>
  73.                         <option value=\"Paris\">Paris</option>
  74.                         <option value=\"Bouches-du-Rhône\">Bouches-du-Rhône</option>
  75.                         <option value=\"Haute-Garonne\">Haute-Garonne</option>
  76.                         <option value=\"Alpes-Maritimes\">Alpes-Maritimes</option>
  77.                         <option value=\"Rhône\">Rhône</option>
  78.                         <option value=\"Gironde\">Gironde</option>
  79.                         <option value=\"Nord\">Nord</option>
  80.                         <option value=\"Hauts-de-Seine\">Hauts-de-Seine</option>
  81.                         <option value=\"Seine-Saint-Denis\">Seine-Saint-Denis</option>
  82.                         <option value=\"Val-de-Marne\">Val-de-Marne</option>
  83.                     </select>
  84.                     <div class=\"input-search-evenement\">
  85.                         <input type=\"text\" placeholder=\"Rechercher un événement\">
  86.                     </div>
  87.                     <button type=\"submit\" class=\"btn-evenement\">Rechercher</button>
  88.                 </form>
  89.             </div>
  90.             <div>
  91.                 ";
  92.         // line 39
  93.         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)) {
  94.             // line 40
  95.             echo "                    <div class=\"ui three odd doubling cards\" id=\"articleContainer\">
  96.                         ";
  97.             // line 41
  98.             $this->loadTemplate("@OdiseoSyliusBlogPlugin/Shop/Evenement/listEvenement.twig""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"41)->display($context);
  99.             // line 42
  100.             echo "                        ";
  101.             $this->loadTemplate("@OdiseoSyliusBlogPlugin/Shop/Evenement/pagination.html.twig""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig"42)->display($context);
  102.             // line 43
  103.             echo "                    </div>
  104.                 ";
  105.         } else {
  106.             // line 45
  107.             echo "                    <div class=\"ui info message\">
  108.                         <div class=\"header\">
  109.                             ";
  110.             // line 47
  111.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.no_results"), "html"nulltrue);
  112.             echo "
  113.                         </div>
  114.                     </div>
  115.                 ";
  116.         }
  117.         // line 51
  118.         echo "            </div>
  119.         </div>
  120.     </div>
  121.     <style>
  122.         /*.page-selector-container{*/
  123.         /*    display: flex;*/
  124.         /*    flex-direction: row;*/
  125.         /*    gap: 1rem;*/
  126.         /*    justify-content: center;*/
  127.         /*    align-items: center;*/
  128.         /*    margin-top: 2rem;*/
  129.         /*    width: 100%;*/
  130.         /*}*/
  131.         /*.page-selector-item{*/
  132.         /*    padding: 0.5rem 1rem;*/
  133.         /*    cursor: pointer;*/
  134.         /*    color: black;*/
  135.         /*}*/
  136.         /*.page-selector-item:hover{*/
  137.         /*    color: inherit;*/
  138.         /*}*/
  139.         /*!*.page-selector-item a{*!*/
  140.         /*!*    color: initial;*!*/
  141.         /*!*}*!*/
  142.         /*.page-selector-item.selected{*/
  143.         /*    background-color: #E35E31;*/
  144.         /*    border-radius: 5px;*/
  145.         /*    color: white;*/
  146.         /*}*/
  147.         /*!*.page-selector-item.selected a {*!*/
  148.         /*!*    color: white;*!*/
  149.         /*!*    width: 100%;*!*/
  150.         /*!*    height: 100%;*!*/
  151.         /*!*}*!*/
  152.         /*.text-article{*/
  153.         /*    display: flex;*/
  154.         /*    flex-direction: column;*/
  155.         /*    gap: 1rem;*/
  156.         /*    align-items: flex-start;*/
  157.         /*    padding: 1rem;*/
  158.         /*}*/
  159.         /*.text-article a{*/
  160.         /*    color: black;*/
  161.         /*}*/
  162.         /*.place-times-event{*/
  163.         /*    display: inline-flex;*/
  164.         /*    gap: 1rem;*/
  165.         /*}*/
  166.         /*.header-evenement-index{*/
  167.         /*    width: 100%;*/
  168.         /*    height: 300px;*/
  169.         /*    background-color: black;*/
  170.         /*}*/
  171.         /*.text-evenement-header-index{*/
  172.         /*    color: white;*/
  173.         /*    display: flex;*/
  174.         /*    flex-direction: row;*/
  175.         /*    justify-content: flex-start;*/
  176.         /*    align-items: center;*/
  177.         /*    height: 100%;*/
  178.         /*    gap: 2rem;*/
  179.         /*}*/
  180.         /*.text-evenement-header-index span{*/
  181.         /*    width: 80px;*/
  182.         /*    height: 1px;*/
  183.         /*    background-color: white;*/
  184.         /*}*/
  185.         /*.text-evenement-header-index h1 {*/
  186.         /*    margin: 0 !important;*/
  187.         /*    padding: 0 !important;*/
  188.         /*}*/
  189.         /*.search-evenement{*/
  190.         /*padding: 2rem 0 3rem 0;*/
  191.         /*}*/
  192.         /*.form-evenement{*/
  193.         /*    display: flex;*/
  194.         /*    flex-direction: row;*/
  195.         /*    justify-content: space-between;*/
  196.         /*    align-items: center;*/
  197.         /*    gap: 1rem;*/
  198.         /*    width: 50%;*/
  199.         /*    background-color: #F8F8F8;*/
  200.         /*    margin: 0 auto;*/
  201.         /*}*/
  202.         /*.input-search-evenement{*/
  203.         /*    display: inline-flex;*/
  204.         /*    justify-content: flex-start;*/
  205.         /*    align-items: center;*/
  206.         /*    gap: 1rem;*/
  207.         /*    border-left: 1px solid #ccc;*/
  208.         /*}*/
  209.         /*#departement{*/
  210.         /*    width: 200px;*/
  211.         /*    height: 40px;*/
  212.         /*    border-radius: 5px;*/
  213.         /*    border: none;*/
  214.         /*    padding: 0 1rem;*/
  215.         /*    outline: none;*/
  216.         /*    background-color: transparent;*/
  217.         /*    color: #ccc;*/
  218.         /*}*/
  219.         /*#departement:focus{*/
  220.         /*    color: #000000;*/
  221.         /*}*/
  222.         /*.input-search-evenement {*/
  223.         /*    width: 100%;*/
  224.         /*}*/
  225.         /*.input-search-evenement input{*/
  226.         /*    width: 100%;*/
  227.         /*    height: 40px;*/
  228.         /*    border-radius: 0 5px 5px 0;*/
  229.         /*    border: none;*/
  230.         /*    padding: 0 1rem;*/
  231.         /*    outline: none;*/
  232.         /*    background-color: transparent;*/
  233.         /*}*/
  234.         /*.input-search-evenement input::placeholder{*/
  235.         /*    color: #ccc;*/
  236.         /*}*/
  237.         /*.input-search-evenement input:focus{*/
  238.         /*    border: 0;*/
  239.         /*}*/
  240.         /*.form-evenement .btn-evenement{*/
  241.         /*    width: 200px;*/
  242.         /*    height: 40px;*/
  243.         /*    border-radius: 5px;*/
  244.         /*    border: 1px solid #ccc;*/
  245.         /*    padding: 0 1rem;*/
  246.         /*    outline: none;*/
  247.         /*    background-color: #E35E31;*/
  248.         /*    color: white;*/
  249.         /*    cursor: pointer;*/
  250.         /*}*/
  251.     </style>
  252. ";
  253.         
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  255.         
  256.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  257.     }
  258.     public function getTemplateName()
  259.     {
  260.         return "@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig";
  261.     }
  262.     public function isTraitable()
  263.     {
  264.         return false;
  265.     }
  266.     public function getDebugInfo()
  267.     {
  268.         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,);
  269.     }
  270.     public function getSourceContext()
  271.     {
  272.         return new Source("{% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
  273. {% import '@SyliusUi/Macro/messages.html.twig' as messages %}
  274. {% extends '@SyliusShop/layout.html.twig' %}
  275. {% block content %}
  276.     <div>
  277.         <div class=\"header-evenement-index\">
  278.            <div class=\"container-h text-evenement-header-index\">
  279.                 <span></span>
  280.                <h1>
  281.                    EVENEMENTS
  282.                </h1>
  283.            </div>
  284.         </div>
  285.         <div class=\"container-h\">
  286.             <div class=\"search-evenement\">
  287.                 <form class=\"form-evenement\">
  288.                     <select id=\"departement\">
  289.                         <option value=\"null\">Département</option>
  290.                         <option value=\"Paris\">Paris</option>
  291.                         <option value=\"Bouches-du-Rhône\">Bouches-du-Rhône</option>
  292.                         <option value=\"Haute-Garonne\">Haute-Garonne</option>
  293.                         <option value=\"Alpes-Maritimes\">Alpes-Maritimes</option>
  294.                         <option value=\"Rhône\">Rhône</option>
  295.                         <option value=\"Gironde\">Gironde</option>
  296.                         <option value=\"Nord\">Nord</option>
  297.                         <option value=\"Hauts-de-Seine\">Hauts-de-Seine</option>
  298.                         <option value=\"Seine-Saint-Denis\">Seine-Saint-Denis</option>
  299.                         <option value=\"Val-de-Marne\">Val-de-Marne</option>
  300.                     </select>
  301.                     <div class=\"input-search-evenement\">
  302.                         <input type=\"text\" placeholder=\"Rechercher un événement\">
  303.                     </div>
  304.                     <button type=\"submit\" class=\"btn-evenement\">Rechercher</button>
  305.                 </form>
  306.             </div>
  307.             <div>
  308.                 {% if resources|length > 0 %}
  309.                     <div class=\"ui three odd doubling cards\" id=\"articleContainer\">
  310.                         {% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/listEvenement.twig' %}
  311.                         {% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/pagination.html.twig' %}
  312.                     </div>
  313.                 {% else %}
  314.                     <div class=\"ui info message\">
  315.                         <div class=\"header\">
  316.                             {{ 'sylius.ui.no_results'|trans }}
  317.                         </div>
  318.                     </div>
  319.                 {% endif %}
  320.             </div>
  321.         </div>
  322.     </div>
  323.     <style>
  324.         /*.page-selector-container{*/
  325.         /*    display: flex;*/
  326.         /*    flex-direction: row;*/
  327.         /*    gap: 1rem;*/
  328.         /*    justify-content: center;*/
  329.         /*    align-items: center;*/
  330.         /*    margin-top: 2rem;*/
  331.         /*    width: 100%;*/
  332.         /*}*/
  333.         /*.page-selector-item{*/
  334.         /*    padding: 0.5rem 1rem;*/
  335.         /*    cursor: pointer;*/
  336.         /*    color: black;*/
  337.         /*}*/
  338.         /*.page-selector-item:hover{*/
  339.         /*    color: inherit;*/
  340.         /*}*/
  341.         /*!*.page-selector-item a{*!*/
  342.         /*!*    color: initial;*!*/
  343.         /*!*}*!*/
  344.         /*.page-selector-item.selected{*/
  345.         /*    background-color: #E35E31;*/
  346.         /*    border-radius: 5px;*/
  347.         /*    color: white;*/
  348.         /*}*/
  349.         /*!*.page-selector-item.selected a {*!*/
  350.         /*!*    color: white;*!*/
  351.         /*!*    width: 100%;*!*/
  352.         /*!*    height: 100%;*!*/
  353.         /*!*}*!*/
  354.         /*.text-article{*/
  355.         /*    display: flex;*/
  356.         /*    flex-direction: column;*/
  357.         /*    gap: 1rem;*/
  358.         /*    align-items: flex-start;*/
  359.         /*    padding: 1rem;*/
  360.         /*}*/
  361.         /*.text-article a{*/
  362.         /*    color: black;*/
  363.         /*}*/
  364.         /*.place-times-event{*/
  365.         /*    display: inline-flex;*/
  366.         /*    gap: 1rem;*/
  367.         /*}*/
  368.         /*.header-evenement-index{*/
  369.         /*    width: 100%;*/
  370.         /*    height: 300px;*/
  371.         /*    background-color: black;*/
  372.         /*}*/
  373.         /*.text-evenement-header-index{*/
  374.         /*    color: white;*/
  375.         /*    display: flex;*/
  376.         /*    flex-direction: row;*/
  377.         /*    justify-content: flex-start;*/
  378.         /*    align-items: center;*/
  379.         /*    height: 100%;*/
  380.         /*    gap: 2rem;*/
  381.         /*}*/
  382.         /*.text-evenement-header-index span{*/
  383.         /*    width: 80px;*/
  384.         /*    height: 1px;*/
  385.         /*    background-color: white;*/
  386.         /*}*/
  387.         /*.text-evenement-header-index h1 {*/
  388.         /*    margin: 0 !important;*/
  389.         /*    padding: 0 !important;*/
  390.         /*}*/
  391.         /*.search-evenement{*/
  392.         /*padding: 2rem 0 3rem 0;*/
  393.         /*}*/
  394.         /*.form-evenement{*/
  395.         /*    display: flex;*/
  396.         /*    flex-direction: row;*/
  397.         /*    justify-content: space-between;*/
  398.         /*    align-items: center;*/
  399.         /*    gap: 1rem;*/
  400.         /*    width: 50%;*/
  401.         /*    background-color: #F8F8F8;*/
  402.         /*    margin: 0 auto;*/
  403.         /*}*/
  404.         /*.input-search-evenement{*/
  405.         /*    display: inline-flex;*/
  406.         /*    justify-content: flex-start;*/
  407.         /*    align-items: center;*/
  408.         /*    gap: 1rem;*/
  409.         /*    border-left: 1px solid #ccc;*/
  410.         /*}*/
  411.         /*#departement{*/
  412.         /*    width: 200px;*/
  413.         /*    height: 40px;*/
  414.         /*    border-radius: 5px;*/
  415.         /*    border: none;*/
  416.         /*    padding: 0 1rem;*/
  417.         /*    outline: none;*/
  418.         /*    background-color: transparent;*/
  419.         /*    color: #ccc;*/
  420.         /*}*/
  421.         /*#departement:focus{*/
  422.         /*    color: #000000;*/
  423.         /*}*/
  424.         /*.input-search-evenement {*/
  425.         /*    width: 100%;*/
  426.         /*}*/
  427.         /*.input-search-evenement input{*/
  428.         /*    width: 100%;*/
  429.         /*    height: 40px;*/
  430.         /*    border-radius: 0 5px 5px 0;*/
  431.         /*    border: none;*/
  432.         /*    padding: 0 1rem;*/
  433.         /*    outline: none;*/
  434.         /*    background-color: transparent;*/
  435.         /*}*/
  436.         /*.input-search-evenement input::placeholder{*/
  437.         /*    color: #ccc;*/
  438.         /*}*/
  439.         /*.input-search-evenement input:focus{*/
  440.         /*    border: 0;*/
  441.         /*}*/
  442.         /*.form-evenement .btn-evenement{*/
  443.         /*    width: 200px;*/
  444.         /*    height: 40px;*/
  445.         /*    border-radius: 5px;*/
  446.         /*    border: 1px solid #ccc;*/
  447.         /*    padding: 0 1rem;*/
  448.         /*    outline: none;*/
  449.         /*    background-color: #E35E31;*/
  450.         /*    color: white;*/
  451.         /*    cursor: pointer;*/
  452.         /*}*/
  453.     </style>
  454. {% endblock %}
  455. ""@OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig""/var/www/Bikers/templates/bundles/OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig");
  456.     }
  457. }