client/app/books/book.html
author rougeronj
Fri, 22 May 2015 12:37:37 +0200
changeset 90 faf2cdb47813
parent 81 ef4d8ed6eef2
child 91 f7a844a9079e
permissions -rw-r--r--
remove "comment" from the model. Copy the 'comment' field of Jamespot in the 'description' field of the model instead

<p>Books {{idBook}}&nbsp;:</p>

<ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery container">
  <li class="col-md-3 item" ng-repeat="i in slides">
    <div class="img-ctn">
        <img class="img img-responsive image" ng-src="{{ i.details.images[0] }}" />
        <p>{{ i.details.title }}</p>
        <div class="gallery-buttons">
          <a class="btn btn-default" href="#/slide/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a>
          <a class="btn btn-default" ng-click="deleteItem($index)"><span class="glyphicon glyphicon-trash"></span></a>
        </div>
    </div>
  </li>
</ul>