summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user
diff options
context:
space:
mode:
authorAnjali Walsatwar <anjali.walsatwar@huawei.com>2018-04-30 16:55:22 +0530
committerAnjali Walsatwar <anjali.walsatwar@huawei.com>2018-04-30 16:55:22 +0530
commita98bd2efb380606ed749c17544ea0be34950dac2 (patch)
treee04433b0b41f3401a550260576b25bd8f9ab6d01 /vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user
parent243dd9320bcaf4def0ef3f9cbf21eb0415263e6a (diff)
third party code optimization
Issue-ID: VNFSDK-258 Change-Id: Ia91277aed564485f669fb5010982a3f1ed6f8c57 Signed-off-by: Anjali Walsatwar <anjali.walsatwar@huawei.com>
Diffstat (limited to 'vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user')
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user-test.js48
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user.html74
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userCtrl.js47
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userModule.js31
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userRoute.js40
-rw-r--r--vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userService.js41
6 files changed, 0 insertions, 281 deletions
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user-test.js b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user-test.js
deleted file mode 100644
index 20693c1b..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user-test.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
-
- Copyright 2016-2017, Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-(function () {
- 'use strict';
-
- /**
- * @ngdoc function
- * @name app.test:userTest
- * @description
- * # userTest
- * Test of the app
- */
-
- describe('user test', function () {
- var controller = null, $scope = null;
-
- beforeEach(function () {
- module('vnfmarket');
- });
-
- beforeEach(inject(function ($controller, $rootScope) {
- $scope = $rootScope.$new();
- controller = $controller('UserCtrl', {
- $scope: $scope
- });
- }));
-
- it('Should controller must be defined', function () {
- expect(controller).toBeDefined();
- });
-
- });
-})();
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user.html b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user.html
deleted file mode 100644
index 2fe411b5..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/user.html
+++ /dev/null
@@ -1,74 +0,0 @@
-<!--
- Copyright 2016-2017 Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<div class="md-padding" flex layout-sm="column">
- <md-card>
- <md-card-content>
- <h2 class="md-title">Content from: user page</h2>
- </md-card-content>
- </md-card>
- <md-card>
- <md-card-content>
- <div class="row-fluid">
- <div class="col-md-12">
- <!-- Nav tabs -->
- <ul class="nav nav-tabs" role="tablist">
- <li role="presentation" class="active"><a href="#download-hist-tab" aria-controls="download-hist-tab" role="tab" data-toggle="tab">Downloaded Services</a></li>
- <li role="presentation"><a href="#upload-hist-tab" aria-controls="upload-hist-tab" role="tab" data-toggle="tab">Uploaded History</a></li>
- </ul>
- <!-- Tab panes -->
- <div class="tab-content">
- <div role="tabpanel" class="tab-pane active" id="download-hist-tab">
- <table class="table table-striped">
- <thead>
- <th>Service Name</th>
- <th>Last Updated</th>
- <th>Vendor</th>
- <th>Type</th>
- </thead>
- <tbody>
- <tr ng-repeat="service in services">
- <td>{{service.name}}</td>
- <td>{{service.date}}</td>
- <td>{{service.vendor}}</td>
- <td>{{service.type}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane" id="upload-hist-tab">
- <table class="table table-striped">
- <thead>
- <th>Service Name</th>
- <th>Last Updated</th>
- <th>Vendor</th>
- <th>Type</th>
- </thead>
- <tbody>
- <tr ng-repeat="service in services | limitTo: 6">
- <td>{{service.name}}</td>
- <td>{{service.date}}</td>
- <td>{{service.vendor}}</td>
- <td>{{service.type}}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </md-card-content>
- </md-card>
-</div>
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userCtrl.js b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userCtrl.js
deleted file mode 100644
index 81de3904..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userCtrl.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-
- Copyright 2016-2017, Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-(function() {
- 'use strict';
-
- /**
- * @ngdoc function
- * @name app.controller:userCtrl
- * @description
- * # userCtrl
- * Controller of the app
- */
-
- angular
- .module('user')
- .controller('UserCtrl', User);
-
- User.$inject = [];
-
- /*
- * recommend
- * Using function declarations
- * and bindable members up top.
- */
-
- function User() {
- /*jshint validthis: true */
- var vm = this;
-
- }
-
-})();
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userModule.js b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userModule.js
deleted file mode 100644
index 290c1758..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userModule.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-
- Copyright 2016-2017, Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-(function () {
- 'use strict';
-
- /**
- * @ngdoc function
- * @name app.module:userModule
- * @description
- * # userModule
- * Module of the app
- */
-
- angular.module('user', []);
-
-})();
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userRoute.js b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userRoute.js
deleted file mode 100644
index 3986c106..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userRoute.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-
- Copyright 2016-2017, Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-'use strict';
-
-/**
- * @ngdoc function
- * @name app.route:userRoute
- * @description
- * # userRoute
- * Route of the app
- */
-
-angular.module('user')
- .config(['$stateProvider', function ($stateProvider) {
-
- $stateProvider
- .state('home.user', {
- url:'/user',
- templateUrl: 'app/modules/user/user.html',
- controller: 'UserCtrl',
- controllerAs: 'vm'
- });
-
-
- }]);
diff --git a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userService.js b/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userService.js
deleted file mode 100644
index a3a8f76c..00000000
--- a/vnfmarket-be/portal-marketplace/src/main/webapp/marketplace/modules/user/userService.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
- Copyright 2016-2017, Huawei Technologies Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
-*/
-(function() {
- 'use strict';
-
- /**
- * @ngdoc function
- * @name app.service:userService
- * @description
- * # userService
- * Service of the app
- */
-
- angular
- .module('user')
- .factory('UserService', User);
- // Inject your dependencies as .$inject = ['$http', 'someSevide'];
- // function Name ($http, someSevide) {...}
-
- User.$inject = ['$http'];
-
- function User ($http) {
-
- }
-
-})();