diff options
| author | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-04 18:50:28 +0200 |
|---|---|---|
| committer | Loic GUEGAN <loic@Manzerbredes.home> | 2016-05-04 18:50:28 +0200 |
| commit | f819bc0c909dd85c4d98c8fb870ce5c6fce37383 (patch) | |
| tree | ea08f0571975164755a81aa40d6933f71628f78f /client/js/controllers/home/machineCreation.js | |
| parent | f4f2f50f21292a002e0becf6fcea7a22b7514e32 (diff) | |
Add machine creation overlay
Diffstat (limited to 'client/js/controllers/home/machineCreation.js')
| -rw-r--r-- | client/js/controllers/home/machineCreation.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/client/js/controllers/home/machineCreation.js b/client/js/controllers/home/machineCreation.js new file mode 100644 index 0000000..11315dd --- /dev/null +++ b/client/js/controllers/home/machineCreation.js @@ -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}); + }); + + }]); |
