client/app/slides/slides.html
author rougeronj
Wed, 08 Apr 2015 17:00:43 +0200
changeset 81 ef4d8ed6eef2
parent 76 aa0a2d37faca
child 98 e165f7647ae3
permissions -rw-r--r--
Adapt the html to handle a list of images sent by our Ammico API
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">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     2
	<div class="slide-title">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     3
		<h1>{{slide.title}} - {{slide.details.title}}</h1>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     4
	</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     5
	<div class="slide-nav">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     6
		<a id="back" href="#/books/{{slide.book}}">&laquoRetour galerie</a>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     7
		<a id="next" href="#">Suivant&raquo</a>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
     8
		<a id="previous" href="#">&laquoPrecedents</a>
37
81ed4fbb1a64 add save fonction on a slide and update template
rougeronj
parents: 31
diff changeset
     9
	</div>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    10
	<div class="container slide-content">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    11
		<div class="col-md-7 media">
81
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    12
			<figure ng-if="slide.details.images && !slide.details.video" ng-repeat="image in slide.details.images">
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    13
				<img ng-src="{{image}}" style="margin: auto;">
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    14
  				<figcaption>{{slide.details.captions[$index]}}</figcaption>
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    15
			</figure> 
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    16
			<audio ng-if="slide.details.audio" ng-src="{{ slide.details.audio }}" style="margin: auto; controls loop"></audio>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    17
			<video ng-if="slide.details.video" ng-src="{{ slide.details.video }}" style="margin: auto;" controls></video>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    18
		</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    19
		<div class="col-md-5 caption">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    20
			<slide-editor index="{{$index}}"></slide-editor>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    21
			<hr />
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    22
			<div class="details">
81
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    23
				<p><strong>Titre&nbsp;:&nbsp;</strong><small>{{slide.details.title}}</small></p>
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    24
				<p><strong>Description&nbsp;:&nbsp;</strong><small>{{slide.details.description}}</small></p>
ef4d8ed6eef2 Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents: 76
diff changeset
    25
				<p><strong>Numéro d'Inventaire&nbsp;:&nbsp;</strong><small>{{slide.details.idInventory}}</small></p>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    26
			</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    27
		</div>
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    28
	</div>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    29
</div>