You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.5 KiB
71 lines
2.5 KiB
{# |
|
/** |
|
* @file |
|
* Default theme implementation for a view template to display a list of rows. |
|
* |
|
* Available variables: |
|
* - attributes: HTML attributes for the container. |
|
* - rows: A list of rows for this list. |
|
* - attributes: The row's HTML attributes. |
|
* - content: The row's contents. |
|
* - title: The title of this group of rows. May be empty. |
|
* - list: @todo. |
|
* - type: Starting tag will be either a ul or ol. |
|
* - attributes: HTML attributes for the list element. |
|
* |
|
* @see template_preprocess_views_view_list() |
|
* |
|
* @ingroup themeable |
|
*/ |
|
#} |
|
{{ attach_library('magazineplus/slider-revolution-internal-banner-init') }} |
|
<div id="slideshow-internal" class="slideshow-internal slider-revolution-wrapper rev_slider_wrapper {% if rows|length <= 1 %}one-slide{% endif %}" > |
|
<div{{ attributes.addClass('rev_slider') }} data-version="5.4.8"> |
|
{% if title %} |
|
<h3>{{ title }}</h3> |
|
{% endif %} |
|
|
|
<{{ list.type }}{{ list.attributes }}> |
|
|
|
{% for row in rows %} |
|
<li{{ row.attributes }} data-transition="{{ mt_setting.rs_slideshow_internal_effect }}" data-slotamount="default" data-masterspeed="default" data-thumb="{{ row.slide_thumbnail }}" data-title="{{ row.content['#row'].node__field_mt_banner_image_field_mt_banner_image_title }}"> |
|
|
|
{{ row.content }} |
|
|
|
{# Translucent Background #} |
|
<div class="tp-caption transparent-background" |
|
data-x="left" |
|
data-y="top" |
|
data-start="0" |
|
data-basealign="slide" |
|
data-width="full" |
|
data-height="full"> |
|
</div> |
|
|
|
{% if row.content['#row'].node__field_mt_banner_image_field_mt_banner_image_title %} |
|
<div class="tp-caption" |
|
data-x="[left,left,left,left]" |
|
data-y="[bottom,bottom,bottom,bottom]" |
|
data-hoffset="[50,50,50,20]" |
|
data-voffset="[50,50,50,20]" |
|
data-fontweight="400" |
|
data-whitespace="normal" |
|
data-basealign="grid" |
|
data-start="1200" |
|
data-width="[570,570,570,400]" |
|
data-transform_idle="o:1" |
|
data-transform_in="y:[-100%];sX:1;sY:1;o:0;s:1000;e:Power4.easeInOut;" |
|
data-transform_out="y:[100%];o:0;s:1000;e:Power2.easeInOut;"> |
|
<div class="tp-caption__title"> |
|
{{ row.content['#row'].node__field_mt_banner_image_field_mt_banner_image_title }} |
|
</div> |
|
</div> |
|
{% endif %} |
|
|
|
</li> |
|
{% endfor %} |
|
|
|
</{{ list.type }}> |
|
<div class="tp-bannertimer tp-bottom"></div> |
|
</div> |
|
</div>
|
|
|