aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
Diffstat (limited to 'openo-portal/portal-lifecyclemgr')
-rw-r--r--openo-portal/portal-lifecyclemgr/css/RMain.css3
-rw-r--r--openo-portal/portal-lifecyclemgr/css/VMMain.css3
-rw-r--r--openo-portal/portal-lifecyclemgr/js/brs.js3
-rw-r--r--openo-portal/portal-lifecyclemgr/js/gsolcm.js2
-rw-r--r--openo-portal/portal-lifecyclemgr/js/rest.js3
-rw-r--r--openo-portal/portal-lifecyclemgr/js/topo/Edge.js15
-rw-r--r--openo-portal/portal-lifecyclemgr/js/topo/Node.js15
-rw-r--r--openo-portal/portal-lifecyclemgr/js/topo/Topology.js15
-rw-r--r--openo-portal/portal-lifecyclemgr/js/underlay.js3
-rw-r--r--openo-portal/portal-lifecyclemgr/js/vpn.js3
-rw-r--r--openo-portal/portal-lifecyclemgr/overlayvpn_topo.html18
11 files changed, 76 insertions, 7 deletions
diff --git a/openo-portal/portal-lifecyclemgr/css/RMain.css b/openo-portal/portal-lifecyclemgr/css/RMain.css
index c40182ba..1b8488aa 100644
--- a/openo-portal/portal-lifecyclemgr/css/RMain.css
+++ b/openo-portal/portal-lifecyclemgr/css/RMain.css
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -13,6 +13,7 @@
* limitations under the License.
*/
+
#iemp_layout_container {
padding: 0px;
margin: 1px auto;
diff --git a/openo-portal/portal-lifecyclemgr/css/VMMain.css b/openo-portal/portal-lifecyclemgr/css/VMMain.css
index 44dbccf3..e625e907 100644
--- a/openo-portal/portal-lifecyclemgr/css/VMMain.css
+++ b/openo-portal/portal-lifecyclemgr/css/VMMain.css
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -13,6 +13,7 @@
* limitations under the License.
*/
+
body{
font-family: '微软雅黑';
font-size: 12px;
diff --git a/openo-portal/portal-lifecyclemgr/js/brs.js b/openo-portal/portal-lifecyclemgr/js/brs.js
index deea08ed..e975f6c6 100644
--- a/openo-portal/portal-lifecyclemgr/js/brs.js
+++ b/openo-portal/portal-lifecyclemgr/js/brs.js
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
$('.siteDeleteImg').click(function(){
var data = $(this).parent().parent().parent().find('td:last').find('div:last').html();
diff --git a/openo-portal/portal-lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/js/gsolcm.js
index 8fa7c7f4..5258d907 100644
--- a/openo-portal/portal-lifecyclemgr/js/gsolcm.js
+++ b/openo-portal/portal-lifecyclemgr/js/gsolcm.js
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+ * Copyright 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/openo-portal/portal-lifecyclemgr/js/rest.js b/openo-portal/portal-lifecyclemgr/js/rest.js
index cbbcb516..a5d83f83 100644
--- a/openo-portal/portal-lifecyclemgr/js/rest.js
+++ b/openo-portal/portal-lifecyclemgr/js/rest.js
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -13,6 +13,7 @@
* limitations under the License.
*/
+
$(function(){
$('.creat-btn').click(function(){
$('#vmAppDialog').addClass('in').css({'display':'block'});
diff --git a/openo-portal/portal-lifecyclemgr/js/topo/Edge.js b/openo-portal/portal-lifecyclemgr/js/topo/Edge.js
index 1083d8ee..fbdcbd10 100644
--- a/openo-portal/portal-lifecyclemgr/js/topo/Edge.js
+++ b/openo-portal/portal-lifecyclemgr/js/topo/Edge.js
@@ -1,3 +1,18 @@
+/* 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.
+ */
+
var edgeColors = {
red : "#f00",
green: "#0f0",
diff --git a/openo-portal/portal-lifecyclemgr/js/topo/Node.js b/openo-portal/portal-lifecyclemgr/js/topo/Node.js
index bae5fc8b..340947f7 100644
--- a/openo-portal/portal-lifecyclemgr/js/topo/Node.js
+++ b/openo-portal/portal-lifecyclemgr/js/topo/Node.js
@@ -1,3 +1,18 @@
+/* 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.
+ */
+
var icon = {
type1 : "js/topo/img/NEUP.png",
type2 : "js/topo/img/NETWORK.png",
diff --git a/openo-portal/portal-lifecyclemgr/js/topo/Topology.js b/openo-portal/portal-lifecyclemgr/js/topo/Topology.js
index a73fdb16..d8d27df9 100644
--- a/openo-portal/portal-lifecyclemgr/js/topo/Topology.js
+++ b/openo-portal/portal-lifecyclemgr/js/topo/Topology.js
@@ -1,3 +1,18 @@
+/* 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.
+ */
+
function Topology(containerId) {
/**
diff --git a/openo-portal/portal-lifecyclemgr/js/underlay.js b/openo-portal/portal-lifecyclemgr/js/underlay.js
index 904d6da0..05fc3daf 100644
--- a/openo-portal/portal-lifecyclemgr/js/underlay.js
+++ b/openo-portal/portal-lifecyclemgr/js/underlay.js
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
function loadUnderlayData(){
var requestUrl = "http://localhost:8080/org.openo.sdno.l3vpnservice/openoapi/sdnol3vpn/v1/l3vpns";
diff --git a/openo-portal/portal-lifecyclemgr/js/vpn.js b/openo-portal/portal-lifecyclemgr/js/vpn.js
index 41091e83..eaa53e63 100644
--- a/openo-portal/portal-lifecyclemgr/js/vpn.js
+++ b/openo-portal/portal-lifecyclemgr/js/vpn.js
@@ -4,7 +4,7 @@
* 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
+ * 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,
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
function deleteSite(objectId){
alert(objectId);
diff --git a/openo-portal/portal-lifecyclemgr/overlayvpn_topo.html b/openo-portal/portal-lifecyclemgr/overlayvpn_topo.html
index 610e0b55..ddd8eaaa 100644
--- a/openo-portal/portal-lifecyclemgr/overlayvpn_topo.html
+++ b/openo-portal/portal-lifecyclemgr/overlayvpn_topo.html
@@ -1,3 +1,21 @@
+<!--
+
+ 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>