Author: mwringe
Date: 2010-04-09 14:26:36 -0400 (Fri, 09 Apr 2010)
New Revision: 2571
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/background/IconGadget.gif
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl
Log:
GTNPORTAL-479: use a restore icon for gadgets when going from minimized to normal or from
maximize to normal.
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css 2010-04-09
17:57:07 UTC (rev 2570)
+++
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/Stylesheet.css 2010-04-09
18:26:36 UTC (rev 2571)
@@ -87,11 +87,11 @@
}
.UIGadget .GadgetControl .MinimizeGadget {
- background-position: 31px top;
+ background-position: 48px top;
}
.UIGadget .GadgetControl .RestoreGadget {
- background-position: 48px top;
+ background-position: 31px top;
}
.UIGadget .GadgetControl .EditGadget {
@@ -99,7 +99,7 @@
}
.UIGadget .GadgetControl .MaximizeGadget {
- background-position: 48px top;
+ background-position: 65px top;
}
.UIGadget .TLGadget {
Modified:
portal/trunk/web/eXoResources/src/main/webapp/skin/DefaultSkin/portal/webui/component/view/UIGadget/background/IconGadget.gif
===================================================================
(Binary files differ)
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl 2010-04-09
17:57:07 UTC (rev 2570)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/application/UIGadget.gtmpl 2010-04-09
18:26:36 UTC (rev 2571)
@@ -38,8 +38,9 @@
onclick="eXo.gadget.UIGadget.minimizeGadget(this)"
onmousedown="event.cancelBubble=true;" style="display:none;"
title="<%=isMini ? unminiTitle : miniTitle%>"
miniTitle="$miniTitle"
unminiTitle="$unminiTitle"><span></span></div>
<div class="EditGadget IconControl"
onclick="eXo.gadget.UIGadget.editGadget('$id')"
onmousedown="event.cancelBubble=true;"
title="<%=_ctx.appRes("UIGadget.tooltip.editGadget")%>"><span></span></div>
- <div class="MaximizeGadget IconControl"
onclick="eXo.gadget.UIGadget.maximizeGadget(this)"
onmousedown="event.cancelBubble=true;"
- title="<%=view.equals(uicomponent.HOME_VIEW) ? maxiTitle :
unmaxiTitle%>"><span></span></div>
+ <div class="<%=view.equals(uicomponent.HOME_VIEW) ?
"MaximizeGadget" : "RestoreGadget";%> IconControl"
+
onclick="eXo.gadget.UIGadget.maximizeGadget(this)"
onmousedown="event.cancelBubble=true;"
+ title="<%=view.equals(uicomponent.HOME_VIEW)
? maxiTitle : unmaxiTitle%>"><span></span></div>
<div
class="GadgetDragHandleArea"><span></span></div>
<div style="clear: both;"><span></span></div>
</div>
Show replies by date