Author: chris.laprun(a)jboss.com
Date: 2008-02-07 16:33:34 -0500 (Thu, 07 Feb 2008)
New Revision: 9840
Modified:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp
Log:
- Prepare markup for styling.
Modified: modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp
===================================================================
--- modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp 2008-02-07
19:11:18 UTC (rev 9839)
+++ modules/portlet/trunk/test/src/test/resources/simple-portal-war/index.jsp 2008-02-07
21:33:34 UTC (rev 9840)
@@ -4,41 +4,58 @@
<html>
<body>
<portal:page>
-****************************************************<br/>
- <portal:portlet
- name="GoogleWeather"
- applicationName="google-weather-portlet">
------------------------------------<br/>
-<portal:portlettitle/><br/>
-<a href="<portal:portleturl
windowState='maximized'/>">Maximized<a/><br/>
-<a href="<portal:portleturl
windowState='normal'/>">Normal<a/><br/>
-<a href="<portal:portleturl
windowState='minimized'/>">Minimized<a/><br/>
-<a href="<portal:portleturl><portal:param name='zipcode'
value='20855'/></portal:portleturl>">Derwood<a/><br/>
------------------------------------<br/>
- <portal:portletmarkup/>
------------------------------------<br/>
+ <portal:portlet name="GoogleWeather"
applicationName="google-weather-portlet">
+ <div class="portlet">
+ <div class="titlebar">
+ <div class="title"><portal:portlettitle/></div>
+ <ul class="actions">
+ <li><a title="Maximize"
href="<portal:portleturl
windowState='maximized'/>">M</a></li>
+ <li><a title="Normal" href="<portal:portleturl
windowState='normal'/>">n</a></li>
+ <li><a title="Minimize"
href="<portal:portleturl
windowState='minimized'/>">m</a></li>
+ <li><a title="Edit" href="<portal:portleturl
mode='edit'/>">Edit</a></li>
+ </ul>
+ </div>
+ <div class="portletcontent">
+ <portal:portletmarkup/>
+ </div>
+ </div>
</portal:portlet>
-****************************************************<br/>
- <portal:portlet
- name="GoogleMap"
- applicationName="google-map-portlet">
------------------------------------<br/>
-<portal:portlettitle/><br/>
------------------------------------<br/>
- <portal:portletmarkup/>
------------------------------------<br/>
+
+
+ <portal:portlet name="GoogleMap"
applicationName="google-map-portlet">
+ <div class="portlet">
+ <div class="titlebar">
+ <div class="title"><portal:portlettitle/></div>
+ <ul class="actions">
+ <li><a title="Maximize"
href="<portal:portleturl
windowState='maximized'/>">M</a></li>
+ <li><a title="Normal" href="<portal:portleturl
windowState='normal'/>">n</a></li>
+ <li><a title="Minimize"
href="<portal:portleturl
windowState='minimized'/>">m</a></li>
+ <li><a title="Edit" href="<portal:portleturl
mode='edit'/>">Edit</a></li>
+ </ul>
+ </div>
+ <div class="portletcontent">
+ <portal:portletmarkup/>
+ </div>
+ </div>
</portal:portlet>
-****************************************************<br/>
- <portal:portlet
- name="RemoteControl"
- applicationName="remotecontrol-portlet">
------------------------------------<br/>
-<portal:portlettitle/><br/>
------------------------------------<br/>
- <portal:portletmarkup/>
------------------------------------<br/>
+
+ <br/>
+ <portal:portlet name="RemoteControl"
applicationName="remotecontrol-portlet">
+ <div class="portlet">
+ <div class="titlebar">
+ <div class="title"><portal:portlettitle/></div>
+ <ul class="actions">
+ <li><a title="Maximize"
href="<portal:portleturl
windowState='maximized'/>">M</a></li>
+ <li><a title="Normal" href="<portal:portleturl
windowState='normal'/>">n</a></li>
+ <li><a title="Minimize"
href="<portal:portleturl
windowState='minimized'/>">m</a></li>
+ <li><a title="Edit" href="<portal:portleturl
mode='edit'/>">Edit</a></li>
+ </ul>
+ </div>
+ <div class="portletcontent">
+ <portal:portletmarkup/>
+ </div>
+ </div>
</portal:portlet>
-****************************************************<br/>
</portal:page>
</body>
</html>