diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2019-03-27 15:34:05 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2019-03-27 15:34:39 +0800 |
commit | 1c0361eeecfacefc17250a4388f843d8600df04a (patch) | |
tree | 9868b08509c884912f1b31b5b18168ae7358fbeb /usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts | |
parent | 8ca667af29ce93f5b801ccfafbf6d14e55640300 (diff) |
Support OTN Domain Management
Change-Id: I560574b29f6cb74765bf96f976d4511d244c75db
Issue-ID: USECASEUI-226
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts index 48de5636..03894ba9 100644 --- a/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts +++ b/usecaseui-portal/src/app/ccvpn-network/ccvpn-network.component.ts @@ -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') |