mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
25 lines
1.0 KiB
Scheme
25 lines
1.0 KiB
Scheme
<% if $ShowTitle || $Content %>
|
|
<div class="slider-caption ">
|
|
<div class="slider-element__content">
|
|
<% if $ShowTitle %>
|
|
<h2 class="slider-element__title text-center">$Title</h2>
|
|
<% end_if %>
|
|
<% if $Content %><div class="typography">$Content</div><% end_if %>
|
|
</div>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<% if $SlideShow %>
|
|
<div id="Carousel{$ID}" class="carousel slide js-carousel d-none d-sm-block"<% if $SlideShow.count > 1 %><% if $Interval %> data-interval="$Interval"<% end_if %> data-indicators="true" data-arrows="true"<% end_if %>>
|
|
<div class="carousel-inner">
|
|
<% loop $SlideShow %>
|
|
<div class="carousel-item carousel-item-{$SlideType}<% if no $Controls %> carousel-item-nocontrols<% end_if %><% if $First %> active<% end_if %>">
|
|
<div class="carousel-slide">
|
|
<% include SlideItem %>
|
|
</div>
|
|
</div>
|
|
<% end_loop %>
|
|
</div>
|
|
</div>
|
|
<% end_if %>
|