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

<h1>Slide</h1>
<div class="carousel-holder row">
	<div class="row">
		<div class="col-md-6 col-md-offset-1">
			<img ng-src="{{ slide.details.firstImg }}" style="margin: auto;">
		</div>
		<div class="carousel-caption col-md-4">
			<slide-editor index="{{$index}}"></slide-editor>
			<hr />
			<h4 class="original-text">{{ slide.metas_dict.name }}</h4>
			<p class="original-text">{{ slide.metas_dict.description }}</p>
			<p><strong>Titre&nbsp;:</strong><small>{{ slide.details.title }}</small></p>
			<p><strong>Description&nbsp;:</strong><small ng-bind-html="slide.details.description"></small></p>
		</div>
	</div>
</div>