templates/templates/models/board-drupal.html.twig line 1

Open in your IDE?
  1. {% extends "layouts/master.html.twig" %}
  2. {% block bodyClass %}tpl-board{% endblock %}
  3. {% block siteHeader %}
  4.     {% include 'organisms/site-header.html.twig' %}
  5. {% endblock %}
  6. {% block pageHeader %}
  7.     {% include 'molecules/page-header.html.twig' with {
  8.         title: 'Taboleiro'
  9.     } %}
  10. {% endblock %}
  11. {% block pageContent %}
  12.     <div class="board-description">
  13.         <div class="at-lead-text">
  14.             <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris mauris, ultricies id egestas ac.</p>
  15.         </div>
  16.         <a href="{{ path('board_create') }}" class="at-button is-primary">Publicar un anuncio</a>
  17.     </div>
  18.     <form data-drupal-selector="views-exposed-form-classified-ad-list-page-1" action="" method="get" id="views-exposed-form-classified-ad-list-page-1" accept-charset="UTF-8" class="views-exposed-form bef-exposed-form ml-form">
  19.         <div class="js-form-item form-item js-form-type-select form-item-tid js-form-item-tid form-no-label">
  20.             <input type="hidden" name="tid" value="All">
  21.             <div class="content-filter-options-wrapper">
  22.                 <div class="ml-content-filter-options">
  23.                     <ul data-drupal-selector="edit-tid" id="edit-tid" name="tid" class="form-select bef-links content-filter-options-list">
  24.                         <li><a href="" class=" at-content-filter-option bef-link-active is-selected">Ver todo</a></li>
  25.                         <li><a href="" class="at-content-filter-option">Aloxamento </a></li>
  26.                         <li><a href="" class="at-content-filter-option">idiomas</a></li>
  27.                     </ul>
  28.                 </div>
  29.             </div>
  30.         </div>
  31.         <div class="js-form-item form-item js-form-type-textfield form-item-text js-form-item-text">
  32.             <label for="edit-text">Buscar</label>
  33.             <input data-drupal-selector="edit-text" type="text" id="edit-text" name="text" value="" size="30" maxlength="128" placeholder="Filtrar" class="form-text form-control">
  34.         </div>
  35.         <div data-drupal-selector="edit-actions" id="edit-actions" class="form-actions js-form-wrapper form-wrapper">
  36.             <input data-drupal-selector="edit-submit-classified-ad-list" type="submit" id="edit-submit-classified-ad-list" value="Buscar" class="button js-form-submit form-submit form-control at-button">
  37.         </div>
  38.     </form>
  39.     <usc-infinite-scroll
  40.             endpoint="{{ absolute_url(path('board_ajax')) }}"
  41.             container-selector=".board-content"
  42.     >
  43.         <div class="row board-content">
  44.             {% for i in 0..11 %}
  45.                 <div class="col-md-6 col-lg-3">
  46.                     {% include 'molecules/notices/summary.html.twig' with { modifiers: '', hasDetail: true, hasTags: true } %}
  47.                 </div>
  48.             {% endfor %}
  49.         </div>
  50.     </usc-infinite-scroll>
  51. {% endblock %}
  52. {% block siteFooter %}
  53.     {% include 'organisms/site-footer.html.twig' %}
  54. {% endblock %}