| author | rougeronj |
| Wed, 27 May 2015 19:01:25 +0200 | |
| changeset 98 | e165f7647ae3 |
| parent 91 | f7a844a9079e |
| child 106 | cb13a9009bf5 |
| permissions | -rw-r--r-- |
| 91 | 1 |
<accordion close-others="false"> |
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
2 |
<accordion-group is-open=true> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
3 |
<accordion-heading> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
4 |
<a class="title" ng-click="$event.stopPropagation();" href="#/books/{{ book.id }}">{{ book.title }}</a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
5 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation();"><span class="glyphicon glyphicon-share"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
6 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation();"><span class="glyphicon glyphicon-cog"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
7 |
<a class="pull-right" ng-click="$event.stopPropagation(); $event.stopPropagation();" href="#/slideshow/{{ book.id }}"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
8 |
</accordion-heading> |
| 91 | 9 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
10 |
<p class="nbrObjects">{{book.slides.length}} objets</p> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
11 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
12 |
<ul ui-sortable="sortableOptions" ng-model="book.slides" class="list-unstyled list-inline container-fluid gallery "> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
13 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
14 |
<li class="item" ng-class="{'no-img': !slide.details.images[0]}" ng-repeat="slide in book.slides"> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
15 |
<ng-include src="'books/galleryItem.html'"></ng-include> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
16 |
</li> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
17 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
18 |
</ul> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
19 |
</accordion-group> |
| 91 | 20 |
</accordion> |