Modify the overall code lincence and comments 81/84081/1
authorguochuyicmri <guochuyi@chinamobile.com>
Wed, 3 Apr 2019 10:13:54 +0000 (18:13 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Wed, 3 Apr 2019 10:14:02 +0000 (18:14 +0800)
Change-Id: I821814d97f9e8b8b683d0a2850ea73a104118fd9
Issue-ID: USECASEUI-212
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
52 files changed:
usecaseui-portal/.settings/org.eclipse.m2e.core.prefs [new file with mode: 0644]
usecaseui-portal/karma.conf.js
usecaseui-portal/pom.xml
usecaseui-portal/src/app/alarm/alarm.component.ts
usecaseui-portal/src/app/animates.ts
usecaseui-portal/src/app/app-routing.module.ts
usecaseui-portal/src/app/app.component.css
usecaseui-portal/src/app/app.component.ts
usecaseui-portal/src/app/app.module.ts
usecaseui-portal/src/app/components/charts/bar/bar.component.html
usecaseui-portal/src/app/components/charts/bar/bar.component.ts
usecaseui-portal/src/app/components/charts/line/line.component.html
usecaseui-portal/src/app/components/charts/line/line.component.ts
usecaseui-portal/src/app/components/charts/pie/pie.component.html
usecaseui-portal/src/app/components/charts/pie/pie.component.ts
usecaseui-portal/src/app/components/customer/customer.component.html
usecaseui-portal/src/app/components/customer/customer.component.less
usecaseui-portal/src/app/components/customer/customer.component.ts
usecaseui-portal/src/app/components/details/details.component.css
usecaseui-portal/src/app/components/details/details.component.html
usecaseui-portal/src/app/components/details/details.component.less
usecaseui-portal/src/app/components/details/details.component.ts
usecaseui-portal/src/app/components/graphiclist/graphiclist.component.css
usecaseui-portal/src/app/components/graphiclist/graphiclist.component.html
usecaseui-portal/src/app/components/graphiclist/graphiclist.component.less
usecaseui-portal/src/app/components/graphiclist/graphiclist.component.ts
usecaseui-portal/src/app/components/performance-details/performance-details.component.css
usecaseui-portal/src/app/components/performance-details/performance-details.component.html
usecaseui-portal/src/app/components/performance-details/performance-details.component.less
usecaseui-portal/src/app/components/performance-details/performance-details.component.ts
usecaseui-portal/src/app/home/home.component.css
usecaseui-portal/src/app/home/home.component.less
usecaseui-portal/src/app/home/home.component.ts
usecaseui-portal/src/app/homes.service.ts
usecaseui-portal/src/app/management/management.component.html
usecaseui-portal/src/app/management/management.component.less
usecaseui-portal/src/app/management/management.component.ts
usecaseui-portal/src/app/onboard.service.ts
usecaseui-portal/src/app/performance/performance-vm/performance-vm.component.css
usecaseui-portal/src/app/performance/performance-vm/performance-vm.component.html
usecaseui-portal/src/app/performance/performance-vm/performance-vm.component.less
usecaseui-portal/src/app/performance/performance-vm/performance-vm.component.ts
usecaseui-portal/src/app/performance/performance-vnf/performance-vnf.component.css
usecaseui-portal/src/app/performance/performance-vnf/performance-vnf.component.less
usecaseui-portal/src/app/performance/performance.component.css
usecaseui-portal/src/app/performance/performance.component.html
usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.css
usecaseui-portal/src/app/services/onboard-vnf-vm/onboard-vnf-vm.component.ts
usecaseui-portal/src/app/services/services.component.html
usecaseui-portal/src/my-theme.css
usecaseui-portal/src/styles.css
usecaseui-portal/src/styles.less

diff --git a/usecaseui-portal/.settings/org.eclipse.m2e.core.prefs b/usecaseui-portal/.settings/org.eclipse.m2e.core.prefs
new file mode 100644 (file)
index 0000000..f897a7f
--- /dev/null
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
index bd8cc9b..bbfd57c 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ============LICENSE_START==========================================
 ===================================================================
-Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
+Copyright (C) 2019 IBM Intellectual Property. All rights reserved.
 ===================================================================
 
 Unless otherwise specified, all software contained herein is licensed
index 9f16c13..11ed216 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index b8b9d4f..5d47902 100644 (file)
@@ -241,9 +241,9 @@ export class AlarmComponent implements OnInit {
                 x2: 0,
                 y2: 1,
                 colorStops: [{
-                  offset: 0, color: '#FB7788' // 0% 处的颜色
+                  offset: 0, color: '#FB7788' 
                 }, {
-                  offset: 1, color: '#FB93C2' // 100% 处的颜色
+                  offset: 1, color: '#FB93C2'
                 }],
               },
               opacity: 1,
@@ -266,9 +266,9 @@ export class AlarmComponent implements OnInit {
                 x2: 0,
                 y2: 1,
                 colorStops: [{
-                  offset: 0, color: '#7A8BAE' // 0% 处的颜色
+                  offset: 0, color: '#7A8BAE'
                 }, {
-                  offset: 1, color: '#A6BFE4' // 100% 处的颜色
+                  offset: 1, color: '#A6BFE4'
                 }],
               },
               opacity: 1,
index cde7e56..d5c29b7 100644 (file)
@@ -1,22 +1,37 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { trigger, state, style, animate, transition } from '@angular/animations';
 
-// 路由动画
+// Routing animation
 export const slideToRight = trigger('routerAnimate', [
-    // 定义void表示空状态下
-    state('void', style({ position:'fixed', zIndex:'-1' })), //不明白为啥要加定位出场动画才生效
-    // * 表示任何状态
+    // Define void to indicate empty state
+    state('void', style({ position:'fixed', zIndex:'-1' })), //I don't understand why I want to add a positioning animation to take effect.
+    // * Indicates any state
     state('*', style({ })),
-    // 进场动画
+    // Admission animation
     transition(':enter', [
         style({transform: 'translateX(-100%)'}),
         animate('.5s ease-in-out')
     ]),
-    // 出场动画
+    // Opening animation
     transition(':leave', [
         animate('.5s ease-in-out',  style({transform: 'translateX(100%)'}) )
     ])
 ]);
-// 详情页显示隐藏动画
+// Detail page shows hidden animation
 export const showHideAnimate = trigger('showHideAnimate', [
     state('show', style({
       transform: 'scale(1)',
@@ -29,7 +44,7 @@ export const showHideAnimate = trigger('showHideAnimate', [
     transition('show => hide', animate('300ms ease-in')),
     transition('hide => show', animate('300ms ease-out'))
 ]);
-// 详情页显示隐藏动画
+// Detail page shows hidden animation
 export const slideUpDown = trigger('slideUpDown', [
     state('down', style({
         height: "*"
index 2d2277c..558b442 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { NgModule }             from '@angular/core';
 import { RouterModule, Routes } from '@angular/router';
 
@@ -25,7 +40,7 @@ const ServicesChildRoutes: Routes = [
 const routes: Routes = [
   { path: 'home', component: HomeComponent},
   { path: 'management', component: ManagementComponent},
-  // { path: 'services', component: ServicesComponent, children:ServicesChildRoutes}, //暂时不是子路由结构
+  // { path: 'services', component: ServicesComponent, children:ServicesChildRoutes}, //Temporarily not a sub-routing structure
   { path: 'services/services-list', component: ServicesListComponent},
   { path: 'services/onboard-vnf-vm', component: OnboardVnfVmComponent},
   { path: 'alarm', component: AlarmComponent},
index f25d326..1e0f718 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 4290727..0bdf72b 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component } from '@angular/core';
 import { TranslateService } from '@ngx-translate/core';
 
@@ -14,7 +29,7 @@ export class AppComponent {
     // translate.use('en');
   }
 
-  // 多语言
+  
   Language:String[] = ["zh","en"];
   selectLanguage = "en";
 
index 77a102f..be4454f 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { BrowserModule } from '@angular/platform-browser';
 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
 import { NgModule } from '@angular/core';
index 8e3e537..7c1eee6 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 38a2fc0..ee76dfe 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit, Input } from '@angular/core';
 import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
 
@@ -8,9 +23,9 @@ import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
 })
 export class BarComponent implements OnInit {
 
-  // 图形数据
+  // chart Data
   @Input() chartData;
-  // 初始化数据
+  // init Data
   @Input() initData;
 
   constructor() { }
@@ -32,18 +47,18 @@ export class BarComponent implements OnInit {
   }
 
   ngOnChanges(changes: SimpleChanges) {
-    // 当有实例的时候再执行,相当于第一次不执行下面方法
+    // Execute when there is an instance, which is equivalent to not executing the following method for the first time.
     if (this.chartIntance) {
       this.chartDataChange()
     }
   }
-  // 初始化图形高度
+  // Initialize the height of the graphic
   initOpts: any;
-  // 折线图配置
+  // Line chart configuration
   barOption: any;
-  // 实例对象
+  // Instance object
   chartIntance: any;
-  // 数据变化
+  // Data change
   updateOption: any;
   chartDataChange() {
     this.updateOption = this.chartData;
index 9a43e28..e032eb2 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 55b757c..2588169 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit, Input } from '@angular/core';
 import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
 
@@ -7,9 +22,9 @@ import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
   styleUrls: ['./line.component.less']
 })
 export class LineComponent implements OnInit {
-  // 图形数据
+  // chart Data
   @Input() chartData;
-  // 初始化数据
+  // init Data
   @Input() initData;
 
   constructor() { }
@@ -65,18 +80,18 @@ export class LineComponent implements OnInit {
   }
 
   ngOnChanges(changes:SimpleChanges){
-    // 当有实例的时候再执行,相当于第一次不执行下面方法
+    // Execute when there is an instance, which is equivalent to not executing the following method for the first time.
     if(this.chartIntance){
       this.chartDataChange()
     }
   }
-  // 初始化图形高度
+  // Initialize the height of the graphic
   initOpts:any;
-  // 折线图配置
+  // Line chart configuration
   lineOption:any;
-  // 实例对象
+  // Instance object
   chartIntance:any;
-  // 数据变化
+  // Data change
   updateOption:any;
   chartDataChange(){
     this.updateOption = this.chartData;
index 5f1e94c..d063f22 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 9302ddb..b1549ab 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit, Input } from '@angular/core';
 import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
 
@@ -7,9 +22,9 @@ import { SimpleChanges } from '@angular/core/src/metadata/lifecycle_hooks';
   styleUrls: ['./pie.component.less']
 })
 export class PieComponent implements OnInit {
-  // 图形数据
+  // chart Data
   @Input() chartData;
-  // 初始化数据
+  // init Data
   @Input() initData;
 
   constructor() { }
@@ -49,30 +64,30 @@ export class PieComponent implements OnInit {
 
   ngOnChanges(changes:SimpleChanges){
 
-    // 当有实例的时候再执行,相当于第一次不执行下面方法
+    // Execute when there is an instance, which is equivalent to not executing the following method for the first time.
     if(this.chartIntance){
       this.chartDataChange()
     }
   }
 
-  // 初始化图形高度
+  // Initialize the height of the graphic
   initOpts:any;
-  // alarm饼图
+  // Alarm pie chart
   pieOption:any;
-  // 实例对象
+  // Instance object
   chartIntance:any;
-  // 数据变化
+  // Data change
   updateOption:any;
   chartDataChange(){
     this.updateOption = this.chartData;
-    // 要等到updateOption渲染完再执行
+    // Wait until the updateOption is finished and then execute
     this.chartIntance.on('finished',()=>{
       this.chartIntance.dispatchAction({
         type:'highlight',
         seriesIndex: 0,
         dataIndex:0        
       })
-      // 由于所有视图变化渲染都会执行,更新完注销此事件
+      //Since all view changes are rendered, this event is logged out after the update
       this.chartIntance.off('finished')
     })
   }
index d244909..9bf6c5a 100644 (file)
@@ -1,3 +1,18 @@
+<!--
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
 <div class="content">
   <div class="customer">
     <div class="customer_title">
index b7b4bc2..f591cc4 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content {
     width: 100%;
     height: 100vh;
index bd27d36..3008ae0 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit } from '@angular/core';
 
 @Component({
index 0d450d2..0b5493d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 1f43176..62770b6 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index ad81d8a..a27357e 100644 (file)
@@ -1,4 +1,19 @@
 
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content {
     .header {
         background-color: #fff;
index bc6b324..5eed3da 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit, Input } from '@angular/core';
 import { slideUpDown } from '../../animates';
 import { HomesService } from '../../homes.service';
@@ -32,7 +47,7 @@ export class DetailsComponent implements OnInit {
     }
 
   }
-  // 详情显示
+  // detail Show
   moredetailShow = false;
   @Input() detailId;
   
index e3912fc..2f6519c 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content .title {
   border-radius: 5px 5px 0 0;
   background-color: #fff;
index c5c3a3e..317d48b 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index f6f1435..24e92fb 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content {
     .title {
         border-radius: 5px 5px 0 0;
index 712f2f9..ccffac0 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index d0bfd9f..0b5493d 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content .header {
   background-color: #fff;
   border-radius: 5px;
index 8300973..a5d44a7 100644 (file)
@@ -1,4 +1,18 @@
+<!--
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
 <div class="content">
     <div class="header">
         <h2>HEADER INFORMATION</h2>
index ad81d8a..c1ca74f 100644 (file)
@@ -1,4 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content {
     .header {
         background-color: #fff;
index 2b5cded..b883573 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit, Input } from '@angular/core';
 import { slideUpDown } from '../../animates';
 import { HomesService } from '../../homes.service';
index d2e51e4..03cc8f9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 750f5a3..9684fec 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 // .title {
 //     font: 700 18px/18px "思源黑体";
 //     color: #4c5e70;
index 9d81684..bd4c517 100644 (file)
@@ -119,7 +119,7 @@ export class HomeComponent implements OnInit {
       })
   }
 
-  // alarm饼图
+  // alarm bar
   alarmChartData:Object;
   alarmChartInit:Object = {
     height: 180,
@@ -143,11 +143,11 @@ export class HomeComponent implements OnInit {
           x2: 0,
           y2: 1,
           colorStops: [{
-            offset: 0, color: '#FB93C2' // 0% 处的颜色
+            offset: 0, color: '#FB93C2'
           }, {
-            offset: 1, color: '#FB7788' // 100% 处的颜色
+            offset: 1, color: '#FB7788' 
           }],
-          globalCoord: false // 缺省为 false
+          globalCoord: false
         }, {
           type: 'linear',
           x: 0,
@@ -155,14 +155,14 @@ export class HomeComponent implements OnInit {
           x2: 0,
           y2: 1,
           colorStops: [{
-            offset: 0, color: '#A6BFE4' // 0% 处的颜色
+            offset: 0, color: '#A6BFE4'
           }, {
-            offset: 1, color: '#7A8BAE' // 100% 处的颜色
+            offset: 1, color: '#7A8BAE'
           }],
-          globalCoord: false // 缺省为 false
+          globalCoord: false
         }],
       series: [{
-        name: "告警信息",
+        name: " ",
         radius: '55%',
         center:['50%', '45%'],
         label: {
@@ -189,7 +189,7 @@ export class HomeComponent implements OnInit {
       })
   }
 
-  // alarm线图
+  // alarm lin
   alarmLineChartData:Object;
   alarmLineChartInit:Object = {
     height:320,
@@ -232,7 +232,7 @@ export class HomeComponent implements OnInit {
     }
   };
   
-   // services进度条
+   // services 
   servicesBarChartData: Object;
   serviceBarChartInit: Object = {
     option: {
@@ -318,7 +318,7 @@ export class HomeComponent implements OnInit {
         console.log(err);
       })
   }
-  // sourceName筛选框
+  // sourceName 
   sourceNameList = ['performanceNameOne'];
   sourceNameSelected = null;
 
index e6d1336..254408d 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index a695b00..ef8c843 100644 (file)
@@ -1,3 +1,18 @@
+<!--
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
 <div class="content" style="padding: 20px 20px;">
   <div class="management"  [@showHideAnimate]="show" >
     <div class="title">
index cc50e3c..4b4a0ab 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .content {
     .management {
         width: 100%;
index 7345e7a..5cc6be7 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Component, OnInit , HostBinding} from '@angular/core';
 import { showHideAnimate, slideToRight } from '../animates';
 
index a248f53..1c3778a 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 import { Injectable } from '@angular/core';
 import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';
 import { Observable } from 'rxjs/Observable';
@@ -9,7 +24,7 @@ export class onboardService {
   /* location */
   // baseUrl = "./assets/json";
   // url = {
-  //   // 数据列表
+  //   // list data
   //   onboardTableData: this.baseUrl + "/onboard-vnf-mf/onboardTableData.json",
   //   onboardDataVNF: this.baseUrl + "/onboard-vnf-mf/onboardDataVNF.json",
   //   onboardDataPNF: this.baseUrl + "/onboard-vnf-mf/onboardDataPNF.json",
@@ -19,7 +34,7 @@ export class onboardService {
   //   sdc_vnfListData: this.baseUrl + "/onboard-vnf-mf/listData/SDC_VNF.json",
 
 
-  //   //创建nspackages
+  //   //create nspackages
   //   creatensData: this.baseUrl + "/onboard-vnf-mf/_jsonData.json",
 
   //   //onboard ns sdc data 
@@ -48,10 +63,10 @@ export class onboardService {
   // }
 
   //---------------------------------------------------------------------------------------
-  /* line up 线上*/
+  /* line up*/
   baseUrl = baseUrl.baseUrl + "/uui-lcm/";
   url = {
-    // 数据列表Data
+    // list Data
     onboardTableData: this.baseUrl + "ns-packages",
     onboardDataVNF: this.baseUrl + "vnf-packages",
     onboardDataPNF: this.baseUrl + "pnf-packages",
@@ -75,7 +90,7 @@ export class onboardService {
     // Delete Pnf package
     deletePnfPack: this.baseUrl + "deletePnfPackage?pnfdInfoId=",
 
-    //进度接口
+    //Progress interface
     progress: this.baseUrl + "jobs/" + "_jobId" + "?responseId="
 
 
index 079a409..e963195 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 76d2485..06d8435 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 8a9005c..31623dc 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .title {
     font: 700 18px/18px "思源黑体";
     color: #4c5e70;
index 1fb099c..73e77c5 100644 (file)
@@ -14,7 +14,7 @@ export class PerformanceVmComponent implements OnInit {
   ngOnInit() {
   }
 
-  // 筛选框(下拉框)
+  // Filter box (drop-down box)
   sourceNameList = ['aaaa','bbbb','cccc','dddddDDDDDDDDDDDDDDD'];
   sourceNameSelected = this.sourceNameList[0];
   ReportingEntityNameList = ['aaaa','bbbb','cccc','ddddd'];
@@ -28,7 +28,7 @@ export class PerformanceVmComponent implements OnInit {
     this.ReportingEntityNameSelected = item;
   }
 
-  //表格数据
+  //Tabular data
   dataSet = [
     {
       name       : 'John Brown',
@@ -123,10 +123,10 @@ export class PerformanceVmComponent implements OnInit {
     }
   ];
   
-  //详情页标题显示
+  //Detail page title display
   graphicshow = false;
   detailshow = false;
-  // 显示隐藏动画
+  // Show hidden animation
   state = "show";
   state2 = "hide";
   state3 = "hide";
@@ -144,7 +144,7 @@ export class PerformanceVmComponent implements OnInit {
     this.graphicshow = true;
     this.detailshow = false;
   }
-  // 选中id
+  // Selected id
   detailId:number;
   detailShow(prems) {
     this.state = 'hide';
index 414beeb..269af7a 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .title {
   font: 700 18px/18px "思源黑体";
   color: #4c5e70;
index ed562d2..cc4e1ca 100644 (file)
@@ -1,3 +1,18 @@
+/*
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+            http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+*/
 .title {
     font: 500 14px/18px "ArialMT";
     color: #3C4F8C;
index cf63a82..f216953 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index c092e87..cd92b65 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 934831e..4e80750 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index a35de35..75d39eb 100644 (file)
@@ -62,12 +62,12 @@ export class OnboardVnfVmComponent implements OnInit {
   };
   constructor(private myhttp: onboardService, private http: HttpClient, private msg: NzMessageService,private titleService: Title,private modal: NzModalService, private modalService: NzModalService) { }
 
-  //default 默认调用ns数据
+  //default Call ns data by default
   ngOnInit() {
     this.getTableData();
   }
 
-  //表格数据
+  //Tabular data
   nstableData:any;
   vnftableData:any;
   pnftableData:any;
@@ -89,7 +89,7 @@ export class OnboardVnfVmComponent implements OnInit {
   tabs = ['NS', 'VNF', 'PNF'];
   isSpinning = false;
 
-  // 处理tab切换 请求数据
+  // Handling tab switching request data
   handleTabChange(tab) {
     this.tabTitle = tab;
     console.log(tab);
@@ -101,7 +101,7 @@ export class OnboardVnfVmComponent implements OnInit {
       case 'NS':
           this.nstableData = [];
           this.getTableData();
-          this.fileList = []; //切换时清空上传的文件
+          this.fileList = []; //Empty uploaded files when switching
         break
       case 'VNF':
           this.vnftableData = [];
@@ -126,7 +126,7 @@ export class OnboardVnfVmComponent implements OnInit {
            }
       }
 
-  //NS/VNF列表添加文件
+  //NS/VNF List add file
   beforeUpload = (file: UploadFile): boolean => {
     this.fileList.push(file);
     console.log('fileList' + this.fileList)
@@ -186,7 +186,7 @@ export class OnboardVnfVmComponent implements OnInit {
     return false;
   }
 
-  //获取列表单条id
+  //Get list list id
   onClickId(id,tab){
     switch (tab) {
       case 'NS':
@@ -204,7 +204,7 @@ export class OnboardVnfVmComponent implements OnInit {
     }
   }
   
-  //拖拽后点击上传按钮
+  //Drag and drop and click the upload button
   onClick (tab) {
     switch (tab) {
       case 'NS':
@@ -228,7 +228,7 @@ export class OnboardVnfVmComponent implements OnInit {
     }
   }
 
-  //put Upload 上传
+  //put Upload Upload
   handleUpload(url,tab): void { 
     console.log('startUpload')
     const formData = new FormData();
@@ -267,7 +267,7 @@ export class OnboardVnfVmComponent implements OnInit {
     });
     console.log('req--->'+ JSON.stringify(req));
     console.log('formData--->'+ JSON.stringify(formData));
-    //上传前置空数组
+    //Upload pre-empty array
     this.fileList = [];
     this.fileListNS = [];
     this.fileListVNF = [];
@@ -289,7 +289,7 @@ export class OnboardVnfVmComponent implements OnInit {
       );
   }
   
-//  控制uploading的状态
+//  Control the status of uploading
 changeUploadingSta(tab) {
   switch(tab) {
     case "NS":
@@ -305,7 +305,7 @@ changeUploadingSta(tab) {
 
 //----------------------------------------------------------------------------------------------
 
-  // 获取NS列表
+  // Get the NS list
   getTableData() {
     this.isSpinning = true;
     //ns vfc lists 
@@ -348,7 +348,7 @@ changeUploadingSta(tab) {
     
   }
 
-  // 获取vnf列表
+  // Get the vnf list
   getTableVnfData() {
     this.isSpinning = true;
     //vnf vfc lists
@@ -388,7 +388,7 @@ changeUploadingSta(tab) {
       })
   }
 
-  // 获取pnf列表
+  // Get pnf list
   getTablePnfData() { 
     this.isSpinning = true;  
     this.myhttp.getOnboardTablePnfData()
@@ -402,7 +402,7 @@ changeUploadingSta(tab) {
       })
   }
 
-  //合并并去重
+  //Merge and de-emphasize
   // MergeArray(arr1, arr2) {
   //   var _arr = new Array();
   //   for (var i = 0; i < arr1.length; i++) {
@@ -413,7 +413,7 @@ changeUploadingSta(tab) {
   //   for (var i = 0; i < arr2.length; i++) {
   //     var flag = true;
   //     for (var j = 0; j < arr1.length; j++) {
-  //       // 根据vfc列表arr1的id和sdc列表arr2的uuid去重
+  //       // According to the id of the vfc list arr1 and the uuid of the sdc list arr2
   //       if (arr2[i].uuid == arr1[j].id) {
   //         flag = false;
   //         break;
@@ -428,7 +428,7 @@ changeUploadingSta(tab) {
 
 //-----------------------------------------------------------------------------------
   /* onboard */
-  //成功弹框
+  //Successful frame
   success(tab): void {
     const modal = this.modalService.success({
       nzTitle: 'This is an success message',
@@ -447,7 +447,7 @@ changeUploadingSta(tab) {
     // window.setTimeout(() => modal.destroy(), 5000);
   }
 
-  //失败弹框
+  //Failure frame
   error(): void {
     this.modalService.error({
       nzTitle: 'This is an error message',
@@ -461,10 +461,10 @@ changeUploadingSta(tab) {
     progress: 0,
   }
   currentIndex = 0;
-  // ns onboard 上传按钮
+  // ns onboard Upload button
   updataNsService(id,index) {
     this.currentIndex = index;
-    this.onboardData.status = "onboarding"; //置灰
+    this.onboardData.status = "onboarding"; //Disabled
     this.onboardData.progress = 0;
     console.log("NS-onboard-id-->" + id);
     let requestBody = {
@@ -487,10 +487,10 @@ changeUploadingSta(tab) {
       })
   }
 
-  // vnf onboard 上传按钮
+  // vnf onboard Upload button
   updataVnfService(id,index) {
     this.currentIndex = index;
-    this.onboardData.status = "onboarding";  //按钮置灰
+    this.onboardData.status = "onboarding";  //Disabled button
     this.onboardData.progress = 0;
 
     console.log("VNF-onboard-id-->" + id)
@@ -502,18 +502,18 @@ changeUploadingSta(tab) {
         console.log('onboard vnf sdc-->', data);
         this.jobId =  data.jobId;
         console.log('onboard vnf sdc jobId-->'+ data.jobId);
-        this.queryProgress(this.jobId,0);   //vnf需要查询进度接口
+        this.queryProgress(this.jobId,0);   //vnf Need to query progress interface
       }, (err) => {
         console.log(err);
       })
   }
 
-  // pnf onboard //暂时没有上传功能
+  // pnf onboard //Temporarily no upload function
   // updataPnfService(id) {
   //   console.log('pnf',id);
   // }
 
-  //Progress 进度查询
+  //Progress Progress inquiry
   queryProgress(jobId,responseId){
     let mypromise = new Promise((res)=>{
         this.myhttp.getProgress(jobId,responseId)
@@ -555,7 +555,7 @@ changeUploadingSta(tab) {
   }
 
   //--------------------------------------------------------------------------------
-  /* delete  删除按钮 */
+  /* delete button */
   showConfirm(index,pkgid,tab): void {
     this.confirmModal = this.modal.confirm({
       nzTitle: 'Do you Want to delete these items?',
@@ -624,7 +624,7 @@ changeUploadingSta(tab) {
   }
 
 //------------------------------------------------------------------------------------
-  //下载download
+  //download
   // downloadNsService(id) {
   //   console.log('download')
   //   console.log(id)
index c4fddfc..1014283 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index ac66bcc..2ae2052 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 2b7176e..c556274 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
+    Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
 
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
index 2dfe224..7c17ab2 100644 (file)
@@ -1,5 +1,5 @@
 /* You can add global styles to this file, and also import other style files */
-// 下拉框背景hover状态颜色
+// Drop-down box background hover status color
 .ant-dropdown-menu {
   .ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover {
     background-color: #3fa8eb;
@@ -8,10 +8,10 @@
     }
   }
 }
-// 表格每页条数选项单位置
+// Table per page number of menu positions
 nz-table {
   .ant-table-thead > tr > th {
-    color: rgba(60, 79, 140, 0.5); //标题字体颜色
+    color: rgba(60, 79, 140, 0.5); //Title font color
     background-color: #F7F8FC;
     border-bottom: 0px solid #e8e8e8;
   }
@@ -68,7 +68,7 @@ nz-table {
   }
 }
 
-// 详情页迷你表格样式
+// Detail page mini table style
 .detailInformatioin {
     nz-table {
         .ant-table-small {
@@ -98,14 +98,14 @@ nz-table {
     }
 }
 
-// 日期选择插件背景颜色
+// Date selection plugin background color
 .ant-calendar-picker {
     .ant-input {
         background-color: #eceff4;
         border-color: #9fa9ab;
     }           
 }
-// 分页每页条数选项单位置
+// Pages per page number of menu positions
 nz-pagination {
   ul {
     .ant-pagination-options {
@@ -195,7 +195,7 @@ body {
     }
 }
 
-// D版本更改背景颜色修改
+// D Version change background color modification
 nz-layout {
     .ant-layout {
         background:#F7F8FC;
@@ -205,8 +205,8 @@ nz-layout {
         padding: 0px !important; 
     }
 }
-// onboard-vnf-vm页面调整
-// 头部导航
+// onboard-vnf-vm Page adjustment
+// Head navigation
 .ant-tabs-bar {
     box-shadow: 0 2px 23px 0 rgba(0, 0, 0, 0.1), 0 2px 49px 0 rgba(0, 0, 0, 0.06);
     border-bottom:none !important;
@@ -219,7 +219,7 @@ nz-layout {
 .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-nav-container {
     height: 55px !important;
 }
-// 头部导航按钮
+// Head navigation button
 .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
     background-color: #fff !important;
     border: 1px solid #fff !important;
@@ -267,7 +267,7 @@ nz-range-picker {
 
 //2019.01.21 add services-list.component.html
 
-//creat
+//creat
 nz-modal {
   .ant-modal {
     height: 628px;