diff options
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html')
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html | 101 |
1 files changed, 60 insertions, 41 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html index 5b4bcd13..b6167b19 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/overlayvpn_topo.html @@ -1,42 +1,61 @@ -<!--
-
- Copyright 2016, Huawei Technologies Co., Ltd.
-
- 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.
-
--->
-
-<!DOCTYPE html>
-<html>
-<head>
- <style type="text/css">
- #container {
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- position: absolute;
- }
- </style>
-</head>
-<body>
-<div id="container"></div>
-<script src="js/topo/sigma/sigma.min.js"></script>
-<script src="js/topo/sigma/jquery-3.1.0.min.js"></script>
-<script src="js/topo/sigma/plugins/sigma.renderers.customShapes.min.js"></script>
-<script src="js/topo/sigma/plugins/sigma.renderers.edgeLabels.min.js"></script>
-<script src="js/topo/Node.js"></script>
-<script src="js/topo/Edge.js"></script>
-<script src="js/topo/Topology.js"></script>
-</body>
+<!-- + + Copyright 2016, Huawei Technologies Co., Ltd. + + 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. + +--> + +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> + #container { + top: 55px; + bottom: 0; + left: 0; + right: 0; + position: absolute; + } + #title { + font-size: 30px; + text-align: center; + } +</style> +</head> + +<body> +<div id="title"></div> +<hr/> +<div id="container"></div> + + +<script src="js/jquery-1.11.2.min.js"></script> + +<script src="js/topo/sigma/sigma.min.js"></script> +<script src="js/topo/sigma/sigma.renderers.customShapes.min.js"></script> +<script src="js/topo/sigma/sigma.renderers.edgeLabels.min.js"></script> + +<script src="js/topo/Node.js"></script> +<script src="js/topo/Edge.js"></script> +<script src="js/topo/OverlayTopology.js"></script> + +<!-- Update the title with the id of Overlay VPN --> +<script language="JavaScript"> + var id = extractOverlayVPNId(); + var titleStr = "Topology of Overlay VPN : ".concat("<b>", id, "</b>"); + document.getElementById("title").innerHTML = titleStr; +</script> +</body> + </html>
\ No newline at end of file |