diff options
author | 2016-02-07 22:07:30 +0100 | |
---|---|---|
committer | 2016-02-08 15:31:43 +0000 | |
commit | 4297ef6abf96b5fd1d6e0f1078a1ee9a76dc3f32 (patch) | |
tree | b570b0ae4916278994276eee37ffaf1f2f3bce0c /vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js | |
parent | f5e3e98d5c14252db91b8642028728553b43baca (diff) |
Inventory rework 2
- added detail page
- lot of design changes
- lot of css overrides
Change-Id: Ia1735272297c0913f971728acc6775cce93d4646
Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js')
-rw-r--r-- | vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js b/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js index 6b2dde830..2d968f757 100644 --- a/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js +++ b/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js @@ -34,11 +34,16 @@ define(modules, function(vpp) { $scope.view_path = 'src/app/vpp/views/'; $scope.mainView = "inventory"; + $scope.selectedVpp = null; $scope.setMainView = function(viewName) { $scope.mainView = viewName; }; + $scope.selectVpp = function(vpp) { + $scope.selectedVpp = vpp; + $scope.$broadcast('RELOAD_SELECTED_VPP'); + }; }]); |