Support OTN Domain Management 38/83438/1
authorguochuyicmri <guochuyi@chinamobile.com>
Wed, 27 Mar 2019 07:34:05 +0000 (15:34 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Wed, 27 Mar 2019 07:34:39 +0000 (15:34 +0800)
Change-Id: I560574b29f6cb74765bf96f976d4511d244c75db
Issue-ID: USECASEUI-226
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.css
usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.spec.ts
usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts
usecaseui-portal/src/assets/images/cloud-county1.png
usecaseui-portal/src/assets/images/cloud-out.png

index 99b5816..0347ce7 100644 (file)
 
 
 #tpContainer{
+  position: relative;
   width:100%;
-  /*height: 80%;*/
+  height: 95%;
+  margin-top: 15px;
   float: left;
+  background: #EEF9FF;
 }
 .model {
+  position: relative;
   padding: 15px;
-  height: 100%;
+  height: 100vh;
   width: 100%;
 }
 .model .creation {
@@ -53,7 +57,9 @@
   /*float: left;*/
   width: 20%;
   position: absolute;
-  right: 1%;
+  left: 0;
+  margin-top: 30px;
+  margin-left: 30px;
   border-radius: 5px;
   box-shadow: 0 0 10px #9e9e9e;
   padding: 10px;
index 03cc506..9ec321c 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 48de563..03894ba 100644 (file)
@@ -124,9 +124,9 @@ export class CcvpnNetworkComponent implements OnInit {
     network = [];
     delcloud = false;
 
-    winWidth = $('.content').width();
-    winHeight = 600;
-    charge = -300;
+    winWidth = $('#tpContainer').width();
+    winHeight = $('#tpContainer').height();
+  charge = -300;
 
     imgmap = {
         '1': './assets/images/cloud-county1.png',
@@ -274,7 +274,10 @@ export class CcvpnNetworkComponent implements OnInit {
                 .attr('width', width)
                 .attr('height', height)
                 .attr('id', 'content-svg')
-                .style('pointer-events', 'all'),
+                .style('pointer-events', 'all')
+                .style('position','absolute')
+                .style('top','1%')
+                .style('right','2%'),
             graph = svg.append('g').attr('class', 'graph').attr('id', 'graph'),
 
             _g_nodes = graph.selectAll('g.node')
index feb6a4a..99b3e13 100644 (file)
Binary files a/usecaseui-portal/src/assets/images/cloud-county1.png and b/usecaseui-portal/src/assets/images/cloud-county1.png differ
index aeec4fd..c47d7d8 100644 (file)
Binary files a/usecaseui-portal/src/assets/images/cloud-out.png and b/usecaseui-portal/src/assets/images/cloud-out.png differ