From 6eab10ad47b2abcdb5b747f900a4fa63930539b1 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 14 Sep 2010 15:43:57 -0700 Subject: [PATCH] new UI - boolean field (cross icon, tick icon) - adjust position of cross icon and tick icon. --- ui/new/jsp/instance.jsp | 8 ++++---- ui/new/jsp/iso.jsp | 2 ++ ui/new/scripts/cloud.core2.js | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/new/jsp/instance.jsp b/ui/new/jsp/instance.jsp index 8291b287d69..41e57deeebd 100644 --- a/ui/new/jsp/instance.jsp +++ b/ui/new/jsp/instance.jsp @@ -82,8 +82,8 @@ <%=t.t("HA")%>:
-
- @@ -134,8 +134,8 @@ <%=t.t("ISO")%>:
-
- diff --git a/ui/new/jsp/iso.jsp b/ui/new/jsp/iso.jsp index 1344d1cd5dc..01056df63a2 100644 --- a/ui/new/jsp/iso.jsp +++ b/ui/new/jsp/iso.jsp @@ -86,6 +86,8 @@
+
+
diff --git a/ui/new/scripts/cloud.core2.js b/ui/new/scripts/cloud.core2.js index 846422c23de..f03c9cdd890 100644 --- a/ui/new/scripts/cloud.core2.js +++ b/ui/new/scripts/cloud.core2.js @@ -508,9 +508,9 @@ var midmenuItemCount = 20; function setBooleanField(value, $field) { if(value == "true") - $field.removeClass("cross_icon").addClass("tick_icon").show(); + $field.find("#icon").removeClass("cross_icon").addClass("tick_icon").show(); else - $field.removeClass("tick_icon").addClass("cross_icon").show(); + $field.find("#icon").removeClass("tick_icon").addClass("cross_icon").show(); }