client/app/slides/slides.html
author rougeronj
Thu, 01 Oct 2015 18:00:33 +0200
changeset 187 fe5933b576a7
parent 106 cb13a9009bf5
permissions -rw-r--r--
Added tag V0.1-alpha.4 for changeset d79e844ca86b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     1
<div class="slide row">
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     2
    <div class="slide-title">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     3
        <h1>{{slide.title}} - {{slide.details.title}}</h1>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     4
    </div>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     5
    <div class="slide-nav">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     6
        <a id="back" href="#/books/{{slide.book}}">&laquoRetour galerie</a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     7
        <a id="next" href="#">Suivant&raquo</a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     8
        <a id="previous" href="#">&laquoPrecedents</a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
     9
    </div>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    10
    <div class="container slide-content">
106
cb13a9009bf5 improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents: 98
diff changeset
    11
        <div class="col-md-8 media">
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    12
            <figure ng-if="slide.details.images && !slide.details.video" ng-repeat="image in slide.details.images">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    13
                <img ng-src="{{image}}" style="margin: auto;">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    14
                  <figcaption>{{slide.details.captions[$index]}}</figcaption>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    15
            </figure> 
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    16
            <audio ng-if="slide.details.audio" ng-src="{{ slide.details.audio }}" style="margin: auto; controls loop"></audio>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    17
            <video ng-if="slide.details.video" ng-src="{{ slide.details.video }}" style="margin: auto;" controls></video>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    18
        </div>
106
cb13a9009bf5 improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents: 98
diff changeset
    19
        <div class="col-md-4 caption">
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    20
            <slide-editor index="{{$index}}"></slide-editor>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    21
            <hr />
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    22
            <div class="details">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    23
                <p><strong>Titre&nbsp;:&nbsp;</strong><small>{{slide.details.title}}</small></p>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    24
                <p><strong>Description&nbsp;:&nbsp;</strong><small>{{slide.details.description}}</small></p>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    25
                <p><strong>Numéro d'Inventaire&nbsp;:&nbsp;</strong><small>{{slide.details.idInventory}}</small></p>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    26
            </div>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    27
        </div>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 81
diff changeset
    28
    </div>
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    29
</div>