2018-07-29 12:58:28 +02:00
|
|
|
<% if $ShowTitle %>
|
|
|
|
<h2 class="slider-element__title text-center">$Title</h2>
|
|
|
|
<% end_if %>
|
|
|
|
|
2018-05-28 14:42:05 +02:00
|
|
|
<% if $SlideShow %>
|
2019-08-27 17:25:05 +02:00
|
|
|
<div id="Carousel{$ID}" class="carousel slide js-carousel d-none d-sm-block parallax"<% if $SlideShow.count > 1 %><% if $Interval %> data-interval="$Interval"<% end_if %> data-indicators="true" data-arrows="true"<% end_if %>>
|
2018-05-28 14:42:05 +02:00
|
|
|
<div class="carousel-inner">
|
|
|
|
<% loop $SlideShow %>
|
|
|
|
<div class="carousel-item<% if $First %> active<% end_if %>">
|
2019-08-27 17:25:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
<% if $Video || $Image %>
|
|
|
|
<div class="carousel-slide">
|
|
|
|
<% if $Video %>
|
|
|
|
<div class="video">
|
|
|
|
$Video.EmbedHTML.RAW
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $PageLink %><a href="$PageLink.Link" title="$PageLink.MenuTitle.XML" class="btn-primary"><% end_if %>
|
|
|
|
|
|
|
|
<% if $Image %>
|
|
|
|
<span class="img parallax-image">
|
|
|
|
<img class="d-block w-100" src="$Image.Fill(1200,600).URL" alt="<% if $Headline %>$Headline<% end_if %>">
|
|
|
|
</span>
|
|
|
|
<% end_if %>
|
|
|
|
<% if $PageLink %></a><% end_if %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
|
|
|
|
<% if not $Video && not $Image %>
|
|
|
|
<div class="carousel-slide">
|
|
|
|
<% else %>
|
|
|
|
<div class="carousel-caption">
|
2018-05-28 14:42:05 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
2018-07-02 03:54:18 +02:00
|
|
|
<div class="carousel-caption-container">
|
|
|
|
<% if $Headline %><h2 class="carousel-title">$Headline</h2><% end_if %>
|
|
|
|
<% if $Description %><p class="carousel-content">$Description</p><% end_if %>
|
|
|
|
<% if $PageLinkID %>
|
|
|
|
<p>
|
2018-08-06 13:46:54 +02:00
|
|
|
<a href="$PageLink.Link" title="$PageLink.MenuTitle.XML" class="btn btn-default btn-lg">
|
2018-07-29 12:58:28 +02:00
|
|
|
<i class="fas fa-bars"></i>
|
2018-07-02 03:54:18 +02:00
|
|
|
<%t Dynamic\FlexSlider\ORM\FlexSlider.LEARN_MORE "Learn more" %>
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2018-05-28 14:42:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|