client/app/books/book.html
author rougeronj
Wed, 08 Apr 2015 00:31:45 +0200
changeset 76 aa0a2d37faca
parent 64 8eb98cd4c29d
child 81 ef4d8ed6eef2
permissions -rw-r--r--
show the data of the json received from the server (normalize the exchanged data)
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">
76
aa0a2d37faca show the data of the json received from the server (normalize the exchanged data)
rougeronj
parents: 64
diff changeset
     6
        <img class="img img-responsive image" ng-src="{{ i.details.image }}" />
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">
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
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    10
          <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
    11
        </div>
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
  </li>
21ecbde9e080 add books controller to handle list of books
rougeronj
parents:
diff changeset
    14
</ul>