client/app/books/book.html
author rougeronj
Tue, 02 Jun 2015 09:46:30 +0200
changeset 106 cb13a9009bf5
parent 98 e165f7647ae3
permissions -rw-r--r--
improve slideshow interface and add ngTouch to handle swipe on mobile
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
91
f7a844a9079e merge the changes of Camille
rougeronj
parents: 81
diff changeset
     1
<accordion close-others="false"> 
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     2
    <accordion-group is-open=true>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     3
        <accordion-heading>  
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     4
            <a class="title" ng-click="$event.stopPropagation();" href="#/books/{{ book.id }}">{{ book.title }}</a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     5
            <a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation();"><span class="glyphicon glyphicon-share"></span></a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     6
            <a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation();"><span class="glyphicon glyphicon-cog"></span></a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     7
            <a class="pull-right" ng-click="$event.stopPropagation(); $event.stopPropagation();" href="#/slideshow/{{ book.id }}"><span class="glyphicon glyphicon-eye-open"></span></a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
     8
        </accordion-heading>
91
f7a844a9079e merge the changes of Camille
rougeronj
parents: 81
diff changeset
     9
            
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    10
        <p class="nbrObjects">{{book.slides.length}} objets</p>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    11
        
106
cb13a9009bf5 improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents: 98
diff changeset
    12
        <ul ui-sortable="sortableOptions" ng-model="book.slides" class="list-inline container-fluid gallery ">
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    13
        
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    14
            <li class="item" ng-class="{'no-img': !slide.details.images[0]}" ng-repeat="slide in book.slides">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    15
                <ng-include src="'books/galleryItem.html'"></ng-include>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    16
            </li>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    17
            
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    18
        </ul>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents: 91
diff changeset
    19
    </accordion-group>
91
f7a844a9079e merge the changes of Camille
rougeronj
parents: 81
diff changeset
    20
</accordion>