Add machine creation overlay
This commit is contained in:
parent
f4f2f50f21
commit
f819bc0c90
6 changed files with 356 additions and 255 deletions
16
client/js/controllers/home/machineCreation.js
Normal file
16
client/js/controllers/home/machineCreation.js
Normal 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});
|
||||
});
|
||||
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue