Author: wesleyhales
Date: 2008-02-14 12:51:12 -0500 (Thu, 14 Feb 2008)
New Revision: 9970
Added:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-bg.gif
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-lt.gif
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-rt.gif
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/pc20-picture.gif
Modified:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/css/master.css
modules/portlet/trunk/test/src/test/resources/simple-portal-war/demo/home.jsp
Log:
home page markup
Modified: modules/portlet/trunk/test/src/test/resources/simple-portal-war/css/master.css
===================================================================
---
modules/portlet/trunk/test/src/test/resources/simple-portal-war/css/master.css 2008-02-14
16:23:07 UTC (rev 9969)
+++
modules/portlet/trunk/test/src/test/resources/simple-portal-war/css/master.css 2008-02-14
17:51:12 UTC (rev 9970)
@@ -314,3 +314,48 @@
div.remote-container ul li a {
color: #332299
}
+
+/*-------------------------------------Home page*/
+
+div#container div#content div.main-content {
+ padding: 5px;
+ width: 950px;
+ border-bottom: 1px solid #777777;
+}
+
+div#container div#content div.content-box {
+ background-image: url( /simple-portal/images/content-box-bg.gif );
+ background-repeat: repeat-x;
+ background-position: top right;
+ height: 200px ;
+ width: 300px;
+ margin: 0 13px 0 13px;
+}
+
+div#container div#content div.content-box div.box-header {
+ position: relative;
+ height: 28px;
+ width: 100%;
+}
+
+div#container div#content div.content-box div.box-header h3{
+ padding: 4px 0 0 10px;
+ font-size:1.2em;
+}
+
+
+div#container div#content div.content-box div.box-header img.left {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
+
+div#container div#content div.content-box div.box-header img.right {
+ position: absolute;
+ top: 0;
+ right: 0;
+}
+
+div#container div#content div.content-box div.box-content {
+ padding: 5px;
+}
\ No newline at end of file
Modified: modules/portlet/trunk/test/src/test/resources/simple-portal-war/demo/home.jsp
===================================================================
---
modules/portlet/trunk/test/src/test/resources/simple-portal-war/demo/home.jsp 2008-02-14
16:23:07 UTC (rev 9969)
+++
modules/portlet/trunk/test/src/test/resources/simple-portal-war/demo/home.jsp 2008-02-14
17:51:12 UTC (rev 9970)
@@ -1,9 +1,12 @@
<%@ page contentType="text/html" %>
<%@ include file="/layouts/header.jsp" %>
-
-
+<div style="padding:10px">
+<div class="full-width main-content">
<!-- Logo floated to the left of text would be good! :) -->
-<p><a
href="http://labs.jboss.com/portletcontainer"
target="jboss">JBoss Portlet Container</a> is the next generation
+<p>
+ <img src="${pageContext.request.contextPath}/images/pc20-picture.gif"
alt="" align="right"/>
+ <a
href="http://labs.jboss.com/portletcontainer"
target="jboss">
+ JBoss Portlet Container</a> is the next generation
portlet container on which future versions of JBoss Portal will be based. It provides
a standard-compliant
implementation of the JSR-286 Portlet 2.0 specification. It has been developed with
reusability in mind so that
advanced users, who don't require a full-fledged portal, can leverage the portlet
management services it provides in
@@ -12,34 +15,55 @@
<p>This simple portal is a demonstration of what can be achieved reasonably quickly
by leveraging JBoss Portlet
Container.</p>
+</div>
+ <br/>
+<div class="content-box float-left">
+ <div class="box-header">
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-lt.gif"
alt="" class="left"/>
+ <h3>Support Services</h3>
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-rt.gif"
alt="" class="right"/>
+ </div>
+ <div class="box-content">
+ <p>JBoss (a division of Red Hat Inc.) offers various support services
tailored to fit your needs.
+ <a target="jboss"
href="http://jboss.com/services/index">Explore</a> support and service
options for
+ <a
href="http://jboss.com/products/platforms/portals"
target="jboss">JBoss Portal</a>.</p>
+ </div>
+</div>
-<table width="100%">
- <tr>
- <td valign="top"><h3>Support Services</h3>
-
- <p>JBoss (a division of Red Hat Inc.) offers various support services
tailored to fit your needs.
- <a target="jboss"
href="http://jboss.com/services/index">Explore</a> support and service
options for
- <a
href="http://jboss.com/products/platforms/portals"
target="jboss">JBoss Portal</a>.</p>
- </td>
- <td valign="top"><h3>PortletSwap</h3>
-
- <p><a href="http://www.portletswap.com"
target="jboss">Portletswap.com</a> is an open community sponsored
+<div class="content-box float-left">
+ <div class="box-header">
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-lt.gif"
alt="" class="left"/>
+ <h3>PortletSwap</h3>
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-rt.gif"
alt="" class="right"/>
+ </div>
+ <div class="box-content">
+ <p><a href="http://www.portletswap.com"
target="jboss">Portletswap.com</a> is an open community sponsored
by JBoss to facilitate the exchange of portlets that can be used with JBoss
Portlet Container and JBoss
Portal.</p>
- </td>
- <td valign="top"><h3>Project Information</h3>
+ </div>
+</div>
- <p>Learn more about <a
href="http://labs.jboss.com/portletcontainer" target="jboss">JBoss
Portlet Container</a>
- community project, <a
href="http://labs.jboss.com/jbossportal"
target="jboss">JBoss Portal</a>,
- <a
href="http://jboss.com/products/platforms/portals"
target="jboss">JBoss Portal platform</a></p>
- </td>
- </tr>
-</table>
-
-<p>Thank you for downloading and deploying JBoss Portlet Container. We hope your
enjoy working with it as much as we
+<div class="content-box float-left">
+ <div class="box-header">
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-lt.gif"
alt="" class="left"/>
+ <h3>Project Information</h3>
+ <img
src="${pageContext.request.contextPath}/images/content-box-head-rt.gif"
alt="" class="right"/>
+ </div>
+ <div class="box-content">
+ <p>Learn more about <a
href="http://labs.jboss.com/portletcontainer" target="jboss">JBoss
Portlet Container</a>
+ community project, <a
href="http://labs.jboss.com/jbossportal"
target="jboss">JBoss Portal</a>,
+ <a
href="http://jboss.com/products/platforms/portals"
target="jboss">JBoss Portal platform</a></p>
+ </div>
+</div>
+ <br/>
+<div class="full-width main-content clear">
+ <p>Thank you for downloading and deploying JBoss Portlet Container. We hope your
enjoy working with it as much as we
enjoy developing it!</p>
-<p>Baci e abbracci,<br/>
- The JBoss Portal Team.</p>
+ <p>Baci e abbracci,<br/>
+ The JBoss Portal Team.</p>
+</div>
+</div>
+
<%@ include file="/layouts/footer.jsp" %>
\ No newline at end of file
Added:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-bg.gif
===================================================================
(Binary files differ)
Property changes on:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-lt.gif
===================================================================
(Binary files differ)
Property changes on:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-lt.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-rt.gif
===================================================================
(Binary files differ)
Property changes on:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/content-box-head-rt.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/pc20-picture.gif
===================================================================
(Binary files differ)
Property changes on:
modules/portlet/trunk/test/src/test/resources/simple-portal-war/images/pc20-picture.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream