diff --git a/bower.json b/bower.json
index 6f3a316..b4dd52d 100644
--- a/bower.json
+++ b/bower.json
@@ -1,14 +1,15 @@
{
- "name": "ci-site",
- "version": "0.0.1",
- "dependencies": {
- "angular": "~1.3.15",
- "angular-animate": "~1.3.15",
- "angular-ladda": "~0.2.2",
- "angular-route": "~1.3.15",
- "animate.css": "~3.2.6",
- "bootswatch-dist": "3.3.4-cerulean",
- "jsencrypt": "~2.1.0",
- "remarkable-bootstrap-notify": "~3.0.2"
- }
+ "name": "ci-site",
+ "version": "0.0.1",
+ "dependencies": {
+ "angular": "~1.3.15",
+ "angular-animate": "~1.3.15",
+ "angular-ladda": "~0.2.2",
+ "angular-route": "~1.3.15",
+ "animate.css": "~3.2.6",
+ "bootswatch-dist": "3.3.4-cerulean",
+ "jsencrypt": "~2.1.0",
+ "remarkable-bootstrap-notify": "~3.0.2",
+ "ng-sortable": "~1.2.0"
+ }
}
diff --git a/public/js/controllers/MembreCtrl.js b/public/js/controllers/MembreCtrl.js
index 16e3bbd..577e395 100644
--- a/public/js/controllers/MembreCtrl.js
+++ b/public/js/controllers/MembreCtrl.js
@@ -1,5 +1,6 @@
-angular.module('MembreCtrl', ['SessionsServ', 'ApiServ'])
+angular.module('MembreCtrl', ['SessionsServ', 'ApiServ', 'ui.sortable'])
.controller('MembreCtrl', function ($scope, SessionServ, ApiServ) {
+ $scope.membres = [];
$scope.formData = {};
$scope.session = SessionServ.cur;
@@ -12,6 +13,12 @@ angular.module('MembreCtrl', ['SessionsServ', 'ApiServ'])
$scope.membres = membres;
});
+ // $scope.dragControlListeners = {
+ // orderChanged: function (e) {
+ // console.log('Swap', e.source.index, e.dest.index);
+ // }
+ // };
+
$scope.createMembre = function () {
ApiServ("création du membre", 'post', 'membres', $scope.formData, function (err, membre) {
if (!err) {
diff --git a/public/views/index.html b/public/views/index.html
index 9ab4394..00846a7 100644
--- a/public/views/index.html
+++ b/public/views/index.html
@@ -9,7 +9,7 @@
-
+
@@ -19,6 +19,7 @@
+
@@ -62,4 +63,4 @@