var/cache/dev/twig/3f/3f7906b3b462bbfa7fd5ab5779cd6e45.php line 50

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. /* @SyliusShop/Homepage/searchProduct.html.twig */
  14. class __TwigTemplate_52c70afd882ce1b0e771e771d56242d1 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/searchProduct.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusShop/Homepage/searchProduct.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"div-search-product\">
  35.     <h4> Articles Récents</h4>
  36.  ";
  37.         // line 61
  38.         echo "    <div class=\"divider-evenement\"></div>
  39.     ";
  40.         // line 62
  41.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_product_index_latest", ["count" => 6"template" => "@SyliusShop/Homepage/_list.html.twig"]));
  42.         echo "
  43. </div>
  44. <style>
  45.     /*.form-search-product{*/
  46.     /*    display: flex;*/
  47.     /*    flex-direction: row;*/
  48.     /*    justify-content: space-between;*/
  49.     /*    align-items: end;*/
  50.     /*    height: fit-content;*/
  51.     /*}*/
  52.     /*!*.div-search-product{*!*/
  53.     /*!*    margin-top: 4rem;*!*/
  54.     /*!*}*!*/
  55.     /*.div-search-product h4, #div-service h2{*/
  56.     /*    font-size: var(--lg-fz);*/
  57.     /*    font-weight: bold;*/
  58.     /*    text-transform: uppercase;*/
  59.     /*    color: black;*/
  60.     /*    position: relative;*/
  61.     /*    width: fit-content;*/
  62.     /*    padding: 1.5rem 0 !important;*/
  63.     /*    margin-bottom: 0 !important;*/
  64.     /*    margin-top: 4rem;*/
  65.     /*    margin-left: auto;*/
  66.     /*    margin-right: auto;*/
  67.     /*}*/
  68.     /*!*I want a before after to make a border in the left 50% bottom of #div-collection h2*!*/
  69.     /*.div-search-product h4::before,#div-service h2::before,*/
  70.     /*.div-search-product h4::after, #div-service h2::after*/
  71.     /*{*/
  72.     /*    content: \"\";*/
  73.     /*    position: absolute;*/
  74.     /*    width: 50%;*/
  75.     /*    height: 5px;*/
  76.     /*    background-color: #E35E31;*/
  77.     /*    bottom: 0;*/
  78.     /*    left: 25%;*/
  79.     /*}*/
  80.     /*.div-form-search{*/
  81.     /*    !*height: 300px;*!*/
  82.     /*    width: 100%;*/
  83.     /*    background-color: black;*/
  84.     /*    padding: 2rem 3rem 3rem 3rem;*/
  85.     /*    margin: 4rem 0;*/
  86.     /*}*/
  87.     /*.search-title{*/
  88.     /*    width: 100%;*/
  89.     /*    color: white;*/
  90.     /*    font-size: var(--sm-fz);*/
  91.     /*}*/
  92.     /*.div-label-input-search{*/
  93.     /*    display: flex;*/
  94.     /*    flex-direction: column;*/
  95.     /*    justify-content: center;*/
  96.     /*    align-items: start;*/
  97.     /*    color: white;*/
  98.     /*    gap: 1rem;*/
  99.     /*}*/
  100.     /*.div-label-input-search label{*/
  101.     /*    font-size: var(--sm-fz) - 0.2rem;*/
  102.     /*    font-weight: bold;padding-left: 0.5rem;*/
  103.     /*}*/
  104.     /*.trait.divider{*/
  105.     /*    width: 100%;*/
  106.     /*    height: 1px;*/
  107.     /*    background-color: white;*/
  108.     /*    margin: 1rem 0;*/
  109.     /*    opacity: 0.3;*/
  110.     /*}*/
  111.     /*.div-label-input-search select{*/
  112.     /*    width: 270px;*/
  113.     /*    height: 50px;*/
  114.     /*    border: none;*/
  115.     /*    padding: 1rem;*/
  116.     /*}*/
  117.     /*#button-submit-search{*/
  118.     /*    padding: 1rem;*/
  119.     /*    background-color: #E35E31;*/
  120.     /*    color: white;*/
  121.     /*    border-radius: 0;*/
  122.     /*    height: 50px;*/
  123.     /*}*/
  124.     /*.div-button-submit-search{*/
  125.     /*    display: flex;*/
  126.     /*    !*justify-content: center;*!*/
  127.     /*    align-items: end;*/
  128.     /*    height: 100%;*/
  129.     /*}*/
  130.     /*.divider-evenement {*/
  131.     /*    width: 100%;*/
  132.     /*    height: 4rem;*/
  133.     /*    background-color: transparent;*/
  134.     /*}*/
  135. </style>
  136. ";
  137.         
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  139.         
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  141.     }
  142.     public function getTemplateName()
  143.     {
  144.         return "@SyliusShop/Homepage/searchProduct.html.twig";
  145.     }
  146.     public function isTraitable()
  147.     {
  148.         return false;
  149.     }
  150.     public function getDebugInfo()
  151.     {
  152.         return array (  50 => 62,  47 => 61,  43 => 1,);
  153.     }
  154.     public function getSourceContext()
  155.     {
  156.         return new Source("<div class=\"div-search-product\">
  157.     <h4> Articles Récents</h4>
  158.  {#
  159.     <div class=\"div-form-search\">
  160.         <div class=\"search-title\">
  161.             <span>RECHERCHER PAR</span>
  162.         </div>
  163.         <div class=\"trait divider\"></div>
  164.             <form method=\"POST\" class=\"form-search-product\">
  165.                 <div class=\"div-label-input-search\">
  166.                     <label for=\"category\">Categories</label>
  167.                     <select name=\"category\" id=\"category\">
  168.                         <option value=\"\">Tous</option>
  169.                         <option value=\"voiture\">Voiture</option>
  170.                         <option value=\"moto\">Moto</option>
  171.                         <option value=\"camion\">Camion</option>
  172.                         <option value=\"bateau\">Bateau</option>
  173.                         <option value=\"avion\">Avion</option>
  174.                     </select>
  175.                 </div>
  176.                 <div class=\"div-label-input-search\">
  177.                     <label for=\"brand\">Marque :</label>
  178.                     <select name=\"brand\" id=\"brand\">
  179.                         <option value=\"\">-- Sélectionner une marque --</option>
  180.                         <option value=\"ford\">Ford</option>
  181.                         <option value=\"toyota\">Toyota</option>
  182.                         <option value=\"bmw\">BMW</option>
  183.                         <option value=\"honda\">Honda</option>
  184.                         <option value=\"nissan\">Nissan</option>
  185.                     </select>
  186.                 </div>
  187.                 <div class=\"div-label-input-search\">
  188.                     <label for=\"condition\">Type d'occasion :</label>
  189.                     <select name=\"condition\" id=\"condition\">
  190.                         <option value=\"\">-- Sélectionner un type d'occasion --</option>
  191.                         <option value=\"neuf\">Neuf</option>
  192.                         <option value=\"occasion\">Occasion</option>
  193.                         <option value=\"certifie\">Certifié</option>
  194.                         <option value=\"reconditionne\">Reconditionné</option>
  195.                         <option value=\"garantie\">Garanti</option>
  196.                     </select>
  197.                 </div>
  198.                 <div class=\"div-label-input-search\">
  199.                     <label for=\"model\">Modèle :</label>
  200.                     <select name=\"model\" id=\"model\">
  201.                         <option value=\"\">-- Sélectionner un modèle --</option>
  202.                         <option value=\"mustang\">Mustang</option>
  203.                         <option value=\"corolla\">Corolla</option>
  204.                         <option value=\"serie3\">Série 3</option>
  205.                         <option value=\"civic\">Civic</option>
  206.                         <option value=\"sentra\">Sentra</option>
  207.                     </select>
  208.                 </div>
  209.                 <div class=\"div-button-submit-search\">
  210.                     <button type=\"submit\" class=\"ui button\" id=\"button-submit-search\">Rechercher</button>
  211.                 </div>
  212.             </form>
  213.     </div>
  214.  #}
  215.     <div class=\"divider-evenement\"></div>
  216.     {{ render(url('sylius_shop_partial_product_index_latest', {'count': 6, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  217. </div>
  218. <style>
  219.     /*.form-search-product{*/
  220.     /*    display: flex;*/
  221.     /*    flex-direction: row;*/
  222.     /*    justify-content: space-between;*/
  223.     /*    align-items: end;*/
  224.     /*    height: fit-content;*/
  225.     /*}*/
  226.     /*!*.div-search-product{*!*/
  227.     /*!*    margin-top: 4rem;*!*/
  228.     /*!*}*!*/
  229.     /*.div-search-product h4, #div-service h2{*/
  230.     /*    font-size: var(--lg-fz);*/
  231.     /*    font-weight: bold;*/
  232.     /*    text-transform: uppercase;*/
  233.     /*    color: black;*/
  234.     /*    position: relative;*/
  235.     /*    width: fit-content;*/
  236.     /*    padding: 1.5rem 0 !important;*/
  237.     /*    margin-bottom: 0 !important;*/
  238.     /*    margin-top: 4rem;*/
  239.     /*    margin-left: auto;*/
  240.     /*    margin-right: auto;*/
  241.     /*}*/
  242.     /*!*I want a before after to make a border in the left 50% bottom of #div-collection h2*!*/
  243.     /*.div-search-product h4::before,#div-service h2::before,*/
  244.     /*.div-search-product h4::after, #div-service h2::after*/
  245.     /*{*/
  246.     /*    content: \"\";*/
  247.     /*    position: absolute;*/
  248.     /*    width: 50%;*/
  249.     /*    height: 5px;*/
  250.     /*    background-color: #E35E31;*/
  251.     /*    bottom: 0;*/
  252.     /*    left: 25%;*/
  253.     /*}*/
  254.     /*.div-form-search{*/
  255.     /*    !*height: 300px;*!*/
  256.     /*    width: 100%;*/
  257.     /*    background-color: black;*/
  258.     /*    padding: 2rem 3rem 3rem 3rem;*/
  259.     /*    margin: 4rem 0;*/
  260.     /*}*/
  261.     /*.search-title{*/
  262.     /*    width: 100%;*/
  263.     /*    color: white;*/
  264.     /*    font-size: var(--sm-fz);*/
  265.     /*}*/
  266.     /*.div-label-input-search{*/
  267.     /*    display: flex;*/
  268.     /*    flex-direction: column;*/
  269.     /*    justify-content: center;*/
  270.     /*    align-items: start;*/
  271.     /*    color: white;*/
  272.     /*    gap: 1rem;*/
  273.     /*}*/
  274.     /*.div-label-input-search label{*/
  275.     /*    font-size: var(--sm-fz) - 0.2rem;*/
  276.     /*    font-weight: bold;padding-left: 0.5rem;*/
  277.     /*}*/
  278.     /*.trait.divider{*/
  279.     /*    width: 100%;*/
  280.     /*    height: 1px;*/
  281.     /*    background-color: white;*/
  282.     /*    margin: 1rem 0;*/
  283.     /*    opacity: 0.3;*/
  284.     /*}*/
  285.     /*.div-label-input-search select{*/
  286.     /*    width: 270px;*/
  287.     /*    height: 50px;*/
  288.     /*    border: none;*/
  289.     /*    padding: 1rem;*/
  290.     /*}*/
  291.     /*#button-submit-search{*/
  292.     /*    padding: 1rem;*/
  293.     /*    background-color: #E35E31;*/
  294.     /*    color: white;*/
  295.     /*    border-radius: 0;*/
  296.     /*    height: 50px;*/
  297.     /*}*/
  298.     /*.div-button-submit-search{*/
  299.     /*    display: flex;*/
  300.     /*    !*justify-content: center;*!*/
  301.     /*    align-items: end;*/
  302.     /*    height: 100%;*/
  303.     /*}*/
  304.     /*.divider-evenement {*/
  305.     /*    width: 100%;*/
  306.     /*    height: 4rem;*/
  307.     /*    background-color: transparent;*/
  308.     /*}*/
  309. </style>
  310. ""@SyliusShop/Homepage/searchProduct.html.twig""/var/www/Bikers/templates/bundles/SyliusShopBundle/Homepage/searchProduct.html.twig");
  311.     }
  312. }