src/CmsBundle/Resources/views/blocks/framework_slider.html.twig line 1

Open in your IDE?
  1. {#
  2.     {
  3.         "key": "framework_slider",
  4.         "category": "Framework",
  5.         "label": "Carousel (Slider)",
  6.         "description": "...",
  7.         "allowMove": false,
  8.         "blocks": [
  9.             {
  10.                 "key": "block-0",
  11.                 "size": 12,
  12.                 "required": "SliderBundle",
  13.                 "fields": []
  14.             }
  15.         ]
  16.     }
  17. #}
  18. <section
  19. class="gallery {{wrapper.classList}}"
  20. id="{{wrapper.cssId is defined ? wrapper.cssId : ''}}"
  21. style="{{wrapper.styleList}}"
  22. data-id="{{wrapper.id}}">
  23.   <div class="container {{ firstBlock.class }}">
  24.     {% if wrapper.label or wrapper.intro is not empty %}
  25.       <div class="introblock">
  26.         {% if wrapper.label is not empty %}
  27.           <div class="introtitle">
  28.             {{wrapper.label|raw}}
  29.           </div>
  30.         {% endif %}
  31.         {% if wrapper.intro is not empty %}
  32.           <div class="introtext">
  33.             {{wrapper.intro|raw}}
  34.           </div>
  35.         {% endif %}
  36.       </div>
  37.     {% endif %}
  38.     <div class="slider-wrapper">
  39.       {{firstBlock.content|raw}}
  40.     </div>
  41.   </div>
  42. </section>