client/app/gallery/gallery.html
author rougeronj
Mon, 23 Feb 2015 12:40:17 +0100
changeset 12 1ada9d221ba3
parent 11 ffb8340ba86f
permissions -rw-r--r--
init django server
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<h1>{{ gallery.title }}</h1>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<p>{{ gallery.description }}</p>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
<h4 class="subtitle">{{ gallery.images.length }} points d'intérêt</h4>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
<ul class="list-unstyled list-inline row gallery">
8
824c87a9084c (really) better management of slideshowModel with new api.
cavaliet
parents: 5
diff changeset
     5
  <li class="col-md-3 item" ng-repeat="i in gallery.hits">
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    <div class="img-ctn">
12
1ada9d221ba3 init django server
rougeronj
parents: 11
diff changeset
     7
        <img class="img img-responsive image" ng-src="{{ i.metas_dict.images }}" />
11
ffb8340ba86f little enhance
cavaliet
parents: 8
diff changeset
     8
        <p>{{ i.metas_dict.name }}</p>
5
c6ff29914983 delete item from gallery
cavaliet
parents: 4
diff changeset
     9
        <div class="gallery-buttons">
c6ff29914983 delete item from gallery
cavaliet
parents: 4
diff changeset
    10
          <a class="btn btn-default" href="#/slideshow/edit/{{ $index }}"><span class="glyphicon glyphicon-pencil"></span></a>
c6ff29914983 delete item from gallery
cavaliet
parents: 4
diff changeset
    11
          <a class="btn btn-default" href="#/slideshow/{{ $index }}"><span class="glyphicon glyphicon-eye-open"></span></a>
c6ff29914983 delete item from gallery
cavaliet
parents: 4
diff changeset
    12
          <a class="btn btn-default" ng-click="deleteItem($index)"><span class="glyphicon glyphicon-trash"></span></a>
c6ff29914983 delete item from gallery
cavaliet
parents: 4
diff changeset
    13
        </div>
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
  </li>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
</ul>