Add machine creation overlay

This commit is contained in:
Loic GUEGAN 2016-05-04 18:50:28 +02:00
parent f4f2f50f21
commit f819bc0c90
6 changed files with 356 additions and 255 deletions

View file

@ -0,0 +1,16 @@
/**
* The home controller
*
* @param {$scope} $scope The $scope service from angular
*/
mainApp.controller('machineCreationCtrl', ['$scope', 'Compute', '$rootScope', '$timeout', 'Identity', function ($scope, Compute, $rootScope, $timeout, Identity)
{
$scope.name = "loic"
// When we need to show details of machine
$scope.$on('showMachineCreationEvent', function (eventName) {
$('#machineCreationModal').modal({backdrop: false, keyboard: true});
});
}]);