templates/YoungStyria/overview.html.twig line 1

Open in your IDE?
  1. {% extends "Layout/default.html.twig" %}
  2. {% block content %}
  3.     {{ include('Content/includes/hero.html.twig') }}
  4.     {{ include('Navigation/breadcrumb.html.twig') }}
  5.     {{ include('Includes/main-title-block-splitted-editable.html.twig', {
  6.         suffix: '-main-title-block'
  7.     }) }}
  8.     {{ include('Includes/areablock.html.twig', {
  9.         suffix: 'top'
  10.     }) }}
  11.     {% embed 'Includes/editmode-settings.html.twig' %}
  12.         {% block additionalInfo %}
  13.             <div>
  14.                 <label>
  15.                     Use: {{ pimcore_select('youngStyriaOverviewSelect', {
  16.                         store: [
  17.                             ["accommodation", "YoungStyria Accommodations"],
  18.                             ["infrastructure", "YoungStyria Infrastructure"]
  19.                         ],
  20.                         defaultValue : "accommodation",
  21.                         width: "50%",
  22.                         reload: true
  23.                     }) }}
  24.                 </label>
  25.                 <div>
  26.                     <label>Randomize every 24 hours</label>
  27.                     {{ pimcore_checkbox('randomizeYoungStyria') }}
  28.                 </div>
  29.                 <div>
  30.                     <label>Objects per site</label>
  31.                     {{ pimcore_numeric('perPage', {
  32.                         minValue: 1,
  33.                         maxValue: 200,
  34.                         decimalPrecision: 0
  35.                     }) }}
  36.                 </div>
  37.             </div>
  38.         {% endblock %}
  39.     {% endembed %}
  40.     <div class="js-ajax-form-map content-block position-relative" data-ajax-form-add-url-params="true" data-form-map-url="{{ document.fullPath }}?pois=1&page={{ app.request.get('page', 1) }}">
  41.         <div aria-live="polite">
  42.             {#            is needed for map#}
  43.             <form action="/404"
  44.                   data-action="{{ app.request.pathInfo }}?ajax=1"
  45.                   class="js-ajax-form-map__form js-form-validation js-conditional-form text-white" hidden>
  46.             </form>
  47.             <div class="content-block container">
  48.                 <div class="js-ajax-form-map__notifications mb-3" hidden></div>
  49.                 <div class="js-ajax-form-map__error-area mb-3" hidden>
  50.                     <button class="js-ajax-form-map__retry btn btn-info ml-2">{{ 'eventplanner.Retry'|trans }}</button>
  51.                 </div>
  52.                 {{ include('Includes/loading-overlay.html.twig', {
  53.                     styleModifier: 'js-ajax-form-map__loading'
  54.                 }) }}
  55.                 {{ include('Includes/title-block-editable.html.twig', {
  56.                     isCentered: true
  57.                 }) }}
  58.                 {{ include('YoungStyria/Includes/young-styria-paging.html.twig', {
  59.                     paginator: paginator
  60.                 }) }}
  61.             </div>
  62.         </div>
  63.     </div>
  64.     {{ include('Includes/areablock.html.twig', {
  65.         suffix: 'bottom'
  66.     }) }}
  67. {% endblock %}
  68.     {% block javascripts %}
  69.         {% if not app.request.get('onlyInlineCss') %}
  70.         {{ include('Layout/includes/encore.html.twig', {
  71.             'staticDebugMode': staticDebugMode,
  72.             'file': 'js/convention'
  73.         }) }}
  74.         {% endif %}
  75.     {% endblock %}