| author | rougeronj |
| Wed, 08 Apr 2015 17:00:43 +0200 | |
| changeset 81 | ef4d8ed6eef2 |
| parent 76 | aa0a2d37faca |
| child 91 | f7a844a9079e |
| permissions | -rw-r--r-- |
| 24 | 1 |
<p>Books {{idBook}} :</p> |
2 |
||
| 64 | 3 |
<ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery container"> |
| 24 | 4 |
<li class="col-md-3 item" ng-repeat="i in slides"> |
5 |
<div class="img-ctn"> |
|
|
81
ef4d8ed6eef2
Adapt the html to handle a list of images sent by our Ammico API
rougeronj
parents:
76
diff
changeset
|
6 |
<img class="img img-responsive image" ng-src="{{ i.details.images[0] }}" /> |
| 24 | 7 |
<p>{{ i.details.title }}</p> |
8 |
<div class="gallery-buttons"> |
|
|
76
aa0a2d37faca
show the data of the json received from the server (normalize the exchanged data)
rougeronj
parents:
64
diff
changeset
|
9 |
<a class="btn btn-default" href="#/slide/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a> |
| 24 | 10 |
<a class="btn btn-default" ng-click="deleteItem($index)"><span class="glyphicon glyphicon-trash"></span></a> |
11 |
</div> |
|
12 |
</div> |
|
13 |
</li> |
|
14 |
</ul> |