diff options
author | Edan Binshtok <eb578m@intl.att.com> | 2017-10-17 17:42:16 +0300 |
---|---|---|
committer | Edan Binshtok <eb578m@intl.att.com> | 2017-10-17 17:42:16 +0300 |
commit | d0ea6a49ce88f043a6b7ce7ff8a7bb6333bd691c (patch) | |
tree | 4696cef781de91936b152e57aa26ee96042e4fbe /d2ice.att.io/app/main/dashboard/detailed-view | |
parent | 1cd02f285d4d778dddfe34024da4b31afdc0afcd (diff) |
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 <eb578m@intl.att.com>
Diffstat (limited to 'd2ice.att.io/app/main/dashboard/detailed-view')
3 files changed, 0 insertions, 754 deletions
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 @@ -<!-- -============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 id="detailed-view"> - <div class="row"> - <h1 ><span class="bold">{{vm.engagement_manual_id + ': '}}</span>{{vm.vf_name}} </h1> - </div> - <div class="vfc-main-section row"> - <div class="col-xs-4 col-md-4 vfc-steps"> - <div id="validation-details"> - <div id="validation-details-header"> - <span id="vd-title">Validation Details</span><span class="add-vdetails"></span> - <i class="edit-target-completion fa fa-pencil-square-o" id="update-validation-details" ng-click="vm.editValidationDetails()" class="add-vdetails" ></i> - </div> - <div id="validation-details-content"> - <div > - <div class ="line ecomp_release_field " ng-if="!vm.is_ecomp_edit_mode"><span id="ecomp-release-headline">ECOMP Release:</span> <span id="ecomp_version_{{vm.ecomp_release.name}}">{{vm.ecomp_release.name}}</span></div> - </div> - <div> - <div class ="line dtversion_field" ng-if = "vm.is_aic_edit_mode === false"><span id="target-aic-version-headline">Target AIC Version:</span><span id="aic_version_{{vm.dtversion.version}}">{{vm.dtversion.version}}</span></div> - </div> - <div> - <div class ="line dtversion_field" ng-if = "vm.is_aic_edit_mode === false"><span id="vf-version-headline">VF Version: </span> <span id="vf_version_{{vm.vf_version}}">{{vm.vf_version}}</span></div> - </div> - </div> - </div> - <div id="target-lab-entry"> - <div id="target-lab-entry-header"> - <span>Target Lab Entry</span> - <i class="edit-target-completion fa fa-pencil-square-o" id="change-lab-entry-date" data-ng-click="vm.changeTargetLabEntry()" aria-hidden="true"></i> - </div> - <div id="target-lab-entry-content"> - <h4 class="target-lab-entry-content">{{vm.target_lab | date:'shortDate'}}</h4> - </div> - </div> - <div id="deployment-targets"> - <div id="deployment-targets-header"> - <span>Deployment Targets </span><span ng-click="vm.addDTS()" class="add-vfc"></span> - <i class="edit-target-completion fa fa-pencil-square-o" id="add-dt" ng-show="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addDTS()" class="add-vfc" aria-hidden="true"></i> - </div> - <div id="deployment-targets-content"> - <ul> - <li class="step row" data-ng-repeat="dts in vm.dtsites track by dts.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> - <span id="visible-dts-{{dts.name}}" class = "col-md-10">{{dts.name}}</span> - - <span class = "remove-button col-md-2" ng-if="vm.dtsites.length > 0" ng-click='vm.deleteDTSite(vm.vf.uuid, dts.uuid)'> - <span ng-show="hoverEdit"><span id="remove-dts-{{dts.uuid}}" class="remove-icon"></span></span> - </span> - </li> - </ul> - </div> - </div> - </div> - <div class="col-xs-4 col-md-4 vfc-column"> - <div id="virtual-function-components" ng-if="vm.isEngagementEL || vm.isAdmin" > - <div id="virtual-function-header"> - <span>Virtual Function Components </span><span id="virtual-vfc" ng-click="vm.addVfc()" class="add-vfc"></span> - <i class="edit-target-completion fa fa-pencil-square-o" ng-show="vm.isEngagementEL || vm.isAdmin" id="add-vfc" ng-if="vm.isEngagementEL || vm.isAdmin" ng-click="vm.addVfc()" class = "add-vfc" ></i> - </div> - <div id="virtual-function-content"> - <ul> - <li class="step row" data-ng-repeat="vfc in vm.vfcs track by vfc.uuid" ng-mouseover="hoverEdit = true" ng-mouseleave="hoverEdit = false"> - <span id="visible-dts-{{vfc.name}}" class = "col-md-10"> {{vfc.name +' (' + vfc.external_ref_id + ')'}} </span> - - <span class="remove-button col-md-2" ng-if="vm.vfcs.length > 0 && (vm.isEngagementEL || vm.isAdmin)" ng-click='vm.deleteVfc(vfc.uuid)'> - <span ng-show="hoverEdit"><span id="remove-vfc-{{vfc.uuid}}" class="remove-icon"></span></span> - </span> - </li> - </ul> - </div> - </div> - </div> -</div> -</div> 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; - } -} |