client/app/books/book.html
author rougeronj
Tue, 07 Apr 2015 11:55:11 +0200
changeset 72 ed2ee692ff6f
parent 64 8eb98cd4c29d
child 76 aa0a2d37faca
permissions -rw-r--r--
Update PopulateVisit function to get only the new visits from Jamespot. In case the parameter "parrent_visit" is passed when creating a book, we copy all the slide corresponding to the visit being copied. Refactor PopulateVisite to PopulateVisit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     1
<p>Books {{idBook}}&nbsp;:</p>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     2
64
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 49
diff changeset
     3
<ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery container">
24
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     4
  <li class="col-md-3 item" ng-repeat="i in slides">
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     5
    <div class="img-ctn">
49
88cd0bb61c12 add ui-sortble lib to be able to sort the list of the slide in the book view - it sends a post request to the server to update the slides' order
rougeronj
parents: 32
diff changeset
     6
        <img class="img img-responsive image" ng-src="{{ i.details.images }}" />
24
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     7
        <p>{{ i.details.title }}</p>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
     8
        <div class="gallery-buttons">
32
802ba9793507 add delete request to delete a slide - rename some .ressources fonctions
rougeronj
parents: 24
diff changeset
     9
          <a class="btn btn-default" href="#/slide/edit/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a>
802ba9793507 add delete request to delete a slide - rename some .ressources fonctions
rougeronj
parents: 24
diff changeset
    10
          <a class="btn btn-default" href="#/slide/{{ i.id }}"><span class="glyphicon glyphicon-eye-open"></span></a>
24
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    11
          <a class="btn btn-default" ng-click="deleteItem($index)"><span class="glyphicon glyphicon-trash"></span></a>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    12
        </div>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    13
    </div>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    14
  </li>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    15
</ul>