aboutsummaryrefslogtreecommitdiffstats
path: root/d2ice.att.io/app/main/activation
diff options
context:
space:
mode:
Diffstat (limited to 'd2ice.att.io/app/main/activation')
-rwxr-xr-xd2ice.att.io/app/main/activation/activate/activateUser.controller.js60
-rwxr-xr-xd2ice.att.io/app/main/activation/activate/activateUser.html39
-rwxr-xr-xd2ice.att.io/app/main/activation/activate/activateUser.module.js58
-rwxr-xr-xd2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js111
-rwxr-xr-xd2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html111
-rwxr-xr-xd2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less82
-rwxr-xr-xd2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js67
-rwxr-xr-xd2ice.att.io/app/main/activation/addVf/addVf.controller.js277
-rwxr-xr-xd2ice.att.io/app/main/activation/addVf/addVf.html130
-rwxr-xr-xd2ice.att.io/app/main/activation/addVf/addVf.less176
-rwxr-xr-xd2ice.att.io/app/main/activation/addVf/addVf.module.js67
-rwxr-xr-xd2ice.att.io/app/main/activation/contactUs/contactUs.controller.js57
-rwxr-xr-xd2ice.att.io/app/main/activation/contactUs/contactUs.html53
-rwxr-xr-xd2ice.att.io/app/main/activation/contactUs/contactUs.less59
-rwxr-xr-xd2ice.att.io/app/main/activation/contactUs/contactUs.module.js67
-rwxr-xr-xd2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js97
-rwxr-xr-xd2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html72
-rwxr-xr-xd2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less86
-rwxr-xr-xd2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js67
-rwxr-xr-xd2ice.att.io/app/main/activation/login/login.controller.js119
-rwxr-xr-xd2ice.att.io/app/main/activation/login/login.html90
-rwxr-xr-xd2ice.att.io/app/main/activation/login/login.less109
-rwxr-xr-xd2ice.att.io/app/main/activation/login/login.module.js68
-rwxr-xr-xd2ice.att.io/app/main/activation/register/register.controller.js122
-rwxr-xr-xd2ice.att.io/app/main/activation/register/register.html127
-rwxr-xr-xd2ice.att.io/app/main/activation/register/register.less100
-rwxr-xr-xd2ice.att.io/app/main/activation/register/register.module.js67
-rwxr-xr-xd2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js79
-rwxr-xr-xd2ice.att.io/app/main/activation/resendActivation/resendActivation.html61
-rwxr-xr-xd2ice.att.io/app/main/activation/resendActivation/resendActivation.less67
-rwxr-xr-xd2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js68
-rwxr-xr-xd2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js95
-rwxr-xr-xd2ice.att.io/app/main/activation/resetPassword/resetPassword.html64
-rwxr-xr-xd2ice.att.io/app/main/activation/resetPassword/resetPassword.less84
-rwxr-xr-xd2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js68
-rwxr-xr-xd2ice.att.io/app/main/activation/terms/terms.controller.js56
-rwxr-xr-xd2ice.att.io/app/main/activation/terms/terms.html105
-rwxr-xr-xd2ice.att.io/app/main/activation/terms/terms.less65
-rwxr-xr-xd2ice.att.io/app/main/activation/terms/terms.module.js68
-rwxr-xr-xd2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js95
-rwxr-xr-xd2ice.att.io/app/main/activation/updatePassword/updatePassword.html76
-rwxr-xr-xd2ice.att.io/app/main/activation/updatePassword/updatePassword.less85
-rwxr-xr-xd2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js68
43 files changed, 3742 insertions, 0 deletions
diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.controller.js b/d2ice.att.io/app/main/activation/activate/activateUser.controller.js
new file mode 100755
index 00000000..39e60123
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/activate/activateUser.controller.js
@@ -0,0 +1,60 @@
+//
+// ============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
new file mode 100755
index 00000000..2041a607
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/activate/activateUser.html
@@ -0,0 +1,39 @@
+<!--
+============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.-->
+<div></div>
diff --git a/d2ice.att.io/app/main/activation/activate/activateUser.module.js b/d2ice.att.io/app/main/activation/activate/activateUser.module.js
new file mode 100755
index 00000000..b2e1f169
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/activate/activateUser.module.js
@@ -0,0 +1,58 @@
+//
+// ============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
new file mode 100755
index 00000000..c8859a7d
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.controller.js
@@ -0,0 +1,111 @@
+//
+// ============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
new file mode 100755
index 00000000..ff9bd6e6
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.html
@@ -0,0 +1,111 @@
+<!--
+============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.-->
+<ice-loader selector=".addVendorContact-form"></ice-loader>
+
+<div class="container">
+ <div class="row">
+ <div class="col-md-2"></div>
+
+ <form name="addVendorContactForm" ng-submit="vm.submitForm()" novalidate class="addVendorContact-form col-md-8">
+
+ <div class="form-group" ng-class="{ 'has-error' : addVendorContactForm.company.$invalid && !addVendorContactForm.company.$pristine }">
+ <label class="ice-form-label required">Company</label>
+ <select style="width:100%" name="company" ng-model="vm.data.company" ng-options="company.name for company in vm.companies track by company.uuid" class="form-control" required></select>
+ <div class="ice-form-error" data-ng-show="addVendorContactForm.company.$error">
+ <span ng-show="addVendorContactForm.company.$error.required && !addVendorContactForm.company.$pristine" class="help-block">Please select a company</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : addVendorContactForm.fullName.$invalid && !addVendorContactForm.fullName.$pristine }">
+ <label class="ice-form-label required">Full Name</label>
+ <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required>
+ <div class="ice-form-error" data-ng-show="addVendorContactForm.fullname.$error">
+ <span ng-show="addVendorContactForm.fullname.$error.required && !addVendorContactForm.fullname.$pristine">Name is a required field.</span>
+ <span ng-show="addVendorContactForm.fullname.$error.minlength">Full Name is too short.</span>
+ <span ng-show="addVendorContactForm.fullname.$error.maxlength">Full Name is too long.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine }">
+ <label class="ice-form-label required">Email</label>
+ <input type="email" name="email" class="form-control" ng-model="vm.data.email" ng-pattern='/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/' maxlength="254" required>
+ <div class="ice-form-error" data-ng-show="addVendorContactForm.email.$error">
+ <span ng-show="addVendorContactForm.email.$error.required && !addVendorContactForm.email.$pristine">Email is a required field.</span>
+ <span ng-show="addVendorContactForm.email.$invalid && !addVendorContactForm.email.$pristine" class="help-block">Enter a valid email.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : addVendorContactForm.phone.$invalid && !addVendorContactForm.phone.$pristine }">
+ <label class="ice-form-label required">Phone</label>
+ <input type="text" name="phone" class="form-control" ng-pattern="/^[\+\-0-9]+$/" ng-model="vm.data.phone_number" ng-minlength="3" ng-maxlength="30" required>
+ <div class="ice-form-error" data-ng-show="addVendorContactForm.phone.$error">
+ <span ng-show="addVendorContactForm.phone.$error.required && !addVendorContactForm.phone.$pristine">Phone is a required field.</span>
+ <span ng-show="addVendorContactForm.phone.$error.minlength" class="help-block">Phone is too short.</span>
+ <span ng-show="addVendorContactForm.phone.$error.maxlength" class="help-block">Phone is too long.</span>
+ <span ng-show="addVendorContactForm.phone.$error.pattern" class="help-block">Phone must consist of numbers only.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : userForm.password.$invalid && !userForm.password.$pristine }">
+ <input type="checkbox" ng-model="vm.data.regular_email_updates" />&nbsp;I agree to receive regular email updates.
+ </div>
+
+ <div class="form-group">
+ <input type="checkbox" ng-model="vm.data.terms" required />&nbsp;I accept the AT&T's {{'program.name' | i18next}} Terms of Service and Privacy Policy.
+ </div>
+
+ <div id="frm-field-63-container" class="frm_form_field form-field frm_top_container">
+ <label class="frm_primary_label">reCAPTCHA
+ <span class="frm_required"></span>
+ </label>
+ <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div>
+ <div id="divre-captcha-err" class="frm_error_hide">reCAPTCHA is invalid.</div>
+ </div>
+ <input type="hidden" name="item_key" value="xxx" />
+
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!addVendorContactForm.$valid">Sign Up</button>
+
+ <a ui-sref="app.login" class="login">Already have an account?</a>
+
+ </form>
+
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less
new file mode 100755
index 00000000..166962d9
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.less
@@ -0,0 +1,82 @@
+//
+// ============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
new file mode 100755
index 00000000..c7b7396a
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVendorContact/addVendorContact.module.js
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..5a00c170
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVf/addVf.controller.js
@@ -0,0 +1,277 @@
+//
+// ============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 = "<center>Please use the form below to submit the virtual functions you would " +
+ "like to engage with ICE.<br/>Please do note that each VF will be tracked separately.</center>";
+
+ 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
new file mode 100755
index 00000000..4dff7b0b
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVf/addVf.html
@@ -0,0 +1,130 @@
+<!--
+============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.-->
+<ice-loader selector=".addVf-form"></ice-loader>
+<div class="container">
+ <div class="row">
+ <div class="col-md-2"></div>
+ <form name="addVfForm" ng-submit="vm.submitForm()" novalidate class="addVf-form col-md-8">
+ <div class="table-container-flex">
+ <div class="table">
+ <!-- Table body -->
+ <div class="body">
+ <div data-ng-repeat="choice in vm.choices" class="data-row-wrapper">
+ <ng-form name="vfItemForm">
+ <div class="flex-container data-row">
+ <!-- Text -->
+ <div class="add-vf-wizard text">
+ 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.
+ </div>
+ </div>
+ <div class="flex-container data-row">
+ <!-- Virtual Function -->
+ <div class="table-col-general flex-item">
+ <div id="vf-name-title">VF Name</div>
+ <input type="text" name="virtualFunction" class="form-control" ng-model="choice.VirtualFunction" maxlength="32" class="form-control" placeholder="VF Name" required ng-pattern="/^[a-zA-Z0-9-]*$/">
+ <div class="ice-form-error" data-ng-show="vfItemForm.virtualFunction.$error">
+ <span ng-show="vfItemForm.virtualFunction.$error.pattern">VF Name can be alphanumeric or/and Hyphen</span>
+ </div>
+ </div>
+ </div>
+ <div class="flex-container data-row">
+ <h3 id="title-key-metadata">Key Metadata</h3>
+ </div>
+ <div class="flex-container data-row fields_key_metadata">
+ <!-- ECOMP Release -->
+ <div class="table-col-general flex-item">
+ <select ng-model="choice.ECOMPRelease" id="ecomp-release" class="form-control" required>
+ <option value="" selected disabled>ECOMP Release</option>
+ <option ng-repeat="dt in vm.ECOMPReleases" value="{{dt.uuid}}">
+ {{dt.name}}
+ </option>
+ </select>
+ </div>
+ <!-- Target AIC Version -->
+ <div class="table-col-general flex-item ">
+ <select ng-model="choice.TargetAic" id="aic-version" class="form-control" required>
+ <option value="" selected disabled>AIC Version</option>
+ <option ng-repeat="dt in vm.deployTargets" value="{{dt.uuid}}">
+ {{dt.name}} {{dt.version}}
+ </option>
+ </select>
+ </div>
+ <!-- VF Version -->
+ <div class="table-col-general flex-item">
+ <input type="text" name="VFversion" id="id-vf-version" class="form-control" ng-model="choice.VFVersion" maxlength="32" class="form-control" placeholder="VF Version" required >
+ </div>
+ <!-- Delete VF -->
+ <div class="table-col-general flex-item" ng-if="vm.choices.length > 1">
+ <!--
+ <div class="reject_large" ng-click='vm.removeChoice()' ng-show="$last"><span class="reject_large"></span>Remove</div>
+ -->
+ <div class="remove-button" ng-click='vm.removeChoice($index)' ><span class="remove-icon"></span>Remove</div>
+ </div>
+ </div>
+ <div class="flex-container data-row">
+ <!-- Target Lab Entry -->
+ <div class="table-col-general flex-item">
+ <div id="vf-name-title">Target Lab Entry Date</div>
+ <md-datepicker id="e2e-lab-entry-date" md-min-date="vm.minDate" ng-click="ctrl.openCalendarPane($event)" ng-model-options="{timezone: 'gmt'}" class="btn btn-default datepicker_btn" ng-model="choice.TargetLab" md-placeholder="E2E Lab Entry Date"></md-datepicker>
+ <input type="hidden" id="add-vf-hidden-target-lab-date" value="{{choice.TargetLab | date2: 'MMMM doo yyyy' : timeGapLocal}}"/>
+ </div>
+ </div>
+ <div class="add-vf-confirm-checkbox">
+ <input type="checkbox" name="is_service_provider_internal" ng-model="choice.is_service_provider_internal" />
+ The virtual function is only developed internally inside AT&T.
+ </div>
+ </ng-form>
+ </div>
+ </div>
+ <div class="footer">
+ <div class="action-row-wrapper">
+ <a ng-if="!vm.isModal" class="add-button" ng-click='vm.addNewChoice()'>
+ <span class="add-icon"></span>
+ <span class="add-text">Add another VF</span>
+ </a>
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!addVfForm.$valid">Submit your VF</button>
+ <a id="skip-add-vf-singup" ng-if="!vm.isModal" class="" ng-click="vm.skipAddVf()">Skip VF creation</a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
diff --git a/d2ice.att.io/app/main/activation/addVf/addVf.less b/d2ice.att.io/app/main/activation/addVf/addVf.less
new file mode 100755
index 00000000..dd78bae3
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVf/addVf.less
@@ -0,0 +1,176 @@
+//
+// ============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
new file mode 100755
index 00000000..bac2c90b
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/addVf/addVf.module.js
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..bed33798
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/contactUs/contactUs.controller.js
@@ -0,0 +1,57 @@
+//
+// ============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
new file mode 100755
index 00000000..653ebc1d
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/contactUs/contactUs.html
@@ -0,0 +1,53 @@
+<!--
+============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.-->
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+
+ <form name="contactUsForm" ng-submit="vm.submitForm()" novalidate class="contact-us-form col-md-8">
+
+
+
+ </form>
+
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/contactUs/contactUs.less b/d2ice.att.io/app/main/activation/contactUs/contactUs.less
new file mode 100755
index 00000000..befbb342
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/contactUs/contactUs.less
@@ -0,0 +1,59 @@
+//
+// ============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
new file mode 100755
index 00000000..9259671d
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/contactUs/contactUs.module.js
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..72ff43c0
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.controller.js
@@ -0,0 +1,97 @@
+//
+// ============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
new file mode 100755
index 00000000..60fa01d5
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.html
@@ -0,0 +1,72 @@
+<!--
+============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.-->
+<ice-loader selector=".inviteMembers-form"></ice-loader>
+
+<div class="container">
+
+ <div class="row">
+
+ <div class="col-md-2"></div>
+
+ <form name="inviteMembersForm" ng-submit="vm.submitForm()" novalidate class="inviteMembers-form col-md-8">
+ <div>
+ <div style="clear:both;"></div>
+ <fieldset data-ng-repeat="choice in choices|limitTo:10">
+ <div id="containera">
+ <div style="width:400px;height:50px;line-height:20px;;float:left">
+ <input type="email" name="email" class="form-control" ng-model="choice.Email" maxlength="50" ng-pattern='/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/' class="form-control" required>
+ <div class="ice-form-error" data-ng-show="inviteMembersForm.email.$error">
+ <span ng-show="inviteMembersForm.email.$error.required && !inviteMembersForm.email.$pristine">Email is a required field.</span>
+ <span ng-show="inviteMembersForm.email.$invalid && !inviteMembersForm.email.$pristine" class="help-block">Enter a valid email.</span>
+ </div>
+ </div>
+ </div>
+ <div style="width:200px;height:50px;line-height:20px; vertical-align:middle;padding-left:10px;float:left">
+ <a ng-click='removeChoice()' ng-show="$last">Remove</a>
+ </div>
+ </fieldset>
+ </div>
+
+ <a ng-if="choices.length < 10" class="add-button" ng-click='vm.addNewChoice()'>Invite another team member</a>
+
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!inviteMembersForm.$valid">Send invitations</button>
+
+ </form>
+ </div>
+</div>
diff --git a/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less
new file mode 100755
index 00000000..9eb02dc3
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.less
@@ -0,0 +1,86 @@
+//
+// ============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
new file mode 100755
index 00000000..61d8f1f0
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/inviteMembers/inviteMembers.module.js
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..9ed5f1be
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/login/login.controller.js
@@ -0,0 +1,119 @@
+//
+// ============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
new file mode 100755
index 00000000..d095fda1
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/login/login.html
@@ -0,0 +1,90 @@
+<!--
+============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.-->
+<ice-loader selector=".login-form"></ice-loader>
+
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+ <form name="loginForm" ng-submit="vm.submitForm()" novalidate
+ class="login-form col-md-8">
+ <div class="form-group"
+ ng-class="{ 'has-error' : loginForm.email.$invalid && !loginForm.email.$pristine }">
+ <label class="ice-form-label required">Email</label> <input
+ type="email" name="email" class="form-control"
+ ng-model="vm.data.email" maxlength="254" required ng-pattern='/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/'>
+ <div class="ice-form-error" data-ng-show="loginForm.email.$error">
+ <span
+ ng-show="loginForm.email.$error.required && !loginForm.email.$pristine">Email
+ is a required field.</span>
+ <span ng-show="loginForm.email.$error.pattern">Enter a valid email.</span>
+ </div>
+ </div>
+
+ <div class="form-group"
+ ng-class="{ 'has-error' : loginForm.password.$invalid && !loginForm.password.$pristine }">
+ <label class="ice-form-label required">Password</label> <input
+ type="password" name="password" class="form-control"
+ ng-model="vm.data.password" ng-maxlength="32" maxlength="32"
+ required>
+ <div class="ice-form-error" data-ng-show="loginForm.password.$error">
+ <span
+ ng-show="loginForm.password.$error.required && !loginForm.password.$pristine">Password
+ is a required field.</span> <span
+ ng-show="loginForm.password.$error.minlength">Password is
+ too short.</span> <span ng-show="loginForm.password.$error.maxlength">Password
+ is too long.</span>
+ </div>
+ </div>
+
+ <button type="submit" class="btn btn-primary"
+ data-ng-disabled="!loginForm.$valid">Login</button>
+
+ <div class="leftLink">
+ <a ui-sref="app.resetPassword">Reset your password?</a>
+ </div>
+ <div class="rightLink">
+ <a id="id-dont-have-an-account" ui-sref="app.register">Don't
+ have an account?</a>
+ </div>
+ </form>
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/login/login.less b/d2ice.att.io/app/main/activation/login/login.less
new file mode 100755
index 00000000..9dd6a9f7
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/login/login.less
@@ -0,0 +1,109 @@
+//
+// ============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
new file mode 100755
index 00000000..9953063b
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/login/login.module.js
@@ -0,0 +1,68 @@
+//
+// ============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
new file mode 100755
index 00000000..e4e525a7
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/register/register.controller.js
@@ -0,0 +1,122 @@
+//
+// ============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
new file mode 100755
index 00000000..b6af8ce4
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/register/register.html
@@ -0,0 +1,127 @@
+<!--
+============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.-->
+<ice-loader selector=".register-form"></ice-loader>
+
+<div class="container">
+ <script type='text/javascript' src='https://www.google.com/recaptcha/api.js?ver=1'></script>
+ <div class="row">
+ <div class="col-md-2"></div>
+
+ <form name="registerForm" ng-submit="vm.submitForm()" novalidate class="register-form col-md-8">
+ <div class="form-group" ng-class="{ 'has-error' : registerForm.company.$invalid && !registerForm.company.$pristine }">
+ <label class="ice-form-label required">Company</label>
+ <select ng-model="vm.data.company" name="company" class="form-control" required>
+ <option value="">Please select a company</option>
+ <option ng-repeat="vendor in vm.vendors" value="{{vendor.name}}" ng-selected="vendor.name===vm.data.company">
+ {{vendor.name}}
+ </option>
+ </select>
+ <div class="ice-form-error" data-ng-show="registerForm.company.$error">
+ <span ng-show="registerForm.company.$error.required && !registerForm.company.$pristine" class="help-block">Please select a company</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : registerForm.fullName.$invalid && !registerForm.fullName.$pristine }">
+ <label class="ice-form-label required">Full Name</label>
+ <input type="text" name="fullname" class="form-control" ng-model="vm.data.full_name" ng-minlength="3" ng-maxlength="50" maxlength="50" required ng-pattern="/^[a-zA-Z0-9 ]*$/">
+ <div class="ice-form-error" data-ng-show="registerForm.fullname.$error">
+ <span ng-show="registerForm.fullname.$error.required && !registerForm.fullname.$pristine">Name is a required field.</span>
+ <span ng-show="registerForm.fullname.$error.minlength">Full Name is too short.</span>
+ <span ng-show="registerForm.fullname.$error.maxlength">Full Name is too long.</span>
+ <span ng-show="registerForm.fullname.$error.pattern">Full Name must be alphanumeric</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : registerForm.email.$invalid && !registerForm.email.$pristine }">
+ <label class="ice-form-label required">Email</label>
+ <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" ng-pattern='/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/' required>
+ <div class="ice-form-error" data-ng-show="registerForm.email.$error">
+ <span ng-show="registerForm.email.$error.required && !registerForm.email.$pristine">Email is a required field.</span>
+ <span ng-show="registerForm.email.$invalid && !registerForm.email.$error.required && !registerForm.email.$pristine">Enter a valid email.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : registerForm.phone.$invalid && !registerForm.phone.$pristine }">
+ <label class="ice-form-label required">Phone</label>
+ <input type="text" name="phone" class="form-control phone-place-holder" ng-intl-tel-input ng-model="vm.data.phone_number" required ng-minlength="6" ng-maxlength="30">
+ <div class="ice-form-error" data-ng-show="registerForm.phone.$error">
+ <span ng-show="registerForm.phone.$error.required && !registerForm.phone.$pristine">Phone is a required field.</span>
+ <span ng-show="registerForm.phone.$error.minlength" class="help-block">Phone is too short.</span>
+ <span ng-show="registerForm.phone.$error.maxlength" class="help-block">Phone is too long.</span>
+ <span ng-show="registerForm.phone.$dirty && registerForm.phone.$invalid" class="help-block">Phone format invalid</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : registerForm.password.$invalid && !registerForm.password.$pristine }">
+ <label class="ice-form-label required">Password</label>
+ <input type="password" name="password" class="form-control" ng-model="vm.data.password" ng-minlength="4" ng-maxlength="32" maxlength="32" required autocomplete="new-password">
+ <div class="ice-form-error" data-ng-show="registerForm.password.$error">
+ <span ng-show="registerForm.password.$error.required && !registerForm.password.$pristine">Password is a required field.</span>
+ <span ng-show="registerForm.password.$error.minlength" class="help-block">Password is too short.</span>
+ <span ng-show="registerForm.password.$error.maxlength" class="help-block">Password is too long.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : userForm.password.$invalid && !userForm.password.$pristine }">
+ <input type="checkbox" ng-model="vm.data.regular_email_updates" />&nbsp;I agree to receive regular email updates from AT&T {{'program.name' | i18next}}.
+ </div>
+
+ <div class="form-group">
+ <input type="checkbox" ng-model="vm.data.terms" required />&nbsp;I accept the <a href="" ui-sref="app.terms" title="AT&T's {{'program.name' | i18next}} Terms of Service and Privacy Policy" target="_blank">AT&T's {{'program.name' | i18next}} Terms of Service and Privacy Policy</a>.
+ </div>
+
+ <div id="frm-field-63-container" class="form-group frm_form_field form-field frm_top_container">
+ <!--
+ <label class="ice-form-label required">
+ <span class="frm_required"></span>
+ </label>
+ -->
+ <div id="field-7lj3ma" class="g-recaptcha" data-sitekey="6LeMMwYTAAAAACSY-OLibN7rdFHSnY9karY3VXW2"></div>
+ </div>
+ <input type="hidden" name="item_key" value="xxx" />
+ <span>{{PleaseFill}} </span>
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!registerForm.$valid">Sign Up</button>
+
+ <a ui-sref="app.login" class="login">Already have an account?</a>
+
+ </form>
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/register/register.less b/d2ice.att.io/app/main/activation/register/register.less
new file mode 100755
index 00000000..7df0cce9
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/register/register.less
@@ -0,0 +1,100 @@
+//
+// ============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
new file mode 100755
index 00000000..e463ceb1
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/register/register.module.js
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..374d9005
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.controller.js
@@ -0,0 +1,79 @@
+//
+// ============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
new file mode 100755
index 00000000..cc2cc91b
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.html
@@ -0,0 +1,61 @@
+<!--
+============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.-->
+<ice-loader selector=".active-form"></ice-loader>
+
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+ <form name="resendActivationForm" ng-submit="vm.submitForm()" novalidate class="active-form col-md-8">
+ <p>
+ 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.
+ <br/><br/>
+ Please note that sometimes activation emails end up in users spam/junk folders, so please check there.
+ <br/><br/>
+ If you have not received it, please click the resend the Activation Email button below.
+ </p>
+ <button type="submit" class="btn btn-primary">Resend Activation Email</button>
+
+ <div class="leftLink">
+ Still having problems? Please contact us at <a href="mailto:d2ice@att.com">d2ice@att.com</a>
+ </div>
+ </form>
+ <div class="col-md-2"></div>
+ </div>
+</div>
diff --git a/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less
new file mode 100755
index 00000000..5d2277cb
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.less
@@ -0,0 +1,67 @@
+//
+// ============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
new file mode 100755
index 00000000..90a28339
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resendActivation/resendActivation.module.js
@@ -0,0 +1,68 @@
+//
+// ============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
new file mode 100755
index 00000000..9702c2e4
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.controller.js
@@ -0,0 +1,95 @@
+//
+// ============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
new file mode 100755
index 00000000..41d90a69
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.html
@@ -0,0 +1,64 @@
+<!--
+============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.-->
+<ice-loader selector=".resetPassword-form"></ice-loader>
+
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+ <form name="resetPasswordForm" ng-submit="vm.submitForm()" novalidate class="resetPassword-form col-md-8">
+ <div class="form-group" ng-class="{ 'has-error' : resetPasswordForm.email.$invalid && !resetPasswordForm.email.$pristine }">
+ <label class="ice-form-label required">Email</label>
+ <input type="email" name="email" class="form-control" ng-model="vm.data.email" maxlength="254" required>
+ <div class="ice-form-error" data-ng-show="resetPasswordForm.email.$error">
+ <span ng-show="resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine && ngReq">Email is a required field.</span>
+ <span ng-show="resetPasswordForm.email.$invalid && !resetPasswordForm.email.$error.required && !resetPasswordForm.email.$pristine">Enter a valid email.</span>
+ </div>
+ </div>
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!resetPasswordForm.$valid">Send Instructions</button>
+
+ <div class="leftLink">
+ Still having problems? Please contact <a ng-click="vm.sendMail()">d2ice@att.com</a>
+ </div>
+
+ </form>
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less
new file mode 100755
index 00000000..18f79364
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.less
@@ -0,0 +1,84 @@
+//
+// ============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
new file mode 100755
index 00000000..792e51dd
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/resetPassword/resetPassword.module.js
@@ -0,0 +1,68 @@
+//
+// ============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
new file mode 100755
index 00000000..9eabdc25
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/terms/terms.controller.js
@@ -0,0 +1,56 @@
+//
+// ============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
new file mode 100755
index 00000000..fd39eb99
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/terms/terms.html
@@ -0,0 +1,105 @@
+<!--
+============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.-->
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+
+ <form name="termsForm" class="terms-form col-md-8">
+
+ <p>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.</p>
+
+ <ol>
+
+ <li><p><strong>Content Ownership.</strong> 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</p></li>
+
+ <li><p><strong>Account Registration.</strong> 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.</p></li>
+
+ <li><p><strong>Limited License.</strong> 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. </p></li>
+
+ <li><p><strong>Use Restrictions.</strong> 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.
+
+ <li><p><strong>Forums.</strong> {{'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}}.</p>
+
+ <p>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. <p>
+
+ <p>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.</p></li>
+
+ <li><p><strong>Consent to Monitoring and Disclosure.</strong> 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. </p></li>
+
+ <li><p><strong>Copyright Complaints.</strong> {{'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.</p></li>
+
+ <li><p><strong>Privacy.</strong> 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.</p></li>
+
+ <li><p><strong>Subject to Change.</strong> {{'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.</p></li>
+
+ <li><p><strong>Term.</strong> 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}}.</p></li>
+
+ <li><p><strong>Termination of {{'serviceProvider.name' | i18next}} Web Site and Service.</strong> {{'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.</p></li>
+
+ <li><p><strong>Application Agreement(s).</strong>  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).</p></li>
+
+ <li><p><strong>Trademarks. </strong>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.</p></li>
+
+ <li><p><strong>Connectivity; Delay in Service.</strong> 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.</p></li>
+
+ <li><p><strong>Limitation of Liability.</strong> 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.</p></li>
+
+ <li><p><strong>Disclaimer of Warranties.</strong> 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.</p></li>
+
+ <li><p><strong>Indemnification.</strong> 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.
+
+ <li><p><strong>Severability.</strong> 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.</p></li>
+
+ <li><p><strong>Publicity.</strong> 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.</p></li>
+
+ <li><p><strong>International Use.</strong> {{'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.</p></li>
+
+ <li><p><strong>Governing Law.</strong> 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.</p></li>
+
+ <li><p><strong>Miscellaneous.</strong> {{'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. </p></li>
+
+ </ol>
+
+ </form>
+
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/terms/terms.less b/d2ice.att.io/app/main/activation/terms/terms.less
new file mode 100755
index 00000000..e809c9d6
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/terms/terms.less
@@ -0,0 +1,65 @@
+//
+// ============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
new file mode 100755
index 00000000..68a429cf
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/terms/terms.module.js
@@ -0,0 +1,68 @@
+//
+// ============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
new file mode 100755
index 00000000..364dcc77
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.controller.js
@@ -0,0 +1,95 @@
+//
+// ============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
new file mode 100755
index 00000000..65569cdb
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.html
@@ -0,0 +1,76 @@
+<!--
+============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.-->
+<ice-loader selector=".updatePassword-form"></ice-loader>
+
+<div class="container">
+
+ <div class="row">
+ <div class="col-md-2"></div>
+ <form name="updatePasswordForm" ng-submit="vm.submitForm()" novalidate class="updatePassword-form col-md-8">
+ <div class="form-group" ng-class="{ 'has-error' : updatePasswordForm.password.$invalid && !updatePasswordForm.password.$pristine }">
+ <label class="ice-form-label">Password</label>
+ <input type="password" name="password" class="form-control" ng-model="vm.data.password" maxlength="32" ng-minlength="4" required >
+ <div class="ice-form-error" data-ng-show="updatePasswordForm.password.$error">
+ <span ng-show="updatePasswordForm.password.$error.required && !updatePasswordForm.password.$pristine && ngReq">Password is required field.</span>
+ <span ng-show="updatePasswordForm.password.$error.minlength && ngReq" >Password is too short.</span>
+ <span ng-show="updatePasswordForm.password.$error.maxlength" >Password is too long.</span>
+ </div>
+ </div>
+
+ <div class="form-group" ng-class="{ 'has-error' : updatePasswordForm.confirm_password.$invalid && !updatePasswordForm.confirm_password.$pristine }">
+ <label class="ice-form-label">Confirm password</label>
+ <input type="password" name="confirm_password" class="form-control" ng-model="vm.data.confirm_password" maxlength="32" required >
+ <div class="ice-form-error" data-ng-show="updatePasswordForm.confirm_password.$error">
+ <span ng-show="updatePasswordForm.confirm_password.$error.required && !updatePasswordForm.confirm_password.$pristine && ngReq">Confirm password is required field.</span>
+ <span ng-show="!updatePasswordForm.confirm_password.$error.required && updatePasswordForm.confirm_password.$error.noMatch && updatePasswordForm.password.$dirty">Passwords do not match.</span>
+ </div>
+ </div>
+
+
+ <button type="submit" class="btn btn-primary" data-ng-disabled="!updatePasswordForm.$valid">Update Password</button>
+
+ <div class="leftLink">
+ Still having problems? Please contact <a ng-click="vm.sendMail()">d2ice@att.com</a>
+ </div>
+
+ </form>
+ <div class="col-md-2"></div>
+ </div>
+
+</div>
diff --git a/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less
new file mode 100755
index 00000000..a6524df5
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.less
@@ -0,0 +1,85 @@
+//
+// ============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
new file mode 100755
index 00000000..b00e619b
--- /dev/null
+++ b/d2ice.att.io/app/main/activation/updatePassword/updatePassword.module.js
@@ -0,0 +1,68 @@
+//
+// ============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'
+ });
+
+ }
+
+})();