client/app/search/modal.html
changeset 54 ccb586464a6f
parent 47 dd750778535c
child 75 288fb435874e
--- a/client/app/search/modal.html	Thu Apr 02 12:02:07 2015 +0200
+++ b/client/app/search/modal.html	Thu Apr 02 12:06:51 2015 +0200
@@ -1,11 +1,17 @@
-<div class="listBooks">
-	<p>A quel Book boulez vous ajoutez cet element ?</p>
+<div class="modal-header ng-scope">
+	<h3 class="modal-title">A quel Book ajouter cet element ?</h3>
+</div>
 
+<div class="modal-body ng-scope">
 	<ul class="row ">
-		<li class="" ng-repeat="i in books">
+		<li class="" ng-repeat="i in books | orderBy:'-date'">
 			<div>
 				<a class="visite" ng-click="addToBook(i.id)">{{ i.title }}</a>
 			</div>
 		</li>
 	</ul>
+</div>
+
+<div class="modal-footer ng-scope">
+	<button ng-click="cancel()" class="btn btn-warning">Cancel</button>
 </div>
\ No newline at end of file