templates/bundles/OdiseoSyliusBlogPlugin/Shop/Evenement/index.html.twig line 1

Open in your IDE?
  1. {% import '@SyliusUi/Macro/pagination.html.twig' as pagination %}
  2. {% import '@SyliusUi/Macro/messages.html.twig' as messages %}
  3. {% extends '@SyliusShop/layout.html.twig' %}
  4. {% block content %}
  5.     <div>
  6.         <div class="header-evenement-index">
  7.            <div class="container-h text-evenement-header-index">
  8.                 <span></span>
  9.                <h1>
  10.                    EVENEMENTS
  11.                </h1>
  12.            </div>
  13.         </div>
  14.         <div class="container-h">
  15.             <div class="search-evenement">
  16.                 <form class="form-evenement">
  17.                     <select id="departement">
  18.                         <option value="null">Département</option>
  19.                         <option value="Paris">Paris</option>
  20.                         <option value="Bouches-du-Rhône">Bouches-du-Rhône</option>
  21.                         <option value="Haute-Garonne">Haute-Garonne</option>
  22.                         <option value="Alpes-Maritimes">Alpes-Maritimes</option>
  23.                         <option value="Rhône">Rhône</option>
  24.                         <option value="Gironde">Gironde</option>
  25.                         <option value="Nord">Nord</option>
  26.                         <option value="Hauts-de-Seine">Hauts-de-Seine</option>
  27.                         <option value="Seine-Saint-Denis">Seine-Saint-Denis</option>
  28.                         <option value="Val-de-Marne">Val-de-Marne</option>
  29.                     </select>
  30.                     <div class="input-search-evenement">
  31.                         <input type="text" placeholder="Rechercher un événement">
  32.                     </div>
  33.                     <button type="submit" class="btn-evenement">Rechercher</button>
  34.                 </form>
  35.             </div>
  36.             <div>
  37.                 {% if resources|length > 0 %}
  38.                     <div class="ui three odd doubling cards" id="articleContainer">
  39.                         {% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/listEvenement.twig' %}
  40.                         {% include '@OdiseoSyliusBlogPlugin/Shop/Evenement/pagination.html.twig' %}
  41.                     </div>
  42.                 {% else %}
  43.                     <div class="ui info message">
  44.                         <div class="header">
  45.                             {{ 'sylius.ui.no_results'|trans }}
  46.                         </div>
  47.                     </div>
  48.                 {% endif %}
  49.             </div>
  50.         </div>
  51.     </div>
  52.     <style>
  53.         /*.page-selector-container{*/
  54.         /*    display: flex;*/
  55.         /*    flex-direction: row;*/
  56.         /*    gap: 1rem;*/
  57.         /*    justify-content: center;*/
  58.         /*    align-items: center;*/
  59.         /*    margin-top: 2rem;*/
  60.         /*    width: 100%;*/
  61.         /*}*/
  62.         /*.page-selector-item{*/
  63.         /*    padding: 0.5rem 1rem;*/
  64.         /*    cursor: pointer;*/
  65.         /*    color: black;*/
  66.         /*}*/
  67.         /*.page-selector-item:hover{*/
  68.         /*    color: inherit;*/
  69.         /*}*/
  70.         /*!*.page-selector-item a{*!*/
  71.         /*!*    color: initial;*!*/
  72.         /*!*}*!*/
  73.         /*.page-selector-item.selected{*/
  74.         /*    background-color: #E35E31;*/
  75.         /*    border-radius: 5px;*/
  76.         /*    color: white;*/
  77.         /*}*/
  78.         /*!*.page-selector-item.selected a {*!*/
  79.         /*!*    color: white;*!*/
  80.         /*!*    width: 100%;*!*/
  81.         /*!*    height: 100%;*!*/
  82.         /*!*}*!*/
  83.         /*.text-article{*/
  84.         /*    display: flex;*/
  85.         /*    flex-direction: column;*/
  86.         /*    gap: 1rem;*/
  87.         /*    align-items: flex-start;*/
  88.         /*    padding: 1rem;*/
  89.         /*}*/
  90.         /*.text-article a{*/
  91.         /*    color: black;*/
  92.         /*}*/
  93.         /*.place-times-event{*/
  94.         /*    display: inline-flex;*/
  95.         /*    gap: 1rem;*/
  96.         /*}*/
  97.         /*.header-evenement-index{*/
  98.         /*    width: 100%;*/
  99.         /*    height: 300px;*/
  100.         /*    background-color: black;*/
  101.         /*}*/
  102.         /*.text-evenement-header-index{*/
  103.         /*    color: white;*/
  104.         /*    display: flex;*/
  105.         /*    flex-direction: row;*/
  106.         /*    justify-content: flex-start;*/
  107.         /*    align-items: center;*/
  108.         /*    height: 100%;*/
  109.         /*    gap: 2rem;*/
  110.         /*}*/
  111.         /*.text-evenement-header-index span{*/
  112.         /*    width: 80px;*/
  113.         /*    height: 1px;*/
  114.         /*    background-color: white;*/
  115.         /*}*/
  116.         /*.text-evenement-header-index h1 {*/
  117.         /*    margin: 0 !important;*/
  118.         /*    padding: 0 !important;*/
  119.         /*}*/
  120.         /*.search-evenement{*/
  121.         /*padding: 2rem 0 3rem 0;*/
  122.         /*}*/
  123.         /*.form-evenement{*/
  124.         /*    display: flex;*/
  125.         /*    flex-direction: row;*/
  126.         /*    justify-content: space-between;*/
  127.         /*    align-items: center;*/
  128.         /*    gap: 1rem;*/
  129.         /*    width: 50%;*/
  130.         /*    background-color: #F8F8F8;*/
  131.         /*    margin: 0 auto;*/
  132.         /*}*/
  133.         /*.input-search-evenement{*/
  134.         /*    display: inline-flex;*/
  135.         /*    justify-content: flex-start;*/
  136.         /*    align-items: center;*/
  137.         /*    gap: 1rem;*/
  138.         /*    border-left: 1px solid #ccc;*/
  139.         /*}*/
  140.         /*#departement{*/
  141.         /*    width: 200px;*/
  142.         /*    height: 40px;*/
  143.         /*    border-radius: 5px;*/
  144.         /*    border: none;*/
  145.         /*    padding: 0 1rem;*/
  146.         /*    outline: none;*/
  147.         /*    background-color: transparent;*/
  148.         /*    color: #ccc;*/
  149.         /*}*/
  150.         /*#departement:focus{*/
  151.         /*    color: #000000;*/
  152.         /*}*/
  153.         /*.input-search-evenement {*/
  154.         /*    width: 100%;*/
  155.         /*}*/
  156.         /*.input-search-evenement input{*/
  157.         /*    width: 100%;*/
  158.         /*    height: 40px;*/
  159.         /*    border-radius: 0 5px 5px 0;*/
  160.         /*    border: none;*/
  161.         /*    padding: 0 1rem;*/
  162.         /*    outline: none;*/
  163.         /*    background-color: transparent;*/
  164.         /*}*/
  165.         /*.input-search-evenement input::placeholder{*/
  166.         /*    color: #ccc;*/
  167.         /*}*/
  168.         /*.input-search-evenement input:focus{*/
  169.         /*    border: 0;*/
  170.         /*}*/
  171.         /*.form-evenement .btn-evenement{*/
  172.         /*    width: 200px;*/
  173.         /*    height: 40px;*/
  174.         /*    border-radius: 5px;*/
  175.         /*    border: 1px solid #ccc;*/
  176.         /*    padding: 0 1rem;*/
  177.         /*    outline: none;*/
  178.         /*    background-color: #E35E31;*/
  179.         /*    color: white;*/
  180.         /*    cursor: pointer;*/
  181.         /*}*/
  182.     </style>
  183. {% endblock %}