# HG changeset patch # User rougeronj # Date 1427969211 -7200 # Node ID ccb586464a6fc26d0cb48ed0848e9a60fbd27679 # Parent dac1df90b49ea9a44c3bc34b3652eb1f7c695181 clean js and minor update in html and css diff -r dac1df90b49e -r ccb586464a6f client/app/app.js --- a/client/app/app.js Thu Apr 02 12:02:07 2015 +0200 +++ b/client/app/app.js Thu Apr 02 12:06:51 2015 +0200 @@ -32,18 +32,6 @@ controller: 'slideshowCtrl', templateUrl: 'slideshow/slideshow.html' }). - when('/slideshow/edit/:iSlide', { - controller: 'slideshowCtrl', - templateUrl: 'slideshow/slideshow.html' - }). - when('/slideshow/add/:searched', { - controller: 'slideshowCtrl', - templateUrl: 'slideshow/slideshow.html' - }). - when('/search', { - controller: 'searchCtrl', - templateUrl: 'search/search.html' - }). when('/search/:q', { controller: 'searchCtrl', templateUrl: 'search/search.html' diff -r dac1df90b49e -r ccb586464a6f client/app/home/home_controller.js --- a/client/app/home/home_controller.js Thu Apr 02 12:02:07 2015 +0200 +++ b/client/app/home/home_controller.js Thu Apr 02 12:06:51 2015 +0200 @@ -17,8 +17,7 @@ _this.books = data; }); }) - .controller('homeCtrl', function($scope, $location, booksModel){ - $scope.books = booksModel.books; + .controller('homeCtrl', function($scope, $location){ $scope.searchSubmit = function(){ $location.path('/search/' + $scope.q); }; diff -r dac1df90b49e -r ccb586464a6f client/app/search/modal.html --- 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 @@ -
A quel Book boulez vous ajoutez cet element ?
+