| author | rougeronj |
| Thu, 11 Jun 2015 12:35:10 +0200 | |
| changeset 166 | eb84ca2b6317 |
| parent 146 | c6fa8ee3f562 |
| child 170 | 533a98367f99 |
| permissions | -rw-r--r-- |
| 91 | 1 |
|
| 24 | 2 |
|
|
75
288fb435874e
Render parent books, child books, and other books separately - minor clean in modal.html
rougeronj
parents:
69
diff
changeset
|
3 |
<accordion close-others="false"> |
|
166
eb84ca2b6317
show all books (even those created from scratch) in books.html
rougeronj
parents:
146
diff
changeset
|
4 |
<accordion-group ng-repeat="book in books | filter:{ id_article: 'null' }" is-open=true> |
| 91 | 5 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
6 |
<accordion-heading> |
| 91 | 7 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
8 |
<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
|
9 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); addBook(book.id)"><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
|
10 |
<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
|
11 |
<a class="pull-right" ng-click="$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
|
12 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); addBook(book.id)">Nouveau Book</a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
13 |
|
|
69
88f76bf93465
update list book view with accordeons and add delete fonction on a book
rougeronj
parents:
53
diff
changeset
|
14 |
</accordion-heading> |
| 91 | 15 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
16 |
<p class="nbrObjects">{{book.count}} objets</p> |
| 91 | 17 |
|
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
98
diff
changeset
|
18 |
<ul ng:model="slides" class="list-inline gallery container-fluid"> |
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
19 |
<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
|
20 |
<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
|
21 |
</li> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
22 |
</ul> |
| 91 | 23 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
24 |
<div ng-repeat="parentBook in books | filter:{ id: book.parent_visit }:true" > |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
25 |
{{parentBook.title }} |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
26 |
</div> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
27 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
28 |
|
| 91 | 29 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
30 |
</accordion-group> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
31 |
|
|
69
88f76bf93465
update list book view with accordeons and add delete fonction on a book
rougeronj
parents:
53
diff
changeset
|
32 |
</accordion> |
|
88f76bf93465
update list book view with accordeons and add delete fonction on a book
rougeronj
parents:
53
diff
changeset
|
33 |
|
| 53 | 34 |
<a class="btn btn-default" ng-click="addBook()"><span class="glyphicon glyphicon-plus"></span></a> |