From d0ea6a49ce88f043a6b7ce7ff8a7bb6333bd691c Mon Sep 17 00:00:00 2001 From: Edan Binshtok Date: Tue, 17 Oct 2017 17:42:16 +0300 Subject: Removal of AT&T Proprietary Remove Terms of d2ice Remove d2ice and att in js Remove fonts Change-Id: I383d96979e0f9f7af923365f2dba7b0c7fb8f0eb Issue-Id: VVP-25 Signed-off-by: Edan Binshtok --- .../activation/activate/activateUser.controller.js | 60 ----- .../app/main/activation/activate/activateUser.html | 39 --- .../activation/activate/activateUser.module.js | 58 ----- .../addVendorContact.controller.js | 111 --------- .../addVendorContact/addVendorContact.html | 111 --------- .../addVendorContact/addVendorContact.less | 82 ------ .../addVendorContact/addVendorContact.module.js | 67 ----- .../app/main/activation/addVf/addVf.controller.js | 277 --------------------- d2ice.att.io/app/main/activation/addVf/addVf.html | 130 ---------- d2ice.att.io/app/main/activation/addVf/addVf.less | 176 ------------- .../app/main/activation/addVf/addVf.module.js | 67 ----- .../activation/contactUs/contactUs.controller.js | 57 ----- .../app/main/activation/contactUs/contactUs.html | 53 ---- .../app/main/activation/contactUs/contactUs.less | 59 ----- .../main/activation/contactUs/contactUs.module.js | 67 ----- .../inviteMembers/inviteMembers.controller.js | 97 -------- .../activation/inviteMembers/inviteMembers.html | 72 ------ .../activation/inviteMembers/inviteMembers.less | 86 ------- .../inviteMembers/inviteMembers.module.js | 67 ----- .../app/main/activation/login/login.controller.js | 119 --------- d2ice.att.io/app/main/activation/login/login.html | 90 ------- d2ice.att.io/app/main/activation/login/login.less | 109 -------- .../app/main/activation/login/login.module.js | 68 ----- .../activation/register/register.controller.js | 122 --------- .../app/main/activation/register/register.html | 127 ---------- .../app/main/activation/register/register.less | 100 -------- .../main/activation/register/register.module.js | 67 ----- .../resendActivation.controller.js | 79 ------ .../resendActivation/resendActivation.html | 61 ----- .../resendActivation/resendActivation.less | 67 ----- .../resendActivation/resendActivation.module.js | 68 ----- .../resetPassword/resetPassword.controller.js | 95 ------- .../activation/resetPassword/resetPassword.html | 64 ----- .../activation/resetPassword/resetPassword.less | 84 ------- .../resetPassword/resetPassword.module.js | 68 ----- .../app/main/activation/terms/terms.controller.js | 56 ----- d2ice.att.io/app/main/activation/terms/terms.html | 105 -------- d2ice.att.io/app/main/activation/terms/terms.less | 65 ----- .../app/main/activation/terms/terms.module.js | 68 ----- .../updatePassword/updatePassword.controller.js | 95 ------- .../activation/updatePassword/updatePassword.html | 76 ------ .../activation/updatePassword/updatePassword.less | 85 ------- .../updatePassword/updatePassword.module.js | 68 ----- 43 files changed, 3742 deletions(-) delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.controller.js delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.html delete mode 100755 d2ice.att.io/app/main/activation/activate/activateUser.module.js delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less delete mode 100755 d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.controller.js delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.html delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.less delete mode 100755 d2ice.att.io/app/main/activation/addVf/addVf.module.js delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.html delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.less delete mode 100755 d2ice.att.io/app/main/activation/contactUs/contactUs.module.js delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less delete mode 100755 d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js delete mode 100755 d2ice.att.io/app/main/activation/login/login.controller.js delete mode 100755 d2ice.att.io/app/main/activation/login/login.html delete mode 100755 d2ice.att.io/app/main/activation/login/login.less delete mode 100755 d2ice.att.io/app/main/activation/login/login.module.js delete mode 100755 d2ice.att.io/app/main/activation/register/register.controller.js delete mode 100755 d2ice.att.io/app/main/activation/register/register.html delete mode 100755 d2ice.att.io/app/main/activation/register/register.less delete mode 100755 d2ice.att.io/app/main/activation/register/register.module.js delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.html delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.less delete mode 100755 d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.html delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.less delete mode 100755 d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.controller.js delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.html delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.less delete mode 100755 d2ice.att.io/app/main/activation/terms/terms.module.js delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.html delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.less delete mode 100755 d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js (limited to 'd2ice.att.io/app/main/activation') diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.controller.js b/d2ice.att.io/app/main/activation/activate/activateUser.controller.js deleted file mode 100755 index 39e60123..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.controller.js +++ /dev/null @@ -1,60 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.activateUser') - .controller('ActivateUserController', ["$state", "usersService", "$log", "$stateParams", LoginController]); - - function LoginController($state, usersService, $log, $stateParams) { - var init = function () { - usersService.activateUser($stateParams.userID, $stateParams.token) - .then(function (response) { - $state.go('app.login', {activation_success: response.data.activation_success, - engagement_uuid: response.data.engagement_uuid}); - }) - .catch(function (error) { - $log.error(error); - $state.go('app.login', {message: error.message.detail}); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.html b/d2ice.att.io/app/main/activation/activate/activateUser.html deleted file mode 100755 index 2041a607..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.html +++ /dev/null @@ -1,39 +0,0 @@ - -
diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.module.js b/d2ice.att.io/app/main/activation/activate/activateUser.module.js deleted file mode 100755 index b2e1f169..00000000 --- a/d2ice.att.io/app/main/activation/activate/activateUser.module.js +++ /dev/null @@ -1,58 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.activateUser', []) - .config(config); - - function config($stateProvider) { - $stateProvider - .state('app.activateUser', { - url: '/activate/:userID/:token', - views: { - 'main@': { - templateUrl: 'main/activation/activate/activateUser.html', - controller : 'ActivateUserController as vm' - } - }, - params: {} - }); - } -})(); diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js deleted file mode 100755 index c8859a7d..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js +++ /dev/null @@ -1,111 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVendorContact') - .controller('AddVendorContactController', ["$state", "vfService", "usersService", "$log", "$rootScope", - AddVendorContactController]); - - function AddVendorContactController($state, vfService, usersService, $log, $rootScope) { - - var vm = this; - vm.data = {}; - - var init = function() { - $rootScope.ice.loader.show = true; - $rootScope.headerTitle = ""; - $rootScope.headerSubTitle = ""; - - vm.choices = [{ VirtualFunction: '', TargetLab: '', TargetAic: '',is_service_provider_internal: '' }]; - - vfService.getCompanies() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.companies = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - }; - - vm.submitForm = function () { - vm.data.company = vm.data.company.uuid; - - $rootScope.ice.loader.show = true; - usersService.addVendorContact(vm.data) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - vm.Msg = response.status + " : " + response.statusText; - vm.bgColor = "#FFEBEB"; // RED #FFEBEB green DFF0D9 - $log.error(error); - }); - }; - - vm.addNewChoice = function (){ - var newItemNo = vm.choices.length + 1; - vm.choices.push({ 'id': newItemNo }); - }; - - vm.removeChoice = function (){ - var lastItem = vm.choices.length - 1; - vm.choices.splice(lastItem); - }; - - init(); - } - -})(); - diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html deleted file mode 100755 index ff9bd6e6..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html +++ /dev/null @@ -1,111 +0,0 @@ - - - -
-
-
- -
- -
- - -
- Please select a company -
-
- -
- - -
- Name is a required field. - Full Name is too short. - Full Name is too long. -
-
- -
- - -
- Email is a required field. - Enter a valid email. -
-
- -
- - -
- Phone is a required field. - Phone is too short. - Phone is too long. - Phone must consist of numbers only. -
-
- -
-  I agree to receive regular email updates. -
- -
-  I accept the AT&T's {{'program.name' | i18next}} Terms of Service and Privacy Policy. -
- -
- -
-
reCAPTCHA is invalid.
-
- - - - - - -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less deleted file mode 100755 index 166962d9..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less +++ /dev/null @@ -1,82 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.addVendorContact { - - .add-button - { - float:left; - .sprite; - .sprite.add; - } - - .remove-button - { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - } - - .login-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - -} diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js deleted file mode 100755 index c7b7396a..00000000 --- a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVendorContact', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.addVendorContact', { - url : '/addVendorContact', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.addVendorContact': { - templateUrl: 'main/activation/addVendorContact/addVendorContact.html', - controller : 'AddVendorContactController as vm' - } - }, - bodyClass: 'addVendorContact' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.controller.js b/d2ice.att.io/app/main/activation/addVf/addVf.controller.js deleted file mode 100755 index 5a00c170..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.controller.js +++ /dev/null @@ -1,277 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVf') - .controller('AddVfController', ["$scope", "$state", "vfService", "toastService", "$location", "$rootScope", - "localStorageService", 'usersService', '$log', AddVfController]) - .directive('addVf', function () { - return { - restrict: 'AEC', - templateUrl: 'main/activation/addVf/addVf.html', - link: function(scope, elm, attrs) { - - }, - controller: AddVfController, - controllerAs: 'vm', - scope: { - isModal: '=isModal' - } - } - }); - - function AddVfController($scope, $state, vfService, toastService, $location, $rootScope,localStorageService, - usersService, $log) { - var vm = this; - vm.data = []; - vm.isModal = $scope.isModal; - vm.user = usersService.getUserData(); - if (vm.user == undefined) { - $state.go('app.login'); - } - - $rootScope.headerTitle = "Add Virtual Function"; - $rootScope.headerSubTitle = "
Please use the form below to submit the virtual functions you would " + - "like to engage with ICE.
Please do note that each VF will be tracked separately.
"; - - if (!vm.isModal && $location.search().activation_success) { - toastService.setToast('You have successfully activated your account', 'success', {displayFor: 'modal'}); - } - - var targetLabDate1 = []; - //vm.targetLabDate = iceConstants.targetLabDate; - vm.targetLabDate = monthesPlus12(); - - - $rootScope.ice.loader.show = true; - vfService.getDeployTargets() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.deployTargets = response.data; - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - vfService.getECOMPReleases() - .then(function (response) { - if (response.status === 200) { - vm.ECOMPReleases = response.data; - } - }).catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - vm.choices = [{VirtualFunction: '', TargetLab: '', TargetAic: '', is_service_provider_internal: ''}]; - - vm.addNewChoice = function () { - var newItemNo = vm.choices.length + 1; - vm.choices.push({'id': newItemNo}); - }; - - vm.removeChoice = function (index) { - vm.choices.splice(index,1); - }; - - vm.submitForm = function () { - var is_service_provider_internal; - var jsonAddVf = []; - angular.forEach(vm.choices, function (value, key) { - if (value.is_service_provider_internal == true) { - is_service_provider_internal = "True"; - } else { - is_service_provider_internal = "False"; - } - vm.item = []; - var jsonItem = new Object(); - jsonItem.virtual_function = value.VirtualFunction; - var objDate = new Date(Date.parse((value.TargetLab) + moment().format("z"))); - jsonItem.target_lab_entry_date = objDate.getFullYear() + "-" - + addZero(objDate.getMonth()+1) + "-" + addZero(objDate.getDate()); - jsonItem.version = value.VFVersion; - jsonItem.target_aic_uuid = value.TargetAic; - jsonItem.ecomp_release = value.ECOMPRelease; - jsonItem.is_service_provider_internal = (is_service_provider_internal === "True"); - jsonAddVf.push(jsonItem); - }); - - $rootScope.ice.loader.show = true; - vfService.addVfs(JSON.stringify(jsonAddVf))//vm.data)) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - localStorageService.setJson("vfs", response.data); - - if (!vm.isModal) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } else { - $scope.$emit('onUpdateEngagements',{ - select: { - uuid:response.data[0].engagement.uuid,page_type:'overview', - sub_id:undefined - } - }); - $scope.$emit('moveWizardNextStep', response.data[0]); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - - vm.skipAddVf = function () { - if (!vm.isModal && $location.search().activation_success) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - }; - vm.myDate = new Date(); - vm.minDate = new Date( - vm.myDate.getFullYear(), - vm.myDate.getMonth(), - vm.myDate.getDate()); - vm.maxDate = new Date( - vm.myDate.getFullYear() + 2, - vm.myDate.getMonth(), - vm.myDate.getDate()); - - } - - - var monthesPlus12 = function() - { - var i; - var arrMonthYear=[]; - var startingMonth = (new Date().getMonth()+1); - var startingYear = (new Date().getFullYear()); - for (i = startingMonth ; i<=12;i++) - { - arrMonthYear.push({"val": monthZero(i) + "-" + startingYear, "nam": MonthNumToName(i) + " " + - startingYear}); - } - for (i=1; i < startingMonth ; i++) - { - arrMonthYear.push({"val": monthZero(i) + "-" + (startingYear+1), "nam": MonthNumToName(i) + " " + - (startingYear + 1)}); - } - return(arrMonthYear); - } - - var monthZero = function(m) - { - var ret = m; - if (m<10) - { - ret = "0"+m; - } - return(ret); - } - - var MonthNumToName = function(m) - { - var MonthName; - switch (m) - { - case 1: - MonthName = "January"; - break; - case 2: - MonthName = "February"; - break; - case 3: - MonthName = "March"; - break; - case 4: - MonthName = "April"; - break; - case 5: - MonthName = "May"; - break; - case 6: - MonthName = "June"; - break; - case 7: - MonthName = "July"; - break; - case 8: - MonthName = "August"; - break; - case 9: - MonthName = "September"; - break; - case 10: - MonthName = "October"; - break; - case 11: - MonthName = "November"; - break; - case 12: - MonthName = "December"; - break; - } - return(MonthName); - } - - var addZero = function(x) - { - if (x<10) - { - return("0"+x); - } - else - { - return(x); - } - } -})(); - diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.html b/d2ice.att.io/app/main/activation/addVf/addVf.html deleted file mode 100755 index 4dff7b0b..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.html +++ /dev/null @@ -1,130 +0,0 @@ - - -
-
-
-
-
-
- -
-
- -
- -
- Use the form below to add your VF.Try to be as accurate as you can around the information to - make sure the validation can accomplished as possible. -
-
-
- -
-
VF Name
- -
- VF Name can be alphanumeric or/and Hyphen -
-
-
-
-

Key Metadata

-
- -
- -
-
Target Lab Entry Date
- - -
-
-
- - The virtual function is only developed internally inside AT&T. -
-
-
-
- -
-
-
-
-
diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.less b/d2ice.att.io/app/main/activation/addVf/addVf.less deleted file mode 100755 index dd78bae3..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.less +++ /dev/null @@ -1,176 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.add-vf { - - .reject_large { - .actions-sprite; - .actions-sprite.reject_large; - cursor: pointer; - } - - .table{ - margin-bottom: 0; - } - - .table-container-flex { - - - .action-row-wrapper, .data-row-wrapper { - padding: 5px 10px; - margin-bottom:5px; - - } - - .data-row-wrapper:nth-child(even) { - background: rgba(158, 158, 158, 0.28); - - - } - - .data-row-wrapper:nth-child(odd) { - border-bottom: 1px solid; - border-top: 1px solid; - border-color: @main_color_q; - } - - .data-row-wrapper:first-child { - border-top: none; - } - - .data-row-wrapper:last-child { - border-bottom:none; - } - .flex-item { - padding-left:0px; - } - .flex-item:nth-child(1) { - padding: 5px 15px 5px 0px; - flex-grow: 25; - } - - .flex-item:nth-child(2) { - flex-grow: 25; - } - - .flex-item:nth-child(3) { - flex-grow: 25; - } - - .flex-item:nth-child(4) { - flex-grow: 25; - } - .flex-item:nth-child(5) { - flex-grow: 25; - } - - } - - .add-vf-confirm-checkbox { - display: block; - clear: both; - } - - .add-button { - display: block; - .add-text { - .a_16_m; - vertical-align: top; - margin-left: 6px; - } - .add-icon { - .sprite; - .sprite.add; - display: inline-block; - } - } - - .remove-button { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - .a_16_m; - margin-top: 8px; - cursor: pointer; - - .remove-icon { - display: inline-block; - vertical-align: text-top; - margin-right: 6px; - .sprite; - .sprite.delete-circle; - cursor: pointer; - } - } - - .lineColor - { - margin: 2px; - } - - .addVf-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - #skip-add-vf-singup { - margin-top: 10px; - display: block; - text-decoration: underline; - text-align: left; - .a_16_r; - } - - -} diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.module.js b/d2ice.att.io/app/main/activation/addVf/addVf.module.js deleted file mode 100755 index bac2c90b..00000000 --- a/d2ice.att.io/app/main/activation/addVf/addVf.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.addVf', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.addVf', { - url : '/addVf', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.addVf': { - templateUrl: 'main/activation/addVf/addVf.html', - controller : 'AddVfController as vm' - } - }, - bodyClass: 'add-vf' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js b/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js deleted file mode 100755 index bed33798..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js +++ /dev/null @@ -1,57 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.contactUs') - .controller('ContactUsController', ["$rootScope", ContactUsController]); - - function ContactUsController($rootScope) { - - var vm = this; - - $rootScope.headerTitle = "Contact Us"; - $rootScope.headerSubTitle = "Please fill in the details below"; - - } - -})(); - diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.html b/d2ice.att.io/app/main/activation/contactUs/contactUs.html deleted file mode 100755 index 653ebc1d..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.html +++ /dev/null @@ -1,53 +0,0 @@ - -
- -
-
- -
- - - -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.less b/d2ice.att.io/app/main/activation/contactUs/contactUs.less deleted file mode 100755 index befbb342..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.less +++ /dev/null @@ -1,59 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.contact-us { - - .contact-us-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - -} diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js b/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js deleted file mode 100755 index 9259671d..00000000 --- a/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.contactUs', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.contactus', { - url : '/contactUs', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.contactus': { - templateUrl: 'main/activation/contactUs/contactUs.html', - controller : 'ContactUsController as vm' - } - }, - bodyClass: 'contact-us' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js deleted file mode 100755 index 72ff43c0..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js +++ /dev/null @@ -1,97 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.inviteMembers') - .controller('InviteMembersController', ["$state", "vfService", "$rootScope", "$log", InviteMembersController]); - - function InviteMembersController($state, vfService, $rootScope, $log) { - var vm = this; - vm.data = []; - - var init = function() { - $rootScope.headerTitle = "Invite Team Members"; - $rootScope.headerSubTitle = "You can invite as many team members to collaborate around your virtual" + - " function as you would like. Please do remember that anyone invited to collaborate with you around" + - " the virtual function will have equal access."; - vm.choices = [{ Email: '' }]; - }; - - vm.submitForm = function () { - var jsonInviteMembers=[]; - angular.forEach(vm.choices, function(value, key) { - vm.item=[]; - var jsonItem = new Object(); - jsonItem.email = value.email; - jsonInviteMembers.push(jsonItem); - }); - - $rootScope.ice.loader.show = true; - vfService.inviteMembers(JSON.stringify(jsonInviteMembers)) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - if (response.data.is_active) { - $state.go('app.dashboard.overview'); - } else { - $state.go('app.resend_activation'); - } - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.addNewChoice = function () { - var newItemNo = vm.choices.length + 1; - vm.choices.push({ 'id': newItemNo }); - }; - - vm.removeChoice = function () { - var lastItem = vm.choices.length - 1; - vm.choices.splice(lastItem); - }; - - init(); - } -})(); - diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html deleted file mode 100755 index 60fa01d5..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html +++ /dev/null @@ -1,72 +0,0 @@ - - - -
- -
- -
- -
-
-
-
-
-
- -
- Email is a required field. - Enter a valid email. -
-
-
-
- Remove -
-
-
- - Invite another team member - - - -
-
-
diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less deleted file mode 100755 index 9eb02dc3..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less +++ /dev/null @@ -1,86 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.inviteMembers { - - .inviteMembers-title { - height: 130px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: flex-start; - h1 {.p_24; margin: 20px 0 10px 0;} - h2 {.p_16_m; margin: 0;} - } - - .add-button { - &:after { - .sprite; - .sprite.add; - display: block; - } - } - - .remove-button { - width:100px; - height:40px; - line-height:20px; - vertical-align:middle; - padding-left:10px; - float:left; - } - - .inviteMembers-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - -} diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js deleted file mode 100755 index 61d8f1f0..00000000 --- a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.inviteMembers', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.inviteMembers', { - url : '/inviteMembers', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.inviteMembers': { - templateUrl: 'main/activation/inviteMembers/inviteMembers.html', - controller : 'InviteMembers as vm' - } - }, - bodyClass: 'inviteMembers' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/login/login.controller.js b/d2ice.att.io/app/main/activation/login/login.controller.js deleted file mode 100755 index 9ed5f1be..00000000 --- a/d2ice.att.io/app/main/activation/login/login.controller.js +++ /dev/null @@ -1,119 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.login') - .controller('LoginController', ["$state", "usersService", "$log", "$rootScope", "$location", "toastService", - "$stateParams", LoginController]); - - function LoginController($state, usersService, $log, $rootScope, $location, toastService, $stateParams) { - var vm = this; - vm.data = {}; - $rootScope.headerTitle = "Login"; - $rootScope.headerSubTitle = "Please use the form below to login"; - usersService.resetUserData(); - var t=""; - - if ($state.params.message){ - toastService.setToast($state.params.message, 'danger'); - $log.warn($state.params.message); - } - - if ($location.search().t != undefined){ - t = "token"+$location.search().t - } - - vm.data.invitation = $location.search().invitation; - - vm.submitForm = function () { - $rootScope.ice.loader.show = true; - usersService.login(JSON.stringify(vm.data), t) - .then(function (response) { - if (response.status === 200) { - $rootScope.ice.loader.show = false; - - usersService.setUserActivationSuccess($state.params.activation_success); - - if(response.data.isResetPwdFlow!=undefined && response.data.isResetPwdFlow==true){ - $state.go("app.updatePassword"); - } - else{ - // This is a workaround to remove slash at the beginning. - // The slash is there because the ui-router does not support optional - // params in URL address, and I used regex: - // url: '/login{enggement_uuid: (?:/[^/]+)?}' and the value returned for engagement_uuid - // contains slash at the start. - var engagement_uuid = $state.params.engagement_uuid; - if (response.data.eng_uuid != undefined) - engagement_uuid = response.data.eng_uuid; - - if (engagement_uuid){ - engagement_uuid = engagement_uuid.replace('/',''); - $state.go("app.dashboard.overview", {"engagement_uuid": engagement_uuid}); - } else { - $state.go("app.dashboard.dashboard"); - } - } - } - }) - .catch(function (error) { - if(error && error.message && error.message.detail) { - toastService.setToast(error.message.detail, 'danger'); - } else { - toastService.setToast(error.message, 'danger'); - } - - $rootScope.ice.loader.show = false; - $log.error(error.message); - if(error.status===403){ // The server will return 403 if the user.is_active==false - $log.error('User is not active, redirecting to resend_activation page'); - $state.go("app.resend_activation", {"message": "Please activate your account first"}); - } - if(error.status===302){ // The server will return 302 if the temporary password has expired - $log.error('Temporary password has expired, redirecting to reset_password page'); - $state.go('app.resetPassword', {"message":"Your temporary password has expired, please" + - " generate a new one"}); - } - }); - }; - } -})(); diff --git a/d2ice.att.io/app/main/activation/login/login.html b/d2ice.att.io/app/main/activation/login/login.html deleted file mode 100755 index d095fda1..00000000 --- a/d2ice.att.io/app/main/activation/login/login.html +++ /dev/null @@ -1,90 +0,0 @@ - - - -
- -
-
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/login/login.less b/d2ice.att.io/app/main/activation/login/login.less deleted file mode 100755 index 9dd6a9f7..00000000 --- a/d2ice.att.io/app/main/activation/login/login.less +++ /dev/null @@ -1,109 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.login { - - .login-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - - .leftLink - { - padding-top:5px; - width:50%; - text-align:left; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - - .rightLink - { - font-size:14px; - padding-top:5px; - width:50%; - text-align:right; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/login/login.module.js b/d2ice.att.io/app/main/activation/login/login.module.js deleted file mode 100755 index 9953063b..00000000 --- a/d2ice.att.io/app/main/activation/login/login.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.login', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.login', { - url: '/login{engagement_uuid: (?:/[^/]+)?}', - views: { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller: 'MainController as vm' - }, - 'content@app.login': { - templateUrl: 'main/activation/login/login.html', - controller: 'LoginController as vm' - } - }, - params: {message: null, activation_success: undefined}, - bodyClass: 'login' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/register/register.controller.js b/d2ice.att.io/app/main/activation/register/register.controller.js deleted file mode 100755 index e4e525a7..00000000 --- a/d2ice.att.io/app/main/activation/register/register.controller.js +++ /dev/null @@ -1,122 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.register') - .controller('RegisterController', ["usersService", "$state", "$location", "vfService", "$rootScope", - "toastService", "$log",'$i18next', RegisterController]); - - function RegisterController(usersService, $state, $location, vfService, $rootScope, toastService, $log,$i18next) { - - var vm = this; - vm.data = {}; - var programName = $i18next.t('program.name'); - var init = function() - { - - $rootScope.headerTitle = "Sign Up"; - $rootScope.headerSubTitle = "Please use the form to Sign Up to " +programName; - - usersService.resetUserData(); - - var companyParam = $location.search().company; - - vm.data.full_name = $location.search().full_name; - vm.data.email = $location.search().email; - vm.data.phone_number = $location.search().phone_number; - - $rootScope.ice.loader.show = true; - vfService.getCompanies() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200){ - vm.vendors = response.data; - if (companyParam != undefined) { - angular.forEach(vm.vendors, function (value, key) { - if (value.uuid === companyParam) { - vm.data.company = value.name; - }; - }); - } - } - }) - .catch(function (error){ - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - vm.submitForm = function () { - if(grecaptcha.getResponse().length != 0) - { - $rootScope.ice.loader.show = true; - if (vm.data.regular_email_updates != true) { - vm.data.regular_email_updates = false; - } - vm.data.inviter_uuid = $location.search().inviter_uuid; - vm.data.eng_uuid = $location.search().eng_uuid; - vm.data.invitation = $location.search().invitation; - vm.data.is_contact_user = ($location.search().is_contact_user === "true"); - vm.email = $location.search().email; - - usersService.register(vm.data) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - $state.go('app.resend_activation'); - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - $rootScope.PleaseFill = ""; - } else { - toastService.setToast('Please fill CAPTCHA!', 'danger'); - $log.warn("Please fill CAPTCHA!"); - } - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/register/register.html b/d2ice.att.io/app/main/activation/register/register.html deleted file mode 100755 index b6af8ce4..00000000 --- a/d2ice.att.io/app/main/activation/register/register.html +++ /dev/null @@ -1,127 +0,0 @@ - - - -
- -
-
- -
-
- - -
- Please select a company -
-
- -
- - -
- Name is a required field. - Full Name is too short. - Full Name is too long. - Full Name must be alphanumeric -
-
- -
- - -
- Email is a required field. - Enter a valid email. -
-
- -
- - -
- Phone is a required field. - Phone is too short. - Phone is too long. - Phone format invalid -
-
- -
- - -
- Password is a required field. - Password is too short. - Password is too long. -
-
- -
-  I agree to receive regular email updates from AT&T {{'program.name' | i18next}}. -
- - - -
- -
-
- - {{PleaseFill}} - - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/register/register.less b/d2ice.att.io/app/main/activation/register/register.less deleted file mode 100755 index 7df0cce9..00000000 --- a/d2ice.att.io/app/main/activation/register/register.less +++ /dev/null @@ -1,100 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.register { - .phone-place-holder::-webkit-input-placeholder { - opacity: 0.7; - } - .phone-place-holder::-moz-placeholder { - opacity: 0.7; - } - .phone-place-holder:-moz-placeholder { - opacity: 0.7; - } - .phone-place-holder:-ms-input-placeholder { - opacity: 0.7; - } - - .register-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a.login, a.login:hover{ - .m_14_r; - float: right; - margin: 5px 0 0 0; - } - - a.login{ - text-decoration: underline; - } - - .form-group { - a { - font-size:14px; - text-decoration:underline; - - &:hover { - font-size:14px; - } - } - } -} diff --git a/d2ice.att.io/app/main/activation/register/register.module.js b/d2ice.att.io/app/main/activation/register/register.module.js deleted file mode 100755 index e463ceb1..00000000 --- a/d2ice.att.io/app/main/activation/register/register.module.js +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.register', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.register', { - url : '/signUp', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.register': { - templateUrl: 'main/activation/register/register.html', - controller : 'RegisterController as vm' - } - }, - bodyClass: 'register' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js deleted file mode 100755 index 374d9005..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js +++ /dev/null @@ -1,79 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.resendActivation') - .controller('resendActivationController', ["usersService", "toastService", "$rootScope", "$state", "$log", - resendActivationController]); - - function resendActivationController(usersService, toastService, $rootScope, $state, $log) { - var vm = this; - vm.data = []; - - var init = function() { - $rootScope.headerTitle = "Activate Your Account"; - $rootScope.headerSubTitle = "Please follow the instructions below to activate your account."; - - if ($state.params.message){ - toastService.setToast($state.params.message, 'danger'); - } - - vm.activated=false; //True false - vm.showHideMsg = false; - vm.showHideWait = false; - }; - - vm.submitForm = function () { - $rootScope.ice.loader.show = true; - usersService.resendActivationMail() - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - - init(); - } -})(); diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html deleted file mode 100755 index cc2cc91b..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html +++ /dev/null @@ -1,61 +0,0 @@ - - - -
- -
-
-
-

- You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your email address. -

- Please note that sometimes activation emails end up in users spam/junk folders, so please check there. -

- If you have not received it, please click the resend the Activation Email button below. -

- - - -
-
-
-
diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less deleted file mode 100755 index 5d2277cb..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less +++ /dev/null @@ -1,67 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.resend-activation { - - .active-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - .leftLink{ - padding-top:5px; - width:50%; - text-align:left; - float:left; - - } - -} diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js deleted file mode 100755 index 90a28339..00000000 --- a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.resendActivation', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.resend_activation', { - url : '/resendActivation', - views : { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller : 'MainController as vm' - }, - 'content@app.resend_activation': { - templateUrl: 'main/activation/resendActivation/resendActivation.html', - controller : 'resendActivationController as vm' - } - }, - params: {message: null}, - bodyClass: 'resend-activation' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js deleted file mode 100755 index 9702c2e4..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.activation.resetPassword') - .controller('ResetPasswordController', ["$state", "usersService", "toastService", "$rootScope", "$window", - "$log", ResetPasswordController]); - - function ResetPasswordController($state, usersService, toastService, $rootScope, $window,$log) - { - var vm = this; - vm.data = {}; - var ngReq = true; - $rootScope.headerTitle = "Reset Your Password"; - $rootScope.headerSubTitle = "Please follow the instructions below to reset your password"; - - if($state.params.message!=undefined && $state.params.message!=""){ - toastService.setToast($state.params.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.warn($state.params.message); - } - - vm.submitForm = function() - { - $rootScope.ice.loader.show = true; - var jsonEmail = - { - email : vm.data.email - }; - toastService.clearToast() - usersService.sendResetPwdInstructions(jsonEmail) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('An email with detailed instructions on how to reset your password was sent to your Email.', 'success'); - ngReq = false; - vm.data.email = ""; - $rootScope.ice.loader.show = false; - } - else - { - toastService.setToast('Error sending reset password instructions email.', 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) - { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - $log.error(error.message); - }); - }; - - vm.sendMail = function() - { - $window.open("mailto:d2ice@att.com","_self"); - } - } -})(); diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html deleted file mode 100755 index 41d90a69..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -
- -
-
-
-
- - -
- Email is a required field. - Enter a valid email. -
-
- - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less deleted file mode 100755 index 18f79364..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less +++ /dev/null @@ -1,84 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.resetPassword { - - .resetPassword-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - .leftLink { - width:100%; - padding-top:5px; - text-align:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js deleted file mode 100755 index 792e51dd..00000000 --- a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.resetPassword',[]) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.resetPassword', { - url: '/resetPassword', - views: { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller: 'MainController as vm' - }, - 'content@app.resetPassword': { - templateUrl: 'main/activation/resetPassword/resetPassword.html', - controller: 'ResetPasswordController as vm' - } - }, - params: {message: null}, - bodyClass: 'resetPassword' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/terms/terms.controller.js b/d2ice.att.io/app/main/activation/terms/terms.controller.js deleted file mode 100755 index 9eabdc25..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.controller.js +++ /dev/null @@ -1,56 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.terms') - .controller('TermsController', ["$rootScope", TermsController]); - - function TermsController($rootScope) - { - var vm = this; - vm.data = {}; - - $rootScope.headerTitle = "Terms of Service"; - $rootScope.headerSubTitle = "Last updated 2016-06-10"; - } - -})(); diff --git a/d2ice.att.io/app/main/activation/terms/terms.html b/d2ice.att.io/app/main/activation/terms/terms.html deleted file mode 100755 index fd39eb99..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.html +++ /dev/null @@ -1,105 +0,0 @@ - -
- -
-
- -
- -

The {{'serviceProvider.name' | i18next}} Domain 2 ICE ({{'program.name' | i18next}}) are maintained by {{'serviceProvider.name' | i18next}} Foundry (“{{'serviceProvider.name' | i18next}}”) for use by any one interested in incubating or validating their Virtual Function (VF) against our Domain 2.0 architecture. When you or any other person, employee or representative authorized by you (collectively referred to as “You” or “Your”) use the {{'serviceProvider.name' | i18next}} Domain 2.0 ICE, You accept the Terms and Conditions stated below (the “Terms and Conditions”).  Do not use the {{'program.name' | i18next}} if You do not agree with these Terms and Conditions.

- -
    - -
  1. Content Ownership. The {{'serviceProvider.name' | i18next}} Domain 2.0 ICE (“{{'program.name' | i18next}}”) provide You access to technical resources, such as product, service, and network information, and community forums and contain trademarks, service marks, logos, copyrights, other intellectual property, including, without limitation, text, data, graphics, audio, video, and product, service, network, process, and technical descriptions and information (collectively, the "Content") owned by, licensed to, and/or supplied to {{'serviceProvider.name' | i18next}}. As between You, {{'serviceProvider.name' | i18next}} its third party Content licensors and suppliers, {{'serviceProvider.name' | i18next}} or such third party Content licensors and suppliers are the sole owners of all Content on the {{'program.name' | i18next}}, including, without limitation, all copyrights, trademarks, service marks, patent, trade secret, and other intellectual property rights thereto. {{'serviceProvider.name' | i18next}} is the sole owner of the {{'program.name' | i18next}}. The {{'program.name' | i18next}} may contain links and references to third-party websites, which are provided for the convenience.  {{'serviceProvider.name' | i18next}} is not responsible for the content or information contained on such third party websites

  2. - -
  3. Account Registration. In order to use certain features of the {{'program.name' | i18next}}, You will be asked to create a user Account and password (an "Account") and provide certain information ("Registration Data"). You agree: (i) that the Registration Data You provide will be true, accurate, current and complete at the time You provide it; (ii) to maintain and update such Registration Data to keep it true, accurate, current and complete; and (iii) that {{'serviceProvider.name' | i18next}} may contact You and require You to confirm some or all of Your Registration Data before using certain features of the {{'program.name' | i18next}}. You are responsible for maintaining the confidentiality of Your Account credentials and for all activities, charges and/or liabilities that occur from Your Account, whether or not authorized by You. You must immediately notify {{'serviceProvider.name' | i18next}} of any unauthorized use of Your Account credentials or any other breach of security of which You become aware. We will not be liable for any loss or damage arising from Your failure to comply with this section.

  4. - -
  5. Limited License. Subject to Your compliance with these Terms and Conditions, and in consideration of Your promises reflected herein, {{'serviceProvider.name' | i18next}} grants to You a limited, non-exclusive, revocable, non-transferable license to access, view and use the {{'program.name' | i18next}}, including the Content contained therein, subject to any access restrictions or fees {{'serviceProvider.name' | i18next}} may establish from time to time. You may download, view, copy and print the Content solely for Your own use; provided that, without the express prior written permission of {{'serviceProvider.name' | i18next}}, such Content may not be adapted, modified, published, displayed, transmitted, transferred, shared with or disseminated to anyone for any purpose which is inconsistent with the business purpose of these {{'program.name' | i18next}}, facilitates unfair competition with these {{'program.name' | i18next}}, or exploits these {{'program.name' | i18next}} in any way or which is inappropriate under applicable US or international law. You are not permitted to distribute, assign, transfer or sublicense any right to use the {{'program.name' | i18next}}, either in whole or in part, to any third party. 

  6. - -
  7. Use Restrictions. Notwithstanding the foregoing license grant, You may not resell, redistribute, broadcast or transfer the Content or use the Content in a searchable, machine-readable database or file except through the authorized access to these {{'program.name' | i18next}}. Unless separately and specifically authorized in writing by {{'serviceProvider.name' | i18next}}, You may not rent, lease, sublicense, distribute, transfer, copy, reproduce, publicly display, publish, adapt, modify, create derivative works, mine, harvest, collect, store or time-share these {{'program.name' | i18next}}, any part thereof, or any of the Content received or accessed therefrom to or through any person or entity.  Access to any restricted area of the {{'program.name' | i18next}} without the authorization of {{'serviceProvider.name' | i18next}} is prohibited. You agree to use these {{'program.name' | i18next}}, including, without limitation, any restricted area, and the Content contained herein for lawful purposes only. You may not utilize logos, marks, or other distinctive graphics, video, or audio material in Your links, without {{'serviceProvider.name' | i18next}}’s express written permission, which {{'serviceProvider.name' | i18next}} may withhold in its discretion. You may not link in any manner reasonably likely to (i) imply affiliation with or endorsement or sponsorship by {{'serviceProvider.name' | i18next}}, (ii) cause confusion, mistake, or deception, (iii) dilute {{'serviceProvider.name' | i18next}}'s trademarks or service marks, or (iv) otherwise violate state or federal law. In addition, You may only link to the home page of the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} unless {{'serviceProvider.name' | i18next}} authorizes You to do otherwise. You may not use spiders, robots, data mining techniques or other automated devices or programs to catalog, download or programs to catalog, download or otherwise reproduce, store or distribute Content available on the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}}.  You may not use any such automated means to manipulate the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} or attempt to exceed the limited authorization and access granted to You under these Terms and Conditions.  You may not resell use of, or access to, the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} to any third party. - -

  8. Forums. {{'serviceProvider.name' | i18next}} may make forums available within the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} to help developers request and provide development help and share tips.  By submitting comments, posts, content, information, or messages (“Posts”) to such forums, You represent and warrant that: (i) You own and control all rights to the content in Your Posts, that You transmit or otherwise make available, or You have the lawful right to distribute, reproduce, and provide such content; (ii) the Posts are accurate and not misleading; and (iii) providing such Posts does not: (a) violate this Agreement or (b) violate the rights of, or cause any injury to, any person or entity. Further, You grant us a royalty-free, perpetual, irrevocable license to use such Posts.  Also, You understand and agree that {{'serviceProvider.name' | i18next}} retains the right to reformat, excerpt or translate any Posts submitted by You. You understand and agree that {{'serviceProvider.name' | i18next}} will not be liable for any Posts publicly posted or privately transmitted on these Web Sites. You understand and agree that we cannot guarantee the identity, statements or representations of any other users with whom You may interact in the course of using these Web Sites. Additionally, we cannot guarantee that any Posts obtained from our users or otherwise, is accurate, complete, authentic, current or reliable. Your use of the forums, if any, will further be governed by the {{'serviceProvider.name' | i18next}} Community Rules available for review within the forums.  Those rules are incorporated into these Terms and Conditions by this reference.  Users should be aware that forums and discussion groups are public and not private communications. Further, users acknowledge that Postings by other users are not endorsed by {{'serviceProvider.name' | i18next}}, and that such Posts shall not be considered as having been reviewed, screened or approved by {{'serviceProvider.name' | i18next}}.

    - -

    You agree not to submit or transmit any Post that (a) is libelous, defamatory, vulgar or obscene, pornographic, sexually offensive or explicit, harmful or harassing, threatening, hateful, racially, culturally, ethnically or otherwise objectionable or offensive, discriminatory or abusive; (b) violates any law or regulation or the rights of others; (c) infringes any copyright, trademark or other intellectual property right, or any proprietary or personal rights or confidentiality obligations of others; or (d)  is a solicitation for funding, advertising or solicitation for goods or services; or (e) (iv) which is used to unlawfully collude against another person in restraint of trade and competition.  You are solely responsible and liable for any such activity, behavior, use and conduct.  This means that You, and not {{'serviceProvider.name' | i18next}} or its, suppliers, or licensors, are entirely responsible for all Posts You submit or transmit.  {{'serviceProvider.name' | i18next}} reserves the right to filter, edit, or control all Your Posts and does not guarantee the accuracy, integrity or quality of Your Post.  Under no circumstances will {{'serviceProvider.name' | i18next}} or its suppliers, or licensors be liable in any way to You for any Posts, including, but not limited to, any errors or omissions in any content, information, or messages, or any loss or damage of any kind incurred as a result of the use of any such content, information or messages posted, emailed, transmitted.  You shall be solely liable for any damages resulting from any infringement of copyright, trademark or other proprietary right, or any other harm resulting from Your Post to a forum.  {{'serviceProvider.name' | i18next}} does not and cannot review every Post by You on forums and is not responsible for any Post.  {{'serviceProvider.name' | i18next}} reserves the right to delete, move or edit, at its sole discretion, any Post that does not comply with this paragraph. You acknowledge that any Post may be edited, removed, modified, published, transmitted and displayed by {{'serviceProvider.name' | i18next}}.   {{'serviceProvider.name' | i18next}} is under no obligation to use any Post you transmit or submit. You agree that {{'serviceProvider.name' | i18next}} is not under any obligation of confidentiality, express or implied, with respect to Your Post.

    - -

    Any Post, comments, content, information or materials sent to us, including, but not limited to, data,  ideas, answers, questions, comments, suggestions, feedback or the like,  (collectively, "Feedback"), is non-confidential and shall become our sole property. We shall have no obligation to You of any kind, monetary or non-monetary, with respect to such Feedback and shall be free to reproduce, use, disclose, exhibit, display, transform, create derivative works from and distribute the Feedback to others without limitation or obligation.  You acknowledge that {{'serviceProvider.name' | i18next}} has absolutely no liability for alleged infringement or misappropriation in connection with such information/Post. The submission of such information/Post to {{'serviceProvider.name' | i18next}} will in no way prevent, or require, the purchase, manufacture or use of any products, services, plans or ideas by {{'serviceProvider.name' | i18next}} for any purpose whatsoever.

  9. - -
  10. Consent to Monitoring and Disclosure. You acknowledge that {{'serviceProvider.name' | i18next}} reserves the right, and may from time to time, monitor Your access and use of the {{'program.name' | i18next}} and Your Posts. {{'serviceProvider.name' | i18next}}, at its sole discretion and without further notice to You, may (but is not obligated to) review, censor or prohibit the transmission or receipt of any Post which {{'serviceProvider.name' | i18next}} deems inappropriate or that violates these Terms or Conditions or any {{'serviceProvider.name' | i18next}} Policy. During monitoring, Posts may be examined, recorded, copied, and used for authorized purposes. Your use of the {{'program.name' | i18next}}, authorized or unauthorized, constitutes consent to such monitoring.

  11. - -
  12. Copyright Complaints. {{'serviceProvider.name' | i18next}} respects the intellectual property rights of others. If You believe that Your work has been copied and has been posted, stored or transmitted by or through the {{'program.name' | i18next}} in a way that constitutes copyright infringement, please submit a notification pursuant to the Digital Millennium Copyright Act ("DMCA") in accordance with the process detailed at http://www.att.net/general-info/claims.html and directed to:  Designated Agent: Manager of Security & Copyright Infringement, 1800 Perimeter Park Drive, Suite 100, Morrisville, NC 27560, Phone: (919) 319-5737, Fax: (919) 319-8154, E-mail: copyright@att.com.

  13. - -
  14. Privacy. It is the policy of {{'serviceProvider.name' | i18next}} to respect the privacy of its customers and any persons who visit its web sites.  For this reason, {{'serviceProvider.name' | i18next}} has established a Privacy Policy, the terms of which are available for Your review at:  www.att.com/privacy.  Subject to these Terms and Conditions, the relevant provisions of said Privacy Policy are incorporated by this reference.

  15. - -
  16. Subject to Change. {{'serviceProvider.name' | i18next}} reserves the right to modify these Terms and Conditions, the Privacy Statement, and the business policies and practices associated with the use of these {{'program.name' | i18next}}. Such modifications may include, without limitation, implementation of user priorities, implementation of rules for use by You, and discontinuance of functional aspects of the {{'program.name' | i18next}}, and changes in prices. {{'serviceProvider.name' | i18next}} may also add, withdraw or modify any Content contained within these {{'program.name' | i18next}} at any time in its sole discretion.  Your use of these {{'program.name' | i18next}} is Your agreement to be bound by such changes.

  17. - -
  18. Term. The period during which You are entitled to use the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} (“Term”) begins on the date upon which You agree to these Terms and Conditions. {{'serviceProvider.name' | i18next}} may revoke or terminate the License granted in its sole discretion at any time. Without limiting the generality of the foregoing, we may revoke or terminate the License if You: (i) breach any obligation in these Terms and Conditions or in any other agreement between You and us, (ii) violate any policy or guideline applicable to the {{'program.name' | i18next}}, Content, or any other {{'serviceProvider.name' | i18next}} service, or (iii) use these {{'program.name' | i18next}} or Content specifically authorized in these Terms and Conditions, without our prior written permission.   Additionally, either You or {{'serviceProvider.name' | i18next}} may terminate this License at any time without cause, but termination of this License will not relieve You of the obligations under these Terms and Conditions that You assumed by using these {{'program.name' | i18next}}.

  19. - -
  20. Termination of {{'serviceProvider.name' | i18next}} Web Site and Service. {{'serviceProvider.name' | i18next}} may discontinue, terminate, suspend or shut down the {{'serviceProvider.name' | i18next}} Web Site, {{'program.name' | i18next}}, particular {{'program.name' | i18next}}, and/or remove Content at any time and for any or no reason. We are not obligated to give notice of such discontinuation, termination, suspension, removal or shut-down.  Your License shall automatically terminate, if {{'serviceProvider.name' | i18next}} discontinues, terminates, suspends or shut downs the {{'serviceProvider.name' | i18next}} Web Site.

  21. - -
  22. Application Agreement(s).  These Terms and Conditions relate solely to Your access to, and use of, the {{'program.name' | i18next}} and Content.  No commitments, obligations, terms or restrictions are imposed upon either party with respect to any Application(s) by virtue of these Terms and Conditions.  Any agreements between You and {{'serviceProvider.name' | i18next}} regarding Applications will be governed by a separate agreement(s).

  23. - -
  24. Trademarks. The {{'serviceProvider.name' | i18next}} name, trade names, trademarks and logo, as well as all related product and service names, design marks and slogans, are the property of {{'serviceProvider.name' | i18next}}, and may not be used by You for any purpose unless specifically authorized in writing, and in advance, by {{'serviceProvider.name' | i18next}}.  All other names, marks and logos are the names, marks and logos of their respective owners.  All right, title and interest, including, without limitation, all copyrights, trademarks and other intellectual property rights, in the {{'program.name' | i18next}} and Content belong to {{'serviceProvider.name' | i18next}}, its licensors, or suppliers.

  25. - -
  26. Connectivity; Delay in Service. You are responsible for all costs and expenses associated with establishing and maintaining Your connection to these {{'program.name' | i18next}}. Neither {{'serviceProvider.name' | i18next}}, nor any of its licensors or suppliers (including its and their officers, directors, managers, employees, affiliates, agents, or representatives) shall be liable for any loss or liability resulting, directly or indirectly, from delays or interruptions due to electric or mechanic equipment failures,  interconnection problems, defects, weather, strikes, walkouts, fire, acts of nature, riots, armed conflicts, acts of war or other like causes. {{'serviceProvider.name' | i18next}} shall have no responsibility to provide You access to these {{'program.name' | i18next}} during any such interruption.

  27. - -
  28. Limitation of Liability. YOU ASSUME FULL RESPONSIBILITY FOR IMPLEMENTING SUFFICIENT PROCEDURES AND CHECKS TO SATISFY YOUR REQUIREMENTS FOR ACCURACY AND SUITABILITY OF THESE {{'program.name' | i18next}} AND THE CONTENT, AND FOR MAINTAINING ANY MEANS WHICH YOU MAY REQUIRE FOR THE RECONSTRUCTION OF LOST DATA OR SUBSEQUENT MANIPULATIONS OR ANALYSES OF THE CONTENT PROVIDED UNDER THIS AGREEMENT. YOU ACKNOWLEDGE AND AGREE THAT {{'serviceProvider.name' | i18next}}, ITS AFFILIATES, LICENSORS, AND SUPPLIERS (INCLUDING ITS OR THEIR OFFICERS, DIRECTORS, MANAGERS, EMPLOYEES, AFFILIATES, AGENTS,  AND REPRESENTATIVES (“LIMITED LIABILITY PARTIES” FOR THE REMAINDER OF THIS PARAGRAPH) WILL NOT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM AN INABILITY TO ACCESS OR USE THE {{'program.name' | i18next}} AND/OR CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}}. THESE LIMITATIONS ON THE LIABILITY OF THE LIMITED LIABILITY PARTIES APPLY WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE, STRICT LIABILITY OR OTHER TORTIOUS ACTION ARISING OUT OF OR IN CONNECTION WITH THE CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}} AND THE LIMITATIONS APPLY EVEN IF LIMITED LIABILITY PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  YOU AGREE AND ACKNOWLEDGE THAT THESE LIMITATIONS ON THE LIABILITY OF LIMITED LIABILITY PARTIES REFLECT A REASONABLE ALLOCATION OF RISK AND THAT SUCH ALLOCATION OF RISK IS A SIGNIFICANT INDUCMENT FOR {{'serviceProvider.name' | i18next}} TO ALLOW YOU TO ACCESS AND USE THE {{'program.name' | i18next}}.  IN NO EVENT WILL THE AGGREGATE, TOTAL LIABILITY OF THE LIMITED LIABILITY PARTIES FOR DAMAGES, INJURY, LOSSES AND CAUSES OF ACTION, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM OR RELATING TO ACCESS OR USE OF THE {{'program.name' | i18next}} EXCEED TEN DOLLARS ($10.00). BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SOME OF THE ABOVE LIMITATIONS MAY NOT APPLY IN THOSE JURISDICTIONS. IN SUCH JURISDICTIONS, THE LIMITED LIABILITY PARTIES¿ LIABILITY IS LIMITED TO THE GREATEST EXTENT PERMITTED BY LAW.

  29. - -
  30. Disclaimer of Warranties. BROWSING AND USE OF THE {{'program.name' | i18next}} AND CONTENT IS AT YOUR OWN RISK. YOU ACKNOWLEDGE THAT INACCURACIES MAY OCCUR, AND THAT {{'serviceProvider.name' | i18next}} AND ITS LICENSORS AND SUPPLIERS DO NOT WARRANT THE ACCURACY OR SUITABILITY OF THE {{'program.name' | i18next}} AND CONTENT FOR ANY PURPOSE. FURTHERMORE, THE {{'program.name' | i18next}} AND CONTENT MAY CONTAIN LINKS TO THIRD PARTY WEBSITES NOT UNDER THE CONTROL OR OPERATION OF {{'serviceProvider.name' | i18next}}. {{'serviceProvider.name' | i18next}} PROVIDES ANY SUCH LINKS ONLY AS A CONVENIENCE FOR YOU AND IS NOT RESPONSIBLE FOR ANY SUCH LINKED SITES, THE CONTENT ON ANY SUCH LINKED SITES OR A SITE LINKED TO OR FROM ANY SUCH LINKED SITES. YOU ASSUME ALL RESPONSIBILITY AND RISK FOR USE OF THE {{'program.name' | i18next}}, THE CONTENT AND THE INTERNET GENERALLY. ACCESS TO AND/OR USE OF THE {{'program.name' | i18next}} AND CONTENT PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} ARE PROVIDED OR MADE AVAILABLE ON AN ¿AS IS¿ AND ¿AS AVAILABLE¿ BASIS WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE, NON-INFRINGEMENT OR IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NO ADVICE OR INFORMATION GIVEN BY {{'serviceProvider.name' | i18next}}, ITS AFFILIATES OR IT LICENSORS, OR SUPPLIERS WILL CREATE ANY WARRANTY. FURTHER, NEITHER {{'serviceProvider.name' | i18next}} NOR ITS AFFILIATES, LICENSORS, OR SUPPLIERS WARRANT THAT CONTENT PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} WILL BE UN-INTERRUPTABLE, ACCURATE, COMPLETE, USEFUL, FUNCTIONAL OR ERROR FREE, OR THAT CONTENT OR MATERIAL PROVIDED ON OR AVAILABLE THROUGH THE {{'program.name' | i18next}} IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. ANY CONTENT AVAILABLE ON OR ACCESSIBLE THROUGH THE {{'program.name' | i18next}} MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS.

  31. - -
  32. Indemnification. You agree to release, indemnify, defend and hold {{'serviceProvider.name' | i18next}}, its affiliates and/or its licensors, and suppliers and their affiliates, officers, directors, managers, employees, agents and representatives  harmless from losses, damages, claims, demands, suits, liabilities, fines, penalties, and expenses, including reasonable attorneys’ fees, made by any third party due to or arising out of Your access to or use of the {{'serviceProvider.name' | i18next}} {{'program.name' | i18next}} or the Content, the violation by You of these Terms and Conditions, the infringement by You of any intellectual property or other right of any person or entity, and/or any Posts You submit or transmit to any Forums. - -

  33. Severability. If any of these Terms and Conditions are held to be invalid or unenforceable with respect to a party, the remainder of these Terms and Conditions, or the application of such provision to persons other than those to whom it is held invalid or unenforceable shall not be affected and each remaining provision of these Terms and Conditions shall be valid and enforceable to the fullest extent permitted by law.

  34. - -
  35. Publicity. Nothing contained in these Terms and Conditions will be construed as granting to You any right to use or refer to in advertising, publicity, promotion, marketing or other activities, any name, trade name, trade or service mark or any other designation of {{'serviceProvider.name' | i18next}}, its licensors, or suppliers, including any contraction, abbreviation or simulation of any kind of the foregoing, unless specifically authorized in writing, and in advance, by {{'serviceProvider.name' | i18next}}, its licensors, or suppliers.

  36. - -
  37. International Use. {{'serviceProvider.name' | i18next}} controls and operates these {{'program.name' | i18next}} from its offices in the United States of America. {{'serviceProvider.name' | i18next}} does not represent that Content accessible via the {{'program.name' | i18next}} is appropriate or available for use in all geographic locations, especially some locations outside the United States, and accessing such from certain locations may be illegal and prohibited.  If You access or use such Content from such locations, You are acting on Your own initiative, and {{'serviceProvider.name' | i18next}} is not responsible for Your compliance with local laws or other applicable legal or regulatory restrictions.  You agree that You will not access or use the {{'program.name' | i18next}} or Content where prohibited by applicable law, rule or regulation.  You represent and warrant that You are not (a) located in any country that is subject to a U.S. Government embargo, or that has been designated by the U.S. Government as a “terrorist supporting” country, or (b) listed on any U.S. Government list of prohibited or restricted parties including the Treasury Department’s list of Specially Designated Nationals or the U.S. Department of Commerce Denied Persons List or Entity List. You also agree that You will not use the {{'program.name' | i18next}} or Content for any purposes prohibited by United States law.

  38. - -
  39. Governing Law. The laws of the State of Texas, excluding its conflicts-of-law rules, shall govern this Agreement and Your use of these {{'program.name' | i18next}} and Content. You agree that any claim or dispute with {{'serviceProvider.name' | i18next}} relating in any way to Your use of the {{'program.name' | i18next}} or Content shall be commenced and heard in the state or federal courts of the State of Texas, County of Dallas, and You agree and expressly consent to the exercise of personal jurisdiction in the courts of the State of Texas, in connection with any such dispute.  You and {{'serviceProvider.name' | i18next}} agree that any cause of action arising out of or related to or use of the {{'program.name' | i18next}} or Content  must commence within one (1) year after the cause of action arises.  Otherwise, such cause of action is permanently barred.  Because some jurisdictions do not permit such time bars, this limitation may not apply in all situations.

  40. - -
  41. Miscellaneous. {{'serviceProvider.name' | i18next}}’s failure to exercise or enforce any right or provision of these Terms and Conditions will not constitute a waiver of such right or provision unless acknowledged and agreed to by {{'serviceProvider.name' | i18next}} in writing.  Neither the course of conduct between the parties nor trade practice will act to modify any provision of these Terms and Conditions. 

  42. - -
- -
- -
-
- -
diff --git a/d2ice.att.io/app/main/activation/terms/terms.less b/d2ice.att.io/app/main/activation/terms/terms.less deleted file mode 100755 index e809c9d6..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.less +++ /dev/null @@ -1,65 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.terms { - - .terms-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - -} diff --git a/d2ice.att.io/app/main/activation/terms/terms.module.js b/d2ice.att.io/app/main/activation/terms/terms.module.js deleted file mode 100755 index 68a429cf..00000000 --- a/d2ice.att.io/app/main/activation/terms/terms.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.terms', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.terms', { - url: '/terms', - views: { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller: 'MainController as vm' - }, - 'content@app.terms': { - templateUrl: 'main/activation/terms/terms.html', - controller: 'TermsController as vm' - } - }, - params: {message: null}, - bodyClass: 'terms' - }); - - } - -})(); diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js deleted file mode 100755 index 364dcc77..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js +++ /dev/null @@ -1,95 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.updatePassword') - .controller('UpdatePasswordController', ["$state", "usersService", "localStorageService", "$rootScope", "toastService", "$window", UpdatePasswordController]); - - function UpdatePasswordController($state, usersService, localStorageService, $rootScope, toastService, $window) { - - var vm = this; - vm.data = {}; - - var ngReq = true; - - $rootScope.headerTitle = "Update Your Password"; - $rootScope.headerSubTitle = "Please follow the instructions below to update your password"; - - vm.submitForm = function() - { - $rootScope.ice.loader.show = true; - var jsonPasswordConfirm = - { - password : vm.data.password, - confirm_password : vm.data.confirm_password - } - - usersService.updatePassword(usersService.getUserData().uuid, jsonPasswordConfirm) - .then(function (response) { - if (response.status === 200) { - toastService.setToast('Password was updated Successfully!', 'success'); - ngReq = false; - vm.data.password = ""; - vm.data.confirm_password = ""; - $rootScope.ice.loader.show = false; - //$timeout(function() { $state.go("app.dashboard"); }, 2000); - $state.go('app.dashboard.dashboard', {"messagePass": "Password was updated Successfully!"}); - } - else - { - toastService.setToast('Error updating your password.', 'danger'); - $rootScope.ice.loader.show = false; - } - }) - .catch(function (error) { - toastService.setToast(error.message, 'danger'); - $rootScope.ice.loader.show = false; - }); - }; - - vm.sendMail = function() - { - $window.open("mailto:d2ice@att.com","_self"); - } - } - -})(); diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html deleted file mode 100755 index 65569cdb..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html +++ /dev/null @@ -1,76 +0,0 @@ - - - -
- -
-
-
-
- - -
- Password is required field. - Password is too short. - Password is too long. -
-
- -
- - -
- Confirm password is required field. - Passwords do not match. -
-
- - - - - - -
-
-
- -
diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less deleted file mode 100755 index a6524df5..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less +++ /dev/null @@ -1,85 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -.updatePassword { - - .updatePassword-form { - margin-top: 20px; - } - - .btn { - width: 100%; - } - - .btn-primary { - border: 1px solid #8799A3; - border-radius: 6px; - background: #1E79B0; /* For browsers that do not support gradients */ - background: -webkit-linear-gradient(#1E79B0, #62ADD5); /* For Safari 5.1 to 6.0 */ - background: -o-linear-gradient(#1E79B0, #62ADD5); /* For Opera 11.1 to 12.0 */ - background: -moz-linear-gradient(#1E79B0, #62ADD5); /* For Firefox 3.6 to 15 */ - background: linear-gradient(#1E79B0, #62ADD5); /* Standard syntax (must be last) */ - } - - a.register { - text-decoration: underline; - float: right; - margin: 10px 0 0 0; - } - - .leftLink{ - padding-top:5px; - width:50%; - text-align:left; - float:left; - - a, - a:hover, - a:active, - a:focus - { - .m_14_r; - cursor: pointer; - } - - a{ - text-decoration:underline; - } - } - -} diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js deleted file mode 100755 index b00e619b..00000000 --- a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js +++ /dev/null @@ -1,68 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software 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. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// 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. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - - 'use strict'; - - angular - .module('ice.activation.updatePassword', []) - .config(config); - - function config($stateProvider) { - - $stateProvider - .state('app.updatePassword', { - url: '/updatePassword{engagement_uuid: (?:/[^/]+)?}', - views: { - 'main@': { - templateUrl: 'core/layouts/full-page-with-header/full-page-with-header.html', - controller: 'MainController as vm' - }, - 'content@app.updatePassword': { - templateUrl: 'main/activation/updatePassword/updatePassword.html', - controller: 'UpdatePasswordController as vm' - } - }, - params: {message: null,messagePass:null}, - bodyClass: 'updatePassword' - }); - - } - -})(); -- cgit 1.2.3-korg