From f5365da384d4a19c449f437ce357292c8b215bc8 Mon Sep 17 00:00:00 2001 From: NIKITA Date: Wed, 15 Sep 2010 11:15:33 -0700 Subject: [PATCH] UI for Grid actions like save and cancel --- ui/new/css/main.css | 29 ++ ui/new/images/gridbot_actionbutton.gif | Bin 0 -> 549 bytes ui/new/images/gridbot_actionbutton_hover.gif | Bin 0 -> 547 bytes ui/new/jsp/template.jsp | 408 ++++++++++--------- 4 files changed, 235 insertions(+), 202 deletions(-) create mode 100644 ui/new/images/gridbot_actionbutton.gif create mode 100644 ui/new/images/gridbot_actionbutton_hover.gif diff --git a/ui/new/css/main.css b/ui/new/css/main.css index 24058dc9571..872d7cc4068 100644 --- a/ui/new/css/main.css +++ b/ui/new/css/main.css @@ -1381,6 +1381,7 @@ a:visited { padding:0; } + .searchpanel { width:223px; height:27px; @@ -2179,6 +2180,34 @@ a:visited { padding:0 0 0 0; } +.grid_botactionpanel { + width:100%; + height:23px; + float:left; + margin:15px 0 0 0; + padding:0 0 0 0; +} + +.gridbot_buttons { + width:64px; + height:17px; + float:left; + color:#FFF; + background:url(../images/gridbot_actionbutton.gif) no-repeat top left; + text-align:center; + font-weight:normal; + font-size:12px; + margin:0 10px 0 0; + padding:4px 0 0 0; + cursor:pointer; + cursor:hand; +} + +.gridbot_buttons:hover { + background:url(../images/gridbot_actionbutton_hover.gif) no-repeat top left; +} + + .grid_actionbox { width:35px; height:17px; diff --git a/ui/new/images/gridbot_actionbutton.gif b/ui/new/images/gridbot_actionbutton.gif new file mode 100644 index 0000000000000000000000000000000000000000..05a3a84d8dd45fe007418a716cd7634807388af5 GIT binary patch literal 549 zcmZ?wbhEHbbYKu=xXQq=YuB!%q@=2<>def{mge^Qx`xuy(!#>Ryu7^b&b|q~Q>IRu zHGkIfoSd9l(-x+sr7fAaHYFux#llVh|NnpU=FRWlzt5jP|NQy$YuBzFJb3W>_3Nik zpI)+L$)fqo_wC!aVeOXM+S=^w?1>X6CMPGaTe)T0=S@s2TG-39 zxTEg;```Z?8k+=7wZx@$1^K&sdi(k(Oq?{iS4UcodFHIybLP&QzhL294mk#9-W4lX ztzNTsrQy1bt2NiSn{n*exoh{Hz5Dhb*yGNAECr+L^edeS)+l7mlE?>EN?fQ+Y z?o4;?-n;+c;iJb-9=fx>c=_t}o44=Ye|YQ8^5yHd?>~P2`u*ppyB;SKmyE}T1qYis zgvD%_oEs0f3n+Wd@hE)M)g{6>M`PoH#mD;sQuQa39pIIwBy>FEZ^r{N0<^T7;n^Q)|om kgu`93-rLqhZqo3W;ozLgB&h8F=+xZRDyKvg9T^y`0kjqgC;$Ke literal 0 HcmV?d00001 diff --git a/ui/new/images/gridbot_actionbutton_hover.gif b/ui/new/images/gridbot_actionbutton_hover.gif new file mode 100644 index 0000000000000000000000000000000000000000..f4bb2736f620828be9521540eab01d2390a17316 GIT binary patch literal 547 zcmZ?wbhEHbbYKu=xXQq=Yu7F}H@Bdmpp=x7$jHcs+LqAJ(B94| z?ae)YetzEG-X0zvv!*Pb(m!Xx%vJyY|9|u5&F|m8pFe+o?b@}|r%xX|c<}uB^VhFm z?`Z9vGGR_;X6BYn+vd-o-`w21al>YRfB%q>5O;U?)hpJ|ojZ5&oHaA1&fT+T&%S;8 zRxDmWrGIvEa`KeEIrC?(S}#n{*dU?vVUC{YLp77U-S^*JNK0az>eaue?)>}T{~H=B zjTOWs^!WL@x_f&2`X@}B)MF%}t;{=f*6cZR=gnWRaE^*LgEG^Km8({-S-WoihBfXg zTwAwo-?4Mo?mc^Vx^o;nboj{8W5-XNJm$`R_T2dk7cX7Da`los^UYhg@7%q2|G~q1 z?rcw=J%91?)$2EJU%9h<{Pg+D*Kgl{{QTz5`uE>|24*f9j|~eBD02#F#hlo%@Nm0; zvK7mMCg$dD3FE9gCpIoV-Y;dj;=qKY#*>pZf>*_y+_d!c6itH&fs2YwXJ-q>J-Bmn z^YZf!^97^+yiquGsD)QeK_m9mmX(*62Q2oA%}P4QqAee>phI!t>g($h4j$t0-nJ%E aM8|HyLZilxiRuN9PlXDlc1=)Vum%94f(Bav literal 0 HcmV?d00001 diff --git a/ui/new/jsp/template.jsp b/ui/new/jsp/template.jsp index 15f433cc8eb..5d1b92a84fa 100644 --- a/ui/new/jsp/template.jsp +++ b/ui/new/jsp/template.jsp @@ -1,202 +1,206 @@ -<%@ page import="java.util.*" %> - -<%@ page import="com.cloud.utils.*" %> - -<% - Locale browserLocale = request.getLocale(); - CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); -%> - -
-
- Instance
-

- Template -

-
-
- -
-
- <%=t.t("Details")%>
-
-
-
- -
-
-
-
-
-

- Detaching Disk …

-
- -
- -
-
-
-
- <%=t.t("ID")%>:
-
-
-
-
-
-
-
-
-
- <%=t.t("Zone")%>:
-
-
-
-
-
-
-
-
-
- <%=t.t("Name")%>:
-
-
-
-
- -
-
-
-
-
- <%=t.t("Display.Text")%>:
-
-
-
-
- -
-
-
-
-
- <%=t.t("Status")%>:
-
-
-
-
-
-
-
-
-
- <%=t.t("Password.Enabled")%>:
-
-
-
-
-
-
-
-
-
-
-
- <%=t.t("Public")%>:
-
-
-
-
-
-
-
-
-
-
-
- <%=t.t("Featured")%>:
-
-
-
-
-
-
-
-
-
-
-
- <%=t.t("Cross.Zones")%>:
-
-
-
-
-
-
-
-
-
-
-
- <%=t.t("OS.Type")%>:
-
-
-
-
-
-
-
-
-
- <%=t.t("Account")%>:
-
-
-
-
- -
-
-
-
-
- <%=t.t("Created")%>:
-
-
-
-
-
-
-
-
-
- <%=t.t("Size")%>:
-
-
-
-
-
-
-
-
-
- +<%@ page import="java.util.*" %> + +<%@ page import="com.cloud.utils.*" %> + +<% + Locale browserLocale = request.getLocale(); + CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); +%> + +
+
+ Instance
+

+ Template +

+
+
+ +
+
+ <%=t.t("Details")%>
+
+
+
+ +
+
+
+
+
+

+ Detaching Disk …

+
+ +
+ +
+
+
+
+ <%=t.t("ID")%>:
+
+
+
+
+
+
+
+
+
+ <%=t.t("Zone")%>:
+
+
+
+
+
+
+
+
+
+ <%=t.t("Name")%>:
+
+
+
+
+ +
+
+
+
+
+ <%=t.t("Display.Text")%>:
+
+
+
+
+ +
+
+
+
+
+ <%=t.t("Status")%>:
+
+
+
+
+
+
+
+
+
+ <%=t.t("Password.Enabled")%>:
+
+
+
+
+
+
+
+
+
+
+
+ <%=t.t("Public")%>:
+
+
+
+
+
+
+
+
+
+
+
+ <%=t.t("Featured")%>:
+
+
+
+
+
+
+
+
+
+
+
+ <%=t.t("Cross.Zones")%>:
+
+
+
+
+
+
+
+
+
+
+
+ <%=t.t("OS.Type")%>:
+
+
+
+
+
+
+
+
+
+ <%=t.t("Account")%>:
+
+
+
+
+ +
+
+
+
+
+ <%=t.t("Created")%>:
+
+
+
+
+
+
+
+
+
+ <%=t.t("Size")%>:
+
+
+
+
+
+
+
+ +
+
+