Add spin icon

This commit is contained in:
manzerbredes 2016-02-28 17:54:15 +01:00
parent 27a39a9448
commit 81c4c30c69
34 changed files with 7 additions and 4 deletions

View file

@ -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);
};

View file

@ -17,5 +17,6 @@ mainApp.controller('homeCtrl', [ '$scope', 'Compute', '$rootScope', function ($s
var machine={name: "Machine 1", online:true};
$rootScope.$broadcast("showMachineDetailsEvent", machine);
}
}]);