templates/bundles/SyliusShopBundle/Homepage/searchProduct.html.twig line 1

Open in your IDE?
  1. <div class="div-search-product">
  2.     <h4> Articles Récents</h4>
  3.  {#
  4.     <div class="div-form-search">
  5.         <div class="search-title">
  6.             <span>RECHERCHER PAR</span>
  7.         </div>
  8.         <div class="trait divider"></div>
  9.             <form method="POST" class="form-search-product">
  10.                 <div class="div-label-input-search">
  11.                     <label for="category">Categories</label>
  12.                     <select name="category" id="category">
  13.                         <option value="">Tous</option>
  14.                         <option value="voiture">Voiture</option>
  15.                         <option value="moto">Moto</option>
  16.                         <option value="camion">Camion</option>
  17.                         <option value="bateau">Bateau</option>
  18.                         <option value="avion">Avion</option>
  19.                     </select>
  20.                 </div>
  21.                 <div class="div-label-input-search">
  22.                     <label for="brand">Marque :</label>
  23.                     <select name="brand" id="brand">
  24.                         <option value="">-- Sélectionner une marque --</option>
  25.                         <option value="ford">Ford</option>
  26.                         <option value="toyota">Toyota</option>
  27.                         <option value="bmw">BMW</option>
  28.                         <option value="honda">Honda</option>
  29.                         <option value="nissan">Nissan</option>
  30.                     </select>
  31.                 </div>
  32.                 <div class="div-label-input-search">
  33.                     <label for="condition">Type d'occasion :</label>
  34.                     <select name="condition" id="condition">
  35.                         <option value="">-- Sélectionner un type d'occasion --</option>
  36.                         <option value="neuf">Neuf</option>
  37.                         <option value="occasion">Occasion</option>
  38.                         <option value="certifie">Certifié</option>
  39.                         <option value="reconditionne">Reconditionné</option>
  40.                         <option value="garantie">Garanti</option>
  41.                     </select>
  42.                 </div>
  43.                 <div class="div-label-input-search">
  44.                     <label for="model">Modèle :</label>
  45.                     <select name="model" id="model">
  46.                         <option value="">-- Sélectionner un modèle --</option>
  47.                         <option value="mustang">Mustang</option>
  48.                         <option value="corolla">Corolla</option>
  49.                         <option value="serie3">Série 3</option>
  50.                         <option value="civic">Civic</option>
  51.                         <option value="sentra">Sentra</option>
  52.                     </select>
  53.                 </div>
  54.                 <div class="div-button-submit-search">
  55.                     <button type="submit" class="ui button" id="button-submit-search">Rechercher</button>
  56.                 </div>
  57.             </form>
  58.     </div>
  59.  #}
  60.     <div class="divider-evenement"></div>
  61.     {{ render(url('sylius_shop_partial_product_index_latest', {'count': 6, 'template': '@SyliusShop/Homepage/_list.html.twig'})) }}
  62. </div>
  63. <style>
  64.     /*.form-search-product{*/
  65.     /*    display: flex;*/
  66.     /*    flex-direction: row;*/
  67.     /*    justify-content: space-between;*/
  68.     /*    align-items: end;*/
  69.     /*    height: fit-content;*/
  70.     /*}*/
  71.     /*!*.div-search-product{*!*/
  72.     /*!*    margin-top: 4rem;*!*/
  73.     /*!*}*!*/
  74.     /*.div-search-product h4, #div-service h2{*/
  75.     /*    font-size: var(--lg-fz);*/
  76.     /*    font-weight: bold;*/
  77.     /*    text-transform: uppercase;*/
  78.     /*    color: black;*/
  79.     /*    position: relative;*/
  80.     /*    width: fit-content;*/
  81.     /*    padding: 1.5rem 0 !important;*/
  82.     /*    margin-bottom: 0 !important;*/
  83.     /*    margin-top: 4rem;*/
  84.     /*    margin-left: auto;*/
  85.     /*    margin-right: auto;*/
  86.     /*}*/
  87.     /*!*I want a before after to make a border in the left 50% bottom of #div-collection h2*!*/
  88.     /*.div-search-product h4::before,#div-service h2::before,*/
  89.     /*.div-search-product h4::after, #div-service h2::after*/
  90.     /*{*/
  91.     /*    content: "";*/
  92.     /*    position: absolute;*/
  93.     /*    width: 50%;*/
  94.     /*    height: 5px;*/
  95.     /*    background-color: #E35E31;*/
  96.     /*    bottom: 0;*/
  97.     /*    left: 25%;*/
  98.     /*}*/
  99.     /*.div-form-search{*/
  100.     /*    !*height: 300px;*!*/
  101.     /*    width: 100%;*/
  102.     /*    background-color: black;*/
  103.     /*    padding: 2rem 3rem 3rem 3rem;*/
  104.     /*    margin: 4rem 0;*/
  105.     /*}*/
  106.     /*.search-title{*/
  107.     /*    width: 100%;*/
  108.     /*    color: white;*/
  109.     /*    font-size: var(--sm-fz);*/
  110.     /*}*/
  111.     /*.div-label-input-search{*/
  112.     /*    display: flex;*/
  113.     /*    flex-direction: column;*/
  114.     /*    justify-content: center;*/
  115.     /*    align-items: start;*/
  116.     /*    color: white;*/
  117.     /*    gap: 1rem;*/
  118.     /*}*/
  119.     /*.div-label-input-search label{*/
  120.     /*    font-size: var(--sm-fz) - 0.2rem;*/
  121.     /*    font-weight: bold;padding-left: 0.5rem;*/
  122.     /*}*/
  123.     /*.trait.divider{*/
  124.     /*    width: 100%;*/
  125.     /*    height: 1px;*/
  126.     /*    background-color: white;*/
  127.     /*    margin: 1rem 0;*/
  128.     /*    opacity: 0.3;*/
  129.     /*}*/
  130.     /*.div-label-input-search select{*/
  131.     /*    width: 270px;*/
  132.     /*    height: 50px;*/
  133.     /*    border: none;*/
  134.     /*    padding: 1rem;*/
  135.     /*}*/
  136.     /*#button-submit-search{*/
  137.     /*    padding: 1rem;*/
  138.     /*    background-color: #E35E31;*/
  139.     /*    color: white;*/
  140.     /*    border-radius: 0;*/
  141.     /*    height: 50px;*/
  142.     /*}*/
  143.     /*.div-button-submit-search{*/
  144.     /*    display: flex;*/
  145.     /*    !*justify-content: center;*!*/
  146.     /*    align-items: end;*/
  147.     /*    height: 100%;*/
  148.     /*}*/
  149.     /*.divider-evenement {*/
  150.     /*    width: 100%;*/
  151.     /*    height: 4rem;*/
  152.     /*    background-color: transparent;*/
  153.     /*}*/
  154. </style>