client/app/slides/slides.html
author rougeronj
Wed, 08 Apr 2015 00:31:45 +0200
changeset 76 aa0a2d37faca
parent 48 c17f2b37b032
child 81 ef4d8ed6eef2
permissions -rw-r--r--
show the data of the json received from the server (normalize the exchanged data)
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">
76
aa0a2d37faca show the data of the json received from the server (normalize the exchanged data)
rougeronj
parents: 48
diff changeset
    12
			<img ng-if="slide.details.image" ng-src="{{ slide.details.image }}" style="margin: auto;">
aa0a2d37faca show the data of the json received from the server (normalize the exchanged data)
rougeronj
parents: 48
diff changeset
    13
			<p ng-if="slide.details.caption" ng-src="{{ slide.details.caption }}" style="margin: auto;"></p>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    14
			<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
    15
			<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
    16
		</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    17
		<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
    18
			<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
    19
			<hr />
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    20
			<div class="details">
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    21
				<p>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    22
					<strong>Titre&nbsp;:&nbsp;</strong><small>{{slide.details.title}}</small>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    23
				</p>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    24
				<p>
48
c17f2b37b032 server send now images field in json instead of previous firstImg
rougeronj
parents: 40
diff changeset
    25
					<strong>Description&nbsp;:&nbsp;</strong><small>{{slide.details.description}}</small>
40
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    26
				</p>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    27
			</div>
4b3bebe4355d add sanitize function to accept url from the request response - enable edit on dbclick - improve html
rougeronj
parents: 37
diff changeset
    28
		</div>
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    29
	</div>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    30
</div>