client/app/slides/slides.html
author rougeronj
Mon, 23 Mar 2015 17:07:36 +0100
changeset 31 8d016c195d79
parent 26 c7dfe7185ef7
child 37 81ed4fbb1a64
permissions -rw-r--r--
get info of a slide and show it. Sanitize html from description field and add it to the scope
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     1
<h1>Slide</h1>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     2
<div class="carousel-holder row">
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     3
	<div class="row">
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     4
		<div class="col-md-6 col-md-offset-1">
31
8d016c195d79 get info of a slide and show it. Sanitize html from description field and add it to the scope
rougeronj
parents: 26
diff changeset
     5
			<img ng-src="{{ slide.details.firstImg }}" style="margin: auto;">
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     6
		</div>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     7
		<div class="carousel-caption col-md-4">
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     8
			<slide-editor index="{{$index}}"></slide-editor>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
     9
			<hr />
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    10
			<h4 class="original-text">{{ slide.metas_dict.name }}</h4>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    11
			<p class="original-text">{{ slide.metas_dict.description }}</p>
31
8d016c195d79 get info of a slide and show it. Sanitize html from description field and add it to the scope
rougeronj
parents: 26
diff changeset
    12
			<p><strong>Titre&nbsp;:</strong><small>{{ slide.details.title }}</small></p>
8d016c195d79 get info of a slide and show it. Sanitize html from description field and add it to the scope
rougeronj
parents: 26
diff changeset
    13
			<p><strong>Description&nbsp;:</strong><small ng-bind-html="slide.details.description"></small></p>
26
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    14
		</div>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    15
	</div>
c7dfe7185ef7 rename 'gallery' to 'slides' to handle the slides pages
rougeronj
parents: 12
diff changeset
    16
</div>