client/app/gallery/gallery.html
author cavaliet
Mon, 06 Oct 2014 17:36:47 +0200
changeset 7 e70f1c4785f3
parent 5 c6ff29914983
child 8 824c87a9084c
permissions -rw-r--r--
search with new results
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">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  <li class="col-md-3 item" ng-repeat="i in gallery.images">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    <div class="img-ctn">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
        <img class="img img-responsive image" src="{{ i.url }}" />
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
        <p>{{ i.title }}</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>