From 24edb0071df326ceede7f3589561af76581d4c11 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 22 Aug 2011 14:09:33 -0700 Subject: [PATCH] cloudStack - merge UI change from 2.2.10 branch to master branch. --- .../classes/resources/messages.properties | 5 + .../classes/resources/messages_es.properties | 3 + .../classes/resources/messages_ja.properties | 3 + .../resources/messages_zh_CN.properties | 3 + ui/jsp/host.jsp | 26 +- ui/jsp/ipaddress.jsp | 283 +- ui/jsp/serviceoffering.jsp | 37 +- ui/scripts/cloud.core.account.js | 16 +- ui/scripts/cloud.core.cluster.js | 14 +- ui/scripts/cloud.core.diskoffering.js | 12 +- ui/scripts/cloud.core.domain.js | 12 +- ui/scripts/cloud.core.host.js | 17 +- ui/scripts/cloud.core.init.js | 80 +- ui/scripts/cloud.core.instance.js | 39 +- ui/scripts/cloud.core.ipaddress.js | 2418 ++++++++++------- ui/scripts/cloud.core.js | 6 +- ui/scripts/cloud.core.network.js | 12 +- ui/scripts/cloud.core.pod.js | 14 +- ui/scripts/cloud.core.primarystorage.js | 12 +- ui/scripts/cloud.core.resource.js | 21 + ui/scripts/cloud.core.secondarystorage.js | 12 +- ui/scripts/cloud.core.securitygroup.js | 12 +- ui/scripts/cloud.core.serviceoffering.js | 23 +- ui/scripts/cloud.core.snapshot.js | 15 +- .../cloud.core.systemserviceoffering.js | 12 +- ui/scripts/cloud.core.volume.js | 18 +- ui/scripts/cloud.core.zone.js | 12 +- 27 files changed, 1934 insertions(+), 1203 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 929d752b411..948038c2e9b 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -4,6 +4,11 @@ #Labels +network.rate=Network Rate + +ICMP.type=ICMP Type +ICMP.code=ICMP Code + image.directory=Image Directory label.action.create.template.from.vm=Create Template from VM diff --git a/client/WEB-INF/classes/resources/messages_es.properties b/client/WEB-INF/classes/resources/messages_es.properties index 0895551cf0c..248dc748b81 100644 --- a/client/WEB-INF/classes/resources/messages_es.properties +++ b/client/WEB-INF/classes/resources/messages_es.properties @@ -4,6 +4,9 @@ #Labels +ICMP.type=Tipo ICMP +ICMP.code=ICMP Código + image.directory=Directorio de la imagen label.action.create.template.from.vm=Crear plantilla de VM diff --git a/client/WEB-INF/classes/resources/messages_ja.properties b/client/WEB-INF/classes/resources/messages_ja.properties index 23cbf984189..623da86ac8c 100644 --- a/client/WEB-INF/classes/resources/messages_ja.properties +++ b/client/WEB-INF/classes/resources/messages_ja.properties @@ -4,6 +4,9 @@ #Labels +ICMP.type=ICMPタイプ +ICMP.code=ICMPコード + image.directory=画像ディレクトリ label.action.create.template.from.vm=VMからのテンプレートを作成する diff --git a/client/WEB-INF/classes/resources/messages_zh_CN.properties b/client/WEB-INF/classes/resources/messages_zh_CN.properties index 7827a075f4b..a4b3dc4be66 100644 --- a/client/WEB-INF/classes/resources/messages_zh_CN.properties +++ b/client/WEB-INF/classes/resources/messages_zh_CN.properties @@ -4,6 +4,9 @@ #Labels +ICMP.type=ICMP类型 +ICMP.code=ICMP代码 + image.directory=图片目录 label.action.create.template.from.vm=创建虚拟机模板 diff --git a/ui/jsp/host.jsp b/ui/jsp/host.jsp index dc75f9f2c8d..92183facb53 100644 --- a/ui/jsp/host.jsp +++ b/ui/jsp/host.jsp @@ -111,8 +111,18 @@ dictionary = {
- +
+
+
+ :
+
+
+
+
+
+
+
:
@@ -122,7 +132,7 @@ dictionary = {
-
+
:
@@ -132,7 +142,7 @@ dictionary = {
-
+
:
@@ -142,7 +152,7 @@ dictionary = {
-
+
:
@@ -152,7 +162,7 @@ dictionary = {
-
+
:
@@ -162,7 +172,7 @@ dictionary = {
-
+
:
@@ -172,7 +182,7 @@ dictionary = {
-
+
:
@@ -182,7 +192,7 @@ dictionary = {
-
+
:
diff --git a/ui/jsp/ipaddress.jsp b/ui/jsp/ipaddress.jsp index a0b4252d64e..5ea52ec3050 100644 --- a/ui/jsp/ipaddress.jsp +++ b/ui/jsp/ipaddress.jsp @@ -32,8 +32,10 @@ dictionary = {

-
-
+ + -
+ + +