aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/directives/page-scroller/page-scroller.html
blob: 7359386901d2ea96f538e12a4c7096113a70c728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<div class="sdc-page-scroller">

    <nav data-ng-if="showNav!==false" class="welcome-nav">
        <div data-ng-if="showCloseButton===true" data-ng-click="onCloseButtonClick()" class="asdc-welcome-close"></div>
        <ul>
            <li data-ng-repeat="slide in slidesData | orderBy:'+position'"><a href="#{{slide.id}}" data-ng-click="onNavButtonClick(slide)" class=""></a></li>
        </ul>
    </nav>

    <div class="nav-previous-next" data-ng-if="showPreviousNext===true">
        <span class="go-prev" data-ng-click="goToPrevSlide()">previous slide</span>
        <span class="go-next" data-ng-click="goToNextSlide()">next slide</span>
    </div>

    <div class="slides-container">
        <section data-ng-repeat="slide in slidesData | orderBy:'+position'" class="slide" id="{{slide.id}}" on-last-repeat>
            <ng-include src="slide.url"></ng-include>
        </section>
    </div>

</div>