From d0ea6a49ce88f043a6b7ce7ff8a7bb6333bd691c Mon Sep 17 00:00:00 2001 From: Edan Binshtok Date: Tue, 17 Oct 2017 17:42:16 +0300 Subject: Removal of AT&T Proprietary Remove Terms of d2ice Remove d2ice and att in js Remove fonts Change-Id: I383d96979e0f9f7af923365f2dba7b0c7fb8f0eb Issue-Id: VVP-25 Signed-off-by: Edan Binshtok --- .../detailed-view/detailed-view.controller.js | 245 ------------- .../dashboard/detailed-view/detailed-view.html | 109 ------ .../dashboard/detailed-view/detailed-view.less | 400 --------------------- 3 files changed, 754 deletions(-) delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html delete mode 100755 d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less (limited to 'd2ice.att.io/app/main/dashboard/detailed-view') diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js deleted file mode 100755 index c8af53f7..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.controller.js +++ /dev/null @@ -1,245 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -(function () { - 'use strict'; - angular - .module('ice.dashboard.main') - .controller('detailedViewController', ["$rootScope", "$stateParams", "vfcService", "dtsiteService", "usersService", - "$uibModal", "vfService", "$log", "_", detailedViewController]); - - function detailedViewController($rootScope, $stateParams, vfcService, dtsiteService, usersService, $uibModal, vfService, $log, _) { - var vm = this; - - var init = function () { - $rootScope.timeGapLocal = moment().format("z");// timeGap(); - $rootScope.ampm = moment().format('A'); - $rootScope.mom = moment().tz(moment.tz.guess()).format('z'); - vm.is_aic_edit_mode = false; - vm.is_ecomp_edit_mode = false; - vm.aic_loaded = false; - vm.ecomp_loaded = false; - - if($stateParams.engagement != undefined) { - vm.engagement = $stateParams.engagement; - } - - if (vm.engagement != undefined) - { - vm.me = usersService.getUserData(); - vfService.getSingleEngagement(vm.me.uuid,vm.engagement.uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - - if (response.status === 200 && response.data && response.data !== '') { - var vf_data = response.data; - - vm.engagement_manual_id = vf_data.engagement.engagement_manual_id; - vm.vf_name = vf_data.name; - vm.vf_version = vf_data.version; - vm.vf_uuid = vf_data.uuid; - vm.ecomp_release = vf_data.ecomp_release; - vm.target_lab = new Date(vf_data.target_lab_entry_date); - vm.dtversion = vf_data.deployment_target; - vm.selected_dt_uuid = vm.dtversion.uuid; - vm.selected_ecomp_uuid = vm.ecomp_release.uuid; - vm.me = usersService.getUserData(); - vm.name = vm.engagement.name; - vm.isEngagementEL = usersService.isEngagementEL(vf_data.engagement.engagement_team); - vm.isAdmin = usersService.isAdmin(vm.me); - initDTsites(); - initVfcs(); - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - - } - }; - - - vm.addVfc = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/detailed-view/vfc/detailed-view-vfc-modal.html', - controller: 'detailedViewVFCModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - }, - } - }); - modalInstance.result.then(function (data) { - if (data) { - initVfcs(); - } - }); - }; - this.personArray = [vm.dtversion,vm.vf_uuid]; - - vm.editValidationDetails = function () { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/validation-details/detailed-view-validation-details-modal.html', - controller: 'validationDetailsModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - } - } - }); - modalInstance.result.then(function (data) { - if (data) { - init(); - } - }); - }; - - vm.addDTS = function () { - if(vm.isEngagementEL || vm.isAdmin) { - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/detailed-view/dtsite/detailed-view-dtsites-modal.html', - controller: 'detailedViewDtsitesModalController', - controllerAs: 'vm', - resolve: { - vf_uuid: function () { - return vm.vf_uuid; - }, - } - }); - - modalInstance.result.then(function (data) { - if (data) { - if(data === 200) { - initDTsites(); - } - } - }); - } - }; - - - vm.changeTargetLabEntry = function(){ - var modalInstance = $uibModal.open({ - templateUrl: 'main/modals/target-lab-entry/change-lab-entry-date.html', - controller: 'ChangeLabEntryDateModalController', - controllerAs: 'vm', - resolve: { - targetLabDate: function () { - return vm.target_lab; - }, - engagementUuid: function () { - return vm.engagement.uuid; - } - } - }); - modalInstance.result.then(function (data) { - if (!data){ - return; - } - else { - vm.target_lab = new Date(data.target_date); - $log.debug("data.target_date",data.target_date) - $log.debug("vm.target_lab",vm.target_lab) - } - }, function () { - $log.error('Modal dismissed at: ' + new Date()); - }); - }; - //In case user press the delete icon next to a VFC, this function would be activated - vm.deleteVfc = function(vfc_uuid){ - vfcService.delete(vfc_uuid,vm.vf_uuid) - .then(function (response) { - if (response.status === 204) { - initVfcs(); - } - }) - .catch(function (error) { - $log.error(error); - }); - }; - - vm.deleteDTSite = function(vfUuid, dtsUuid){ - dtsiteService.delete(vm.vf_uuid, dtsUuid) - .then(function (response) { - if (response.status === 204) { - initDTsites(); - } - }) - .catch(function (error) { - $log.error(error); - }); - }; - - - var initDTsites = function() { - if(vm.isEngagementEL || vm.isAdmin) { - $rootScope.ice.loader.show = true; - dtsiteService.getVFSites(vm.vf_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.dtsites = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - } - }; - - var initVfcs = function() { - $rootScope.ice.loader.show = true; - vfcService.get(vm.vf_uuid) - .then(function (response) { - $rootScope.ice.loader.show = false; - if (response.status === 200) { - vm.vfcs = response.data; - } - }) - .catch(function (error) { - $rootScope.ice.loader.show = false; - $log.error(error); - }); - }; - init(); - } -})(); diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html deleted file mode 100755 index 02eb760a..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.html +++ /dev/null @@ -1,109 +0,0 @@ - -
-
-

{{vm.engagement_manual_id + ': '}}{{vm.vf_name}}

-
-
-
-
-
- Validation Details - -
-
-
-
ECOMP Release: {{vm.ecomp_release.name}}
-
-
-
Target AIC Version:{{vm.dtversion.version}}
-
-
-
VF Version: {{vm.vf_version}}
-
-
-
-
-
- Target Lab Entry - -
-
-

{{vm.target_lab | date:'shortDate'}}

-
-
-
-
- Deployment Targets - -
-
-
    -
  • - {{dts.name}} - - - - -
  • -
-
-
-
-
-
-
- Virtual Function Components - -
-
-
    -
  • - {{vfc.name +' (' + vfc.external_ref_id + ')'}} - - - - -
  • -
-
-
-
-
-
diff --git a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less b/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less deleted file mode 100755 index dbac5c2d..00000000 --- a/d2ice.att.io/app/main/dashboard/detailed-view/detailed-view.less +++ /dev/null @@ -1,400 +0,0 @@ -// -// ============LICENSE_START========================================== -// org.onap.vvp/portal -// =================================================================== -// Copyright © 2017 AT&T Intellectual Property. All rights reserved. -// =================================================================== -// -// Unless otherwise specified, all software contained herein is licensed -// under the Apache License, Version 2.0 (the “License”); -// you may not use this software except in compliance with the License. -// You may obtain a copy of the License at -// -// http:www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// -// -// Unless otherwise specified, all documentation contained herein is licensed -// under the Creative Commons License, Attribution 4.0 Intl. (the “License”); -// you may not use this documentation except in compliance with the License. -// You may obtain a copy of the License at -// -// https:creativecommons.org/licenses/by/4.0/ -// -// Unless required by applicable law or agreed to in writing, documentation -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// ============LICENSE_END============================================ -// -// ECOMP is a trademark and service mark of AT&T Intellectual Property. -#detailed-view { - - padding:0px 30px 0px 30px; - - .glyphicon-cursor-detailed-view { - cursor: pointer; - margin-left: 0.5%; - } - - .detailed-view-edit-mode { - cursor: pointer; - margin-left: 0.5%; - display: inline-block; - position: relative; - top: 3px; - .sprite; - .sprite.edit-medium; - } - - .hide-element { - display:none; - } - - .show-select { - display:block; - margin-bottom: 3%; - } - - .row > h1 { - padding: 0px; - margin-bottom: 0px; - - .a_36; - - .bold { - .a_36_m; - } - } - - .remove-button { - height: 10px; - .a_16_m; - cursor: pointer; - - - .remove-icon { - .sprite; - .sprite.delete; - cursor: pointer; - display: block; - position: relative; - } - } - - .steps-progress-wrapper { - margin-top: 10px; - } - - - - h2 { - display: inline-block; - margin: 0 0 10px 0; - .a_24_m; - font-size: 20px; - position: relative; - .add-vfc { - .sprite; - .sprite.add; - display: inline-block; - margin-left: 8px; - cursor: pointer; - position: relative; - top: 3px; - } - } - - .main-section { - margin-top: 30px; - } - - .steps-header { - - .steps-filter { - display: inline-block; - float: right; - .a_16_m; - .todo { - .sprite; - .sprite.todo; - display: inline-block; - cursor: pointer; - } - .completed { - .sprite; - .sprite.pending; - display: inline-block; - cursor: pointer; - } - .confirmed { - .sprite; - .sprite.approved; - display: inline-block; - cursor: pointer; - } - } - } - - .vfc-column { - height: 100%; - padding-right: 20px; - padding-left: 20px; - padding-top: 20px; - - ul { - li.step { - - list-style: none; - position: relative; - padding: 5px 10px 0px 4px; - font-size: 16px; - } - } - } - - .vfc-steps { - border-right: dashed 1px @main_color_a; - height: 100%; - padding-right: 20px; - padding-left: 0px; - padding-top: 20px; - - ul { - li.step { - - list-style: none; - position: relative; - padding: 5px 10px 0px 4px; - font-size: 16px; - &:hover { - background-color: #DEF3FF; - - .details { - .actions { - span { - visibility: visible; - } - } - } - - } - - &.completed { - background-color: #dddddd; - opacity: 0.7; - } - - .description { - - .m_16_r; - border-bottom: dashed 1px @main_color_n; - padding: 10px 0; - - input { - position: absolute; - top: 10px; - left: 0; - margin-right: 20px; - } - - .step-text { - margin-left: 20px; - } - - .step-state { - - position: absolute; - top: 24px; - - &.todo { - .steps-sprite; - .steps-sprite.todo; - display: inline-block; - } - &.confirmed { - .steps-sprite; - .steps-sprite.confirmed; - display: inline-block; - } - &.completed { - .steps-sprite; - .steps-sprite.completed; - display: inline-block; - } - &.completed-non-el { - .steps-sprite; - .steps-sprite.completed-non-el; - display: inline-block; - } - } - - } - .details { - .m_12_r; - margin: 6px 0 10px 0; - - .actions { - float: right; - margin-top: 2px; - - span { - visibility: hidden; - } - - .moveto-confirmed { - .actions-sprite; - .actions-sprite.approve_large; - display: inline-block; - cursor: pointer; - } - .moveto-todo { - .actions-sprite; - .actions-sprite.reject_large; - display: inline-block; - cursor: pointer; - } - .moveto-delete { - .actions-sprite; - .actions-sprite.delete_large; - display: inline-block; - cursor: pointer; - } - } - } - } - } - - } - #deployment-targets { - border: 1px solid @engagement_team_color; - padding:0px; - margin-bottom: 20px; - - #deployment-targets-header { - background-color: @engagement_team_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #deployment-targets-content { - .f-type._16_r; - margin: 15px; - } - } - #virtual-function-components { - border: 1px solid @engagement_status_color; - padding:0px; - margin-bottom: 20px; - - #virtual-function-header { - background-color: @engagement_status_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #virtual-function-content { - .f-type._16_r; - margin: 15px; - } - } - - #target-lab-entry { - border: 1px solid @target_completion_color; - padding:0px; - margin-bottom: 20px; - - #target-lab-entry-header { - background-color: @target_completion_color; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #target-lab-entry-content { - .f-type._16_r; - margin: 15px; - } - } - #validation-details { - border: 1px solid #4990E2; - padding:0px; - margin-bottom: 20px; - - #validation-details-header { - background-color: #4990E2; - .p_18_m; - padding: 5px 5px 0; - line-height: 35px; - - .edit-target-completion { - font-size: 21px; - vertical-align: middle; - padding-left: 6px; - cursor:pointer; - } - } - - #validation-details-content { - .f-type._16_r; - margin: 15px; - } - } - .team-and-logs { - height: 100%; - padding-left: 20px; - padding-top: 20px; - margin-left: -1px; - border-left: dashed 1px @main_color_a; - - .line{ - margin-bottom: 10px; - } - - } - - .add-next-step-form { - .ice-wysiwyg { - height: 200px; - .wysiwyg-menu > div { - background-color: #f1f1f1; - padding: 2px; - } - } - } - - .vfc-main-section { - margin-top: 0px; - } -} -- cgit 1.2.3-korg