Begin machine details overlay
This commit is contained in:
parent
869538121b
commit
1f397cf0c6
5 changed files with 73 additions and 3 deletions
21
client/js/controllers/home/machineDetails.js
Normal file
21
client/js/controllers/home/machineDetails.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* The home controller
|
||||
*
|
||||
* @param {$scope} $scope The $scope service from angular
|
||||
*/
|
||||
mainApp.controller('machineDetailsCtrl', [ '$scope', 'Compute', '$rootScope', function ($scope, Compute, $rootScope)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.$on('showMachineDetailsEvent', function(eventName ,machine){
|
||||
$scope.machine=machine;
|
||||
$('#machineDetailsModal').modal({backdrop: false, keyboard: true});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue