summaryrefslogtreecommitdiff
path: root/client/js
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-28 17:54:15 +0100
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-02-28 17:54:15 +0100
commit81c4c30c69f63a8605d5e7d2d317aa85fd7fdb05 (patch)
tree0e90f9cb4a5c851eed0f4900823d3e45bf3ca891 /client/js
parent27a39a9448eac036d3af994b36d77093a2304e00 (diff)
Add spin icon
Diffstat (limited to 'client/js')
-rw-r--r--client/js/controllers/home/machineDetails.js4
-rw-r--r--client/js/controllers/home/main.js3
2 files changed, 4 insertions, 3 deletions
diff --git a/client/js/controllers/home/machineDetails.js b/client/js/controllers/home/machineDetails.js
index 3ee4625..f84a073 100644
--- a/client/js/controllers/home/machineDetails.js
+++ b/client/js/controllers/home/machineDetails.js
@@ -21,11 +21,11 @@ mainApp.controller('machineDetailsCtrl', [ '$scope', 'Compute', '$rootScope', '$
// Fake timeout
$timeout(function(){
$("#waitingForToggleMachine").hide();
- }, 1000);
+ }, 3000);
$timeout(function(){
$scope.machine.online=!$scope.machine.online;
- }, 1000);
+ }, 3000);
};
diff --git a/client/js/controllers/home/main.js b/client/js/controllers/home/main.js
index 6545c1a..d93c376 100644
--- a/client/js/controllers/home/main.js
+++ b/client/js/controllers/home/main.js
@@ -17,5 +17,6 @@ mainApp.controller('homeCtrl', [ '$scope', 'Compute', '$rootScope', function ($s
var machine={name: "Machine 1", online:true};
$rootScope.$broadcast("showMachineDetailsEvent", machine);
}
-
+
+
}]);