templates/page/carte.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Carte{% endblock %}
  3. {% block stylesheets %}
  4.     {{ parent() }}
  5.     {{ encore_entry_link_tags('map') }}
  6. {% endblock %}
  7. {% set bodyClass = "carte" %}
  8. {% block body %}
  9.     <h1>Carte</h1>
  10.     <div class="row">
  11.         <div class="col center-column mb-4">
  12.             <p>Cliquez sur un rond pour faire apparaître les informations</p>
  13.             {% include 'common/mapElts.html.twig' %}
  14.             <p class="mt-4">Accédez à <a href="{{ path('listNonGeolocalizedStructures') }}">ce qui n'est pas affiché sur la carte</a></p>
  15.         </div>
  16.         <div class="col-md-12 col-lg-4 left-column">
  17.             <div class="recherche">
  18.                 <h3>Affiner par mot-clé</h3>
  19.                 {{ form(searchForm, {'attr': {'id': 'tagSearchForm'}}) }}
  20.             </div>
  21.             <div class="mt-5 themes text-center">
  22.                 <h3 class="mb-4">Affiner par thème</h3>
  23.                 <div class="row row-cols-3 maps-themes themes">
  24.                     {% for theme in themes %}                    
  25.                         <div class="col text-center theme">
  26.                             <a href="#" title="{{ theme.name|capitalize }}" data-theme-slug="{{ theme.slug }}">
  27.                                 {# <img class="img-fluid" src="/image/themes/{{ theme.slug }}.jpg" alt=""> #}
  28.                                 <img src="{{ vich_uploader_asset(theme.picto, 'file')|imagine_filter('theme') }}" alt="{{ theme.picto.name }}" class="img-fluid"><br>
  29.                                 <span>{{ theme.name|capitalize }}</span>
  30.                             </a>
  31.                         </div>
  32.                     {% endfor %}
  33.                 </div>
  34.             </div>
  35.         </div>
  36.     </div>
  37.     
  38.     
  39.     
  40.     
  41. {% endblock %}
  42. {% block javascripts %}
  43.     {{ parent() }}
  44.     {{ encore_entry_script_tags('map') }}
  45. {% endblock %}