diff options
author | Daniel Malachovsky <daniel.malachovsky@pantheon.sk> | 2016-02-04 15:12:56 +0100 |
---|---|---|
committer | Daniel Malachovsky <daniel.malachovsky@pantheon.sk> | 2016-02-04 20:37:13 +0000 |
commit | d97a05097134fe044ef416e72371948b0bb22b5c (patch) | |
tree | 577a7b6097d04ec08dd3d75b102ebf7d7822f237 /vbd/gui/module/src/main/resources/vpp/vpp.controller.js | |
parent | 74a62622f19db08823be3e8f36777df94dc9de4e (diff) |
Copyright header fix
- added copyright header to css and js files
- small fixes in css files
Change-Id: I62a32067d71ede7a7440662b1816f939659101e7
Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/vpp.controller.js')
-rw-r--r-- | vbd/gui/module/src/main/resources/vpp/vpp.controller.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/vpp.controller.js b/vbd/gui/module/src/main/resources/vpp/vpp.controller.js index 17d5a1085..ebfd49ae8 100644 --- a/vbd/gui/module/src/main/resources/vpp/vpp.controller.js +++ b/vbd/gui/module/src/main/resources/vpp/vpp.controller.js @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + var modules = ['app/vpp/vpp.module', 'app/vpp/vpp.services', ]; @@ -17,10 +25,11 @@ define(modules, function(vpp) { }; }]); - vpp.register.controller('InventoryTableController', ['$scope', '$rootScope','$filter', 'toastService', 'VppService', '$mdDialog', 'dataService', 'InterfaceService', function($scope, $rootScope, filter, toastService, VppService, $mdDialog, dataService, InterfaceService) { + vpp.register.controller('InventoryTableController', ['$scope', '$rootScope','$filter', 'toastService', 'VppService', '$mdDialog', 'dataService', 'VppInterfaceService', + function($scope, $rootScope, filter, toastService, VppService, $mdDialog, dataService, VppInterfaceService) { $scope.getInterfaces = function(index) { - InterfaceService.getInterfaceList( + VppInterfaceService.getInterfaceList( $scope.vppList[index].name, //success callback function(data) { |