[jboss-cvs] JBossBlog SVN: r191 - in trunk: view and 5 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 6 05:44:03 EST 2008


Author: adamw
Date: 2008-02-06 05:44:02 -0500 (Wed, 06 Feb 2008)
New Revision: 191

Added:
   trunk/view/stylesheet/blog.css
   trunk/view/stylesheet/org_layout.css
   trunk/view/stylesheet/org_main.css
   trunk/view/view/feed_toolbar.xhtml
Removed:
   trunk/view/img/
Modified:
   trunk/src/action/org/jboss/blog/session/update/UpdateManager.java
   trunk/view/common/next_previous_navigation.xhtml
   trunk/view/common/post.xhtml
   trunk/view/home.xhtml
   trunk/view/layout/menu.xhtml
   trunk/view/layout/template.xhtml
   trunk/view/manage/index.xhtml
   trunk/view/view/feed.xhtml
   trunk/view/view/post.xhtml
Log:


Modified: trunk/src/action/org/jboss/blog/session/update/UpdateManager.java
===================================================================
--- trunk/src/action/org/jboss/blog/session/update/UpdateManager.java	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/src/action/org/jboss/blog/session/update/UpdateManager.java	2008-02-06 10:44:02 UTC (rev 191)
@@ -26,11 +26,11 @@
 
     @Observer("org.jboss.blog.postBlogInit")
     public void register() {
-        executor = Executors.newScheduledThreadPool(10);
+        executor = Executors.newScheduledThreadPool(1);
 
         // TODO: add monitor and configurable intervals
 
-        executor.scheduleAtFixedRate(new UpdateRunnable(), 3, 20, TimeUnit.SECONDS);
+        // executor.scheduleAtFixedRate(new UpdateRunnable(), 3, 20, TimeUnit.SECONDS);
     }
 
     // TODO: the cache in this thread is not updated

Modified: trunk/view/common/next_previous_navigation.xhtml
===================================================================
--- trunk/view/common/next_previous_navigation.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/common/next_previous_navigation.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -7,17 +7,19 @@
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:rich="http://richfaces.org/rich"
                 xmlns:a="http://richfaces.org/a4j">
-    <p>
-        <s:link view="#{viewId}" value="&#171; Previous" rendered="#{navigationBean.showPrevious}"
-                propagation="none">
+    <li>
+        <s:link view="#{viewId}" value="&#171; Previous" rendered="#{navigationBean.showPrevious}" propagation="none">
             <f:param name="from" value="#{navigationBean.previousFrom}" />
         </s:link>
-    </p>
+    </li>
 
-    <p>
-        <s:link view="#{viewId}" value="Next &#187;" rendered="#{navigationBean.showNext}"
-                propagation="none">
+    <li>
+        <s:link view="#{viewId}" value="Next &#187;" rendered="#{navigationBean.showNext}" propagation="none">
             <f:param name="from" value="#{navigationBean.nextFrom}" />
         </s:link>
-    </p>
+    </li>
+
+    <s:fragment rendered="#{navigationBean.showNext || navigationBean.showPrevious}">
+        <li>:</li>
+    </s:fragment>
 </ui:composition>
\ No newline at end of file

Modified: trunk/view/common/post.xhtml
===================================================================
--- trunk/view/common/post.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/common/post.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -7,26 +7,29 @@
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:rich="http://richfaces.org/rich"
                 xmlns:a="http://richfaces.org/a4j">
-    <rich:panel>
-        <f:facet name="header">
-            <s:div>
-                <s:link value="#{post.title}" view="/view/post.xhtml" propagation="none">
-                    <f:param name="post" value="#{post.titleAsId}" />
-                </s:link>
-                , published on #{post.published} by #{post.author} #{additionalHeader}
-            </s:div>
-        </f:facet>
+    <h3>
+        <s:div>
+            <s:link value="#{post.title}" view="/view/post.xhtml" propagation="none">
+                <f:param name="post" value="#{post.titleAsId}" />
+            </s:link>
+        </s:div>
+    </h3>
 
-        <ui:repeat var="image" value="#{post.images}">
-            <img src="#{image.url}" alt="#{image.title}" />
-        </ui:repeat>
+    <p class="blogauthortag">
+        Published on #{post.published} by #{post.author} #{additionalHeader}
+        [ <a href="#{post.link}">View original post</a> ]
+    </p>
 
-        <ui:repeat var="enclosure" value="#{post.enclosures}">
+    <ui:repeat var="image" value="#{post.images}">
+        <img src="#{image.url}" alt="#{image.title}" width="180" />
+    </ui:repeat>
+
+    <ui:repeat var="enclosure" value="#{post.enclosures}">
+        <p class="blogauthortag">
             Enclosure: <h:outputLink value="#{enclosure.url}">#{enclosure.url}</h:outputLink>
-        </ui:repeat>
+        </p>
+    </ui:repeat>
 
-        <h:outputText value="#{post.content}" escape="false" rendered="#{!showSummary}" />
-
-        <h:outputText value="#{stringTools.createSummary(post.content)}" rendered="#{showSummary}" />
-    </rich:panel>
+    <h:outputText value="#{post.content}" escape="false" rendered="#{!showSummary}" />
+    <h:outputText value="#{stringTools.createSummary(post.content)}" rendered="#{showSummary}" />
 </ui:composition>
\ No newline at end of file

Modified: trunk/view/home.xhtml
===================================================================
--- trunk/view/home.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/home.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -7,33 +7,37 @@
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:rich="http://richfaces.org/rich"
                 template="layout/template.xhtml">
+    <ui:define name="header">
+        Feeds central
+    </ui:define>
+
     <ui:define name="body">
-        <h1>Feeds central</h1>
+        <div class="QuickstartMargin" id="QuickStart">
+            <ul>
+                <li>
+                    <p>If you are blogging on a JBoss-related subject, hesitate no more and aggregate it in our system!</p>
+                </li>
+                <li><s:link value="Propose a blog" view="/manage/remote/remote_propose.xhtml" propagation="none" /></li>
+            </ul>
+        </div>
 
-        <p>
-            <s:link value="Manage" view="/manage/index.xhtml" propagation="none" />
-        </p>
+        <h3 class="head3">Select a feed to view:</h3>
 
-        <p>
-            <s:link value="Propose a blog" view="/manage/remote/remote_propose.xhtml" propagation="none" />
-        </p>
-
-        <h3>Select a feed to view:</h3>
-
-        <ui:repeat var="group" value="#{feedsService.allGroups}">
-            <s:fragment rendered="#{groupsService.acceptedFeeds(group).size() > 1}">
-                <p>#{group.displayName}</p>
-            </s:fragment>
-
-            <ui:repeat var="feed" value="#{groupsService.acceptedFeeds(group)}">
-                <s:fragment>
-                    <p>
-                        <s:link view="/view/feed.xhtml" value="#{feed.title}" propagation="none">
-                            <f:param name="name" value="#{feed.name}"/>
-                        </s:link>
-                    </p>
+        <table cellspacing="5" class="deftable" width="75%">
+            <ui:repeat var="group" value="#{feedsService.allGroups}">
+                <s:fragment rendered="#{groupsService.acceptedFeeds(group).size() > 1}">
+                    <tr>
+                        <td class="term" width="15%">#{group.displayName}</td>
+                        <td class="def">
+                            <ui:repeat var="feed" value="#{groupsService.acceptedFeeds(group)}">
+                                <s:link view="/view/feed.xhtml" value="#{feed.title}" propagation="none">
+                                    <f:param name="name" value="#{feed.name}"/>
+                                </s:link> <br />
+                            </ui:repeat>
+                        </td>
+                    </tr>
                 </s:fragment>
             </ui:repeat>
-        </ui:repeat>
+        </table>
     </ui:define>
 </ui:composition>

Modified: trunk/view/layout/menu.xhtml
===================================================================
--- trunk/view/layout/menu.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/layout/menu.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -1,25 +1,45 @@
-<rich:toolBar 
-    xmlns="http://www.w3.org/1999/xhtml"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
-    xmlns:h="http://java.sun.com/jsf/html"
-    xmlns:f="http://java.sun.com/jsf/core"
-    xmlns:s="http://jboss.com/products/seam/taglib"
-    xmlns:rich="http://richfaces.org/rich">
-    <rich:toolBarGroup>
-        <h:outputText value="#{projectName}:"/>
-        <s:link view="/home.xhtml" value="Home"/>
-    </rich:toolBarGroup>
-    <rich:toolBarGroup location="right">
-        <h:form>
-            <h:inputText value="#{postSearch.query}" />
-            <h:commandButton value="Search" action="/search/search.xhtml">
-                <s:conversationPropagation value="none" />
-            </h:commandButton>      
+<div id="ORGheader"
+     xmlns="http://www.w3.org/1999/xhtml"
+     xmlns:ui="http://java.sun.com/jsf/facelets"
+     xmlns:h="http://java.sun.com/jsf/html"
+     xmlns:f="http://java.sun.com/jsf/core"
+     xmlns:s="http://jboss.com/products/seam/taglib"
+     xmlns:rich="http://richfaces.org/rich">
+    <div id="ORGLogo">
+        <a href="/">
+            <img src="http://labs.jboss.com/file-access/default/theme/images/common/jbossorg_logo.gif"
+                 alt="JBoss.org home" width="250" height="65" border="0"/>
+        </a>
+    </div>
+
+    <div id='utilitynav'>
+        <h:form styleClass="nomargin" id="TopSearch">
+            <ul>
+                <li><a href="https://www.redhat.com/apps/store/jboss/">Subscribe</a>&#160;&#160;|&#160;&#160;</li>
+                <li><a href="http://www.jboss.com/index.html?op=checkage&amp;module=user">Register</a>&#160;&#160;|&#160;&#160;</li>
+                <li>
+                    Search:
+                    <h:inputText style="border: 1px solid #6e6e6e; font: 10px Verdana, Helvetica, Arial, sans-serif; padding-left: 2px; margin-left: 10px;"
+                                 value="#{postSearch.query}" />
+                    <h:commandButton value="Search" action="/search/search.xhtml"
+                                     image="http://labs.jboss.com/file-access/default/theme/images/common/ico_searcharrow.gif"
+                                     style="width:13px; height:13px">
+                        <s:conversationPropagation value="none" />
+                    </h:commandButton>
+                </li>
+            </ul>
         </h:form>
-    </rich:toolBarGroup>
-    <rich:toolBarGroup location="right">
-        <h:outputText value="Welcome, #{identity.username}!" rendered="#{identity.loggedIn}"/>
-        <s:link view="/login.xhtml" value="Login" rendered="#{not identity.loggedIn}"/>
-        <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" rendered="#{identity.loggedIn}"/>
-    </rich:toolBarGroup>
-</rich:toolBar>
+    </div>
+
+    <!-- Primary Navigation -->
+    <div id="primarynav">
+        <ul>
+            <li>
+                <s:link view="/home.xhtml" value="Home"/>
+            </li>
+            <li>
+                <s:link value="Manage" view="/manage/index.xhtml" propagation="none" />
+            </li>
+        </ul>
+    </div>
+</div>

Modified: trunk/view/layout/template.xhtml
===================================================================
--- trunk/view/layout/template.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/layout/template.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -1,30 +1,51 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:s="http://jboss.com/products/seam/taglib">
-<head>    
+<head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <title>blog</title>
-    <link href="/blog/stylesheet/theme.css" rel="stylesheet" type="text/css" />
+    <link href="/blog/stylesheet/org_main.css" rel="stylesheet" type="text/css" />
+    <link href="/blog/stylesheet/org_layout.css" rel="stylesheet" type="text/css" />
+    <link href="/blog/stylesheet/blog.css" rel="stylesheet" type="text/css" />
 </head>
 
 <body>
-    <ui:include src="menu.xhtml">
-        <ui:param name="projectName" value="blog"/>
-    </ui:include>
+<div id="container">
+    <ui:include src="menu.xhtml" />
 
-	<div class="body">
-        <h:messages globalOnly="true" styleClass="message" />
-        
-        <ui:insert name="body"/>
-	</div>
+    <div id="contentcontainer">
+        <div id="ORGContent">
+            <div id='orgprojectdetailstriple'>
+                <h3 id="majorsectiontitle" style="margin-bottom: 0"><ui:insert name="header"/></h3>
+            </div>
+            <div id="orghomemaximized">
+                <div>
+                    <h:messages globalOnly="true"
+                                style="margin-bottom:12px; padding:15px; background-color:#fef9e6; border: 1px solid #f9ba82;"/>
+                </div>
 
-	<div class="footer">
-		Powered by <a href="http://jboss.com/products/seam">Seam</a>.
-		Generated by seam-gen.
-	</div>
+                <ui:insert name="body"/>
+            </div>
+        </div>
+
+        <div class="footer">
+            <p>
+                <a href="http://www.redhat.com/">Red Hat.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;
+                <a href="http://www.jboss.com/">JBoss.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;
+                <a href="http://www.jboss.com/company/contact">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;
+                <a href="http://www.redhat.com/about/careers">Careers</a>
+            </p>
+            <p>
+                Hosted on <a href="http://labs.jboss.com/jbosslabs">JBoss Labs</a>.
+                Powered by <a href="http://labs.jboss.com/jbossas">JBoss AS</a> and
+                <a href="http://labs.jboss.com/jbossseam">JBoss Seam</a>.
+            </p>
+        </div>
+    </div>
+</div>
 </body>
 </html>

Modified: trunk/view/manage/index.xhtml
===================================================================
--- trunk/view/manage/index.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/manage/index.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -6,46 +6,74 @@
                 xmlns:f="http://java.sun.com/jsf/core"
                 xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:rich="http://richfaces.org/rich"
+                xmlns:a="http://richfaces.org/a4j"
                 template="../layout/template.xhtml">
+    <ui:define name="header">
+        Manage feeds
+    </ui:define>
     <ui:define name="body">
-        <h1>Manage feeds</h1>
+        <div class="projectsmainlayout" style="margin: 0 0 0 0">
+            <div class="projectsmainlinkcol">
+                <dl>
+                    <dt>New feed operations:</dt>
+                    <hr />
+                    <dd><s:link value="Add new feed" view="/manage/add.xhtml" /></dd>
+                    <dd><s:link value="Accept feed propositions" view="/manage/proposition/proposition_list.xhtml" /></dd>
+                    <dt>Other operations:</dt>
+                    <hr />
+                    <dd><s:link value="Manage feed groups" view="/manage/group/group_list.xhtml" /></dd>
+                    <dd><s:link value="Manage feed templates" view="/manage/template/template_list.xhtml" /></dd>
+                    <dt>Global posts operations:</dt>
+                    <hr />
+                    <dd><s:link value="Fix html in all posts" action="#{feedView.fixHtml}" /></dd>
+                    <dd><s:link value="Re-index posts (for search)" action="#{postSearch.reindex}" /></dd>
+                    <dt>Existing feed operations:</dt>
+                    <hr />
+                </dl>
+            </div>
+        </div>
 
-        <s:link value="Manage templates" view="/manage/template/template_list.xhtml" /> <br /> <br />
+        <table border="0" width="100%" cellpadding="0" cellspacing="0" class="basetablestyle" style="margin-top:12px;">
+            <tr class="header">
+                <td class="tableheaderfirst" style="width:160px;">Feed title</td>
+                <td class="tableheader">Feed name</td>
+                <td class="tableheader">Feed type</td>
+                <td class="tableheader">Edit common feed properties</td>
+                <td class="tableheader">Edit feed-type-specific properties</td>
+                <td class="tableheader">Delete the feed</td>
+            </tr>
 
-        <s:link value="Manage groups" view="/manage/group/group_list.xhtml" /> <br /> <br />
+            <ui:repeat var="group" value="#{feedsService.allGroups}">
+                <s:fragment rendered="#{groupsService.acceptedFeeds(group).size() > 1}">
+                    <tr>
+                        <td colspan="7" class="categoryRow">#{group.displayName}</td>
+                    </tr>
 
-        <s:link value="Manage propositions" view="/manage/proposition/proposition_list.xhtml" /> <br /> <br />
-
-        <s:link value="Add new feed" view="/manage/add.xhtml" /> <br /> <br />
-
-        <s:link value="Re-index posts (for search)" action="#{postSearch.reindex}" /> <br /> <br />
-
-        <s:link value="Temporary: fix html in all posts" action="#{feedView.fixHtml}" />
-
-        <h3>Current feeds:</h3>
-
-        <ui:repeat var="group" value="#{feedsService.allGroups}">
-            <s:fragment rendered="#{groupsService.acceptedFeeds(group).size() > 1}">
-                <p>#{group.displayName}</p>
-            </s:fragment>
-
-            <ui:repeat var="feed" value="#{groupsService.acceptedFeeds(group)}">
-                <p>
-                    #{feed.title} (#{feed.name}, #{feedTypes.getFeedType(feed).name()}) <br />
-                    <s:link view="/manage/feed_edit.xhtml" value="Edit common">
-                        <f:param name="name" value="#{feed.name}" />
-                    </s:link>
-                    <br />
-                    <s:link view="#{feedTypes.getFeedType(feed).editPage()}" value="Edit specific">
-                        <f:param name="name" value="#{feed.name}" />
-                    </s:link>
-                    <br />
-                    <s:link view="/manage/feed_delete.xhtml" action="#{feedMod.delete}" value="Delete"
-                            onclick="if (!confirm('Are you sure you want to delete this feed?')) return false">
-                        <f:param name="name" value="#{feed.name}" />
-                    </s:link>
-                </p>
+                    <a:repeat var="feed" value="#{groupsService.acceptedFeeds(group)}" rowKeyVar="rowNumber">
+                        <tr class="#{(rowNumber%2 == 0) ? 'evenRow' : 'oddRow'}">
+                            <td class="rowlinefirst" style="font-weight:bold;">#{feed.title}</td>
+                            <td class="rowline">#{feed.name}</td>
+                            <td class="rowline">#{feedTypes.getFeedType(feed).name()}</td>
+                            <td class="rowline">
+                                <s:link view="/manage/feed_edit.xhtml" value="Edit common">
+                                    <f:param name="name" value="#{feed.name}" />
+                                </s:link>
+                            </td>
+                            <td class="rowline">
+                                <s:link view="#{feedTypes.getFeedType(feed).editPage()}" value="Edit specific">
+                                    <f:param name="name" value="#{feed.name}" />
+                                </s:link>
+                            </td>
+                            <td class="rowline">
+                                <s:link view="/manage/feed_delete.xhtml" action="#{feedMod.delete}" value="Delete"
+                                        onclick="if (!confirm('Are you sure you want to delete this feed?')) return false">
+                                    <f:param name="name" value="#{feed.name}" />
+                                </s:link>
+                            </td>
+                        </tr>
+                    </a:repeat>
+                </s:fragment>
             </ui:repeat>
-        </ui:repeat>
+        </table>
     </ui:define>
 </ui:composition>

Added: trunk/view/stylesheet/blog.css
===================================================================
--- trunk/view/stylesheet/blog.css	                        (rev 0)
+++ trunk/view/stylesheet/blog.css	2008-02-06 10:44:02 UTC (rev 191)
@@ -0,0 +1,94 @@
+.blogContent {
+/* spacing for when the archive is added    margin: 0px 230px 0px 15px;   */
+	margin: 0px 25px 0px 15px;
+	padding: 0px;
+}
+
+.blogContent p {
+	margin: .5em auto;
+	padding: 0px;
+}
+
+#firstblogentry {
+	margin-top: 0px;
+	border-top: 0px;
+}
+
+.blogContent h3 {
+	margin: 1.5em auto 0px auto;
+	padding: 0px;
+	line-height:2em;
+	border-top: 1px solid #8c8f91;
+}
+
+.blogContent .blogauthortag {
+	margin:0px Auto;
+	padding-bottom: .5em;
+	font-size:10px;
+	font-weight:normal;
+}
+
+.blogContent .blogcategorytag {
+	margin:2em Auto 1.5em Auto;
+	padding:0px;
+	font-size:10px;
+	font-weight:normal;
+}
+
+.blogContent .blogcommentsheader {
+	margin: 1.5em auto 0px auto;
+	padding: 0px;
+	line-height:2em;
+	border-top: 1px dotted #a5a5a5;
+	background-color:#FFFFFF;
+	font-size:11px;
+	font-weight:bold;
+}
+.blogContent .blogcommentsbody {
+	margin: 0px auto 1em auto;
+	padding-bottom: 6px;
+	border-bottom: 1px dashed #d5d5d5;
+	background-color:#FFFFFF;
+}
+.blogFeedNav {
+	margin-top: 1em;
+	padding-top: .5em;
+	border-top: 1px solid #8c8f91;
+}
+
+.blogFeedNav ul {
+	padding-left: 0px;
+	margin-left: 0px;
+	display: inline;
+}
+
+.blogFeedNav li {
+	list-style: none;
+	display: inline;
+	padding-right: 6px;
+}
+
+.blogRightsidebox {
+	padding: 20px;
+	float:right;
+	width:200px;
+}
+
+.blogRightsidebox h4 {
+	font-size:11px;
+	font-weight:bold;
+	padding-left:10px;
+	padding-bottom: 5px;
+	border-bottom: 1px solid #8c8f91;
+}
+
+.blogRightsidebox ul {
+	padding-left: 10px;
+	margin-left: 0px;
+}
+
+.blogRightsidebox li {
+	list-style: none;
+	display: block;
+	padding:.25em 0px;
+}

Added: trunk/view/stylesheet/org_layout.css
===================================================================
--- trunk/view/stylesheet/org_layout.css	                        (rev 0)
+++ trunk/view/stylesheet/org_layout.css	2008-02-06 10:44:02 UTC (rev 191)
@@ -0,0 +1,84 @@
+/********** org layout: Knowledge Base, Contribute, My.ORG  **********/
+
+#ContentTable {
+	width: 960px;
+}
+
+.orgportlet-column {
+	vertical-align: top;
+}
+
+#ORGSubContent {
+	padding-left: 6px;
+	padding-right: 6px;
+	padding-bottom: 6px;
+}
+
+#orgtriple {
+	width: 960px;
+	font-size: 0px;
+	padding-left: 6px;
+	padding-right: 6px;
+	padding-top: 6px;
+}
+
+#orgleft {
+
+}
+
+#orgright {
+
+}
+
+#left1_6 {
+	float:left;
+	padding: 0px 25px 15px 10px;
+	width: 175px;
+}
+
+#center5_6 {
+	float: left;
+	width: 755px;
+}
+
+#orgmaximized {
+	width: 960px;
+}
+
+/* Home maximized */
+
+#orghomemaximized {
+	padding: 10px 15px 10px 10px;
+}
+
+/* Project details */
+
+.orgprojectdetail-innerleft {
+	vertical-align: top;
+	/*width: 260px;*/
+	width: 390px;
+}
+
+/*.orgprojectdetail-innerright {
+	vertical-align: top;
+	width: 260px;
+}*/
+
+.orgprojectdetail-right {
+	vertical-align: top;
+	/*width: 260px;*/
+	width: 390px;
+}
+
+#orgprojectdetailsleft{
+}
+
+#orgprojectdetailscenter {
+}
+
+/* Project details maximized */
+
+#orgprojectdetailsmaximized {
+        padding: 10px 15px 10px 10px;
+}
+

Added: trunk/view/stylesheet/org_main.css
===================================================================
--- trunk/view/stylesheet/org_main.css	                        (rev 0)
+++ trunk/view/stylesheet/org_main.css	2008-02-06 10:44:02 UTC (rev 191)
@@ -0,0 +1,1041 @@
+body {
+	margin: 0px;
+	padding: 0px;
+	text-align: center;
+	background-color:#e6e7e8;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/bkgheader_left.gif);
+	background-repeat:repeat-x;
+	font-family: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
+	font-size:11px;
+}
+
+#container {
+	margin: 0px auto;
+	width: 969px;
+	text-align: left;
+}
+
+#ORGheader {
+	margin: 0px auto;
+	width: 974px;
+	height:65px;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/bkgheader_noleft.gif);
+	background-repeat:repeat-x;
+	background-color:#3b4f66;
+}
+
+#contentcontainer {
+	clear:both;
+	margin: 0px auto;
+	background-color:#FFFFFF;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/bkgblur_right.gif);
+	background-repeat:repeat-y;
+	background-position:right;
+	width: 980px;
+	text-align: left;
+}
+
+#ORGLogo {
+	float:left;
+}
+
+/* --------------------- common elements -------------------------------------------- */
+a {
+	color:#4a5d75;
+}
+
+.clear { clear:both;}
+
+.floatright {
+	float:right;
+}
+.floatleft {
+	float:left;
+}
+
+#majorsectiontitle{
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/hdr_border_gradient.gif);
+	background-repeat:repeat-x;
+	background-position:bottom;
+	color: #CC0000;
+	font-size:16px;
+	margin: 0px 7px 20px 0px;
+	padding:20px 0px 10px 15px;
+}
+
+.nomargin {
+	margin: 0px;
+}
+
+.greyHR {
+	border-top:1px solid #a1a1a1; 
+	background-color:#ffffff;
+	border-bottom:0px;
+	border-left:0px;
+	border-right:0px; 
+}
+.dashedHR {
+   border-top: 1px dashed #d5d5d5;
+   border-bottom: 0px;
+   border-left: 0px;
+   border-right: 0px;
+}
+
+/* ---------------- Multicolumn layout and specs  -----------------------------------  */
+
+
+#ORGContent {
+}
+
+
+/* ----------------    Primary Navigation (Tabbed Nav)  ----------------------------  */
+
+#primarynav {
+	clear:right;
+	float:right;
+	margin-top:14px;
+}
+
+#primarynav ul {
+	margin: 0px;
+	padding:0px;
+}
+
+#primarynav ul li {
+	display: inline;
+	list-style: none;
+	text-align:center;
+	float:left;
+	background-image: url(http://labs.jboss.com/file-access/default/theme/images/common/navtabsbkg_norm.gif);
+	background-repeat: repeat-x;
+	background-position: right top;
+
+}
+
+#primarynav ul a {
+	display: inline;
+	float: left;
+	text-decoration: none;
+	font-size:12px;
+	font-weight:bold;
+	color: white;
+	padding: 5px 20px 3px 20px;
+	background-repeat: no-repeat;
+	background-position: top left;
+	border:1px solid #4a5d75;
+
+}
+
+#primarynav ul a:hover {
+	text-decoration: underline;
+	color: white;
+	background-image: url(http://labs.jboss.com/file-access/default/theme/images/common/navtabsbkg_hover.gif);
+	background-repeat: repeat-x;
+	background-position: top left;
+}
+
+#primarynav #current {
+	font-size: 12px;
+	font-weight: bold;
+}
+
+#primarynav #current a, #primarynav a:hover {
+	background-image:none;
+	background-color: white;
+	color: #636464;
+
+}
+
+/* --------  Utility Navigation  --------------------  */
+
+#utilitynav {
+	padding-top:6px;
+	height:20px;
+}
+
+#utilitynav ul {
+	float: right;
+	margin:0px;
+	padding: 0px;
+	font-size: 10px;
+	color: #8c8f91;
+}
+
+#utilitynav li {
+	display: inline;
+	list-style: none;
+}
+
+#utilitynav li a {
+	font-weight:bold;
+	color: #FFFFFF;
+}
+
+#utilitynav input {
+	padding:0px;
+	vertical-align:middle;
+}
+
+/* ----------------------- subheadnavigaton ----------------- */
+/* this navigation is used inside a page where a "tabbed" approach is necessary. */
+.subheadnavigaton {
+	margin: 0px 20px;
+	border-bottom: 1px solid #a1a1a1;
+	text-align:right;
+}
+
+.subheadnavigaton ul {
+	margin-bottom: 4px;
+}
+
+.subheadnavigaton li {
+	display:inline;
+	color: #656565;
+	font-size:11px;
+	font-weight:bold;
+}
+
+.subheadnavigaton a {
+	color:#4a5d75;
+}
+
+
+/* -------------------- Footer  ----------------------------  */
+.footer {
+	clear:both;
+	text-align:center;
+	color:#a1a1a1;
+	font-size:10px;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/bkgblur_bottom.gif);
+	background-repeat:no-repeat;
+	background-position:top center;
+	background-color:#e6e7e8;
+	padding:6px 0px;
+
+}
+.footer a {
+	color:#a1a1a1;
+}
+.footer p {
+	margin:0px;
+	padding:1px;
+}
+
+/* ----------------------- Home Page Specific Styles -------------------------  */
+
+
+#columnleftHOME {
+	float: left;
+	padding-left: 12px;
+	width:646px;
+}
+
+#columnrightHOME {
+	float:left;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/bkg_home_2ndcol.gif);
+	background-repeat:repeat-y;
+	background-position:right;
+}
+
+.knowledgebaseHome {
+	margin:0px;
+	padding:0px;
+	font-size:12px;
+}
+
+.knowledgebaseHome h3 {
+	font-size:16px;
+	font-weight:bold;
+	color:#CC0000;
+	margin:15px 0px 5px 0px;
+	padding:0px;
+}
+.knowledgebaseHome hr {
+	border-top:1px solid #a1a1a1; 
+	background-color:#ffffff;
+	border-bottom:0px;
+	border-left:0px;
+	border-right:0px; 
+}
+
+.homespot { 
+	border: 1px solid #94aebd; 
+	background-color: #e1eef4;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/portlethdr_home.gif);
+	background-repeat:repeat-x;
+	background-position:top;
+	padding:0px 12px 12px 12px;
+	margin:10px;
+	width:265px; 
+}
+
+.homespot h3 { 
+	font-weight:bold;
+	font-size: 14px;
+	color: white;
+	margin: 0px;
+	padding:6px 0px;
+}
+.homespot h4 { 
+	font-weight:bold;
+	font-size: 12px;
+	margin: 0px;
+	padding-top: 6px;
+}
+
+.homespot hr {
+	border-top:1px dashed #94aebd; 
+	color: #e1eef4;
+	border-bottom:0px;
+	border-left:0px;
+	border-right:0px;
+}
+		
+.homespot p { margin: 3px;}
+
+.homeOrgAnnounce { 
+	border: 1px solid #655050; 
+	background-color: #faf8ed;
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/portlethdr_homeAnnounce.gif);
+	background-repeat: repeat-x;
+	background-position:top;
+	padding:0px 12px 12px 12px; 
+	font-size: 12px;
+	margin:10px;
+	width:265px; 
+}
+
+.homeOrgAnnounce h3 { 
+	font-weight:bold;
+	font-size: 14px;
+	color: white;
+	margin: 0px;
+	padding:6px 0px;
+}
+.homeOrgAnnounce h4 { 
+	font-weight:bold;
+	font-size: 12px;
+	margin: 0px;
+	padding-top: 6px;
+}
+
+.homeOrgAnnounce hr {
+	border-top:1px dashed #655050; 
+	color: #faf8ed;
+	border-bottom:0px;
+	border-left:0px;
+	border-right:0px; 
+}
+		
+.homeOrgAnnounce p { 
+	margin: 3px;
+	padding: 6px 0px 3px 0px;
+}
+
+
+.podcast{ 
+	border:1px solid #646666;
+	margin-top: 12px;
+}	
+.podcastfeed { margin: 0px; padding-right: 0px; padding-top:6px;}
+
+.podcastfeed img { 
+	border:1px solid #94aebd;
+	vertical-align:middle;
+}
+
+/* ---------------------  Projects Main Page Specific Styles : 3 Column layout ------------------------ */
+
+.projectsmainlayout {
+	margin:15px;}
+
+.projectsmainlayout h3 {
+	font-size:12px;
+	font-weight: bold;
+	margin:9px auto 9px auto;
+}
+.projectsmainlayout p {
+	margin:0px auto;
+	padding-bottom:1em;
+	}
+
+.projectsmainlayout dl {
+	margin-right:20px;
+}
+
+.projectsmainlayout dt {
+	font-size:12px;
+	font-weight:bold;
+	color:#CC0000;
+	margin:12px 0px 1px 0px;
+	padding:0px; 
+}
+
+.projectsmainlayout dd { 
+	margin:0px 0px 3px 0px;
+}
+.projectsmainlayout dt a { 
+	color:#CC0000;
+	text-decoration:none;
+	background-image:none;
+	padding-left:0px;
+}
+
+.projectsmainlayout dd a {
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/ico_linkarrow_blue.gif);
+	background-repeat: no-repeat; 
+	background-position: 3px 3px;
+	padding-left: 12px; 
+	white-space:nowrap;
+}
+.projectsmainlayout hr { 
+	margin:0px 0px 3px 0px;
+	border-top:1px dashed #d5d5d5;
+	color: #ffffff;
+	border-bottom:0px;
+	border-left:0px;
+	border-right:0px;
+	margin-bottom:6px;
+}
+
+.projectsmainlayout .projectsmaintextcol {
+	padding-right:30px;
+}
+
+
+.projectsmainlinkcol {
+	width:200px;
+}
+
+/* -----------------------  Base Single Column layout ---------------------------------- */
+
+
+.OneColumnContent {
+	margin: 0px 20px 15px 20px;
+}
+.OneColumnContent h1 {
+	font-size:14px;
+	font-weight: bold;
+}
+.OneColumnContent h2 {
+	font-size:13px;
+	font-weight: bold;
+}
+.OneColumnContent h3 {
+	font-size:12px;
+	font-weight: bold;
+}
+
+/* -----------------------  Project Two Column ---------------------------------- */
+
+
+.TwoColumnContent {
+	padding: 0px 25px 15px 200px;
+}
+
+.TwoColumnContent h1 {
+	font-size:14px;
+	font-weight: bold;
+}
+
+.TwoColumnContent h2 {
+	font-size:13px;
+	font-weight: bold;
+}
+.TwoColumnContent h3 {
+	font-size:12px;
+	font-weight: bold;
+}
+
+
+/* ------------------ Sub Navigation style ---------------------------------------- */
+
+.TwoColumnSubnav {
+	float:left;
+	padding: 0px 0px 15px 10px;
+	/*padding: 0px;*/
+	width: 175px;
+	/*margin: 0px 0px 0px 10px;*/
+}
+
+.TwoColumnSubnav dl {
+	background-color:#b9cae1;
+	margin-top: 0px;
+	margin-bottom:10px;
+}
+
+.TwoColumnSubnav dt {
+	background-color:#3b4e64;
+	padding:5px 0px;
+}
+
+.TwoColumnSubnav dt a { 
+	color:#FFFFFF;
+	font-weight:bold;
+	text-decoration:none;
+	background-image:none;
+	margin-left:10px;
+}
+
+.TwoColumnSubnav dd {
+	margin-left:0px;
+	padding:3px 0px 5px 5px;
+}
+
+.TwoColumnSubnav dd a {
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/ico_linkarrow_blue.gif);
+	color: #233446;
+	background-repeat: no-repeat; 
+	background-position: 3px 3px;
+	padding-left: 12px; 
+}
+
+.TwoColumnSubnav ul {
+	width: 155px;
+	list-style: none;
+	padding-left: 0px;
+	margin-left: 0px;
+	display: block;
+} 
+
+.TwoColumnSubnav ul li {
+	list-style: none;
+	display: block;
+	padding: 5px 10px 2px 10px;
+	text-indent: -12px;
+}
+
+
+/* -------------------  Forms ------------------------------- */
+
+.adminforms {
+	margin:0px 20px 10px 20px;
+}
+
+.adminforms h4 {
+	font-weight:bold;
+	font-size:12px;
+	margin:20px auto 20px auto;
+	border-bottom:1px solid #e6e7e8;
+}
+
+.adminforms label{
+ 	float: left;
+	margin: 0px auto 3px auto;
+	padding-right:10px;
+	white-space:nowrap;
+}
+
+.adminforms input, textarea, select {
+	margin-bottom: 8px;
+}
+
+.adminforms .radios {
+	width: 14px;
+	margin-bottom: -1px;
+}
+.adminforms .selectnarrow {
+	width:80px;
+	margin-bottom: 8px;
+}
+.adminforms .selectmedium {
+	width:160px;
+	margin-bottom: 8px;
+}
+
+.adminforms br {
+	clear: both;
+}
+
+.adminforms hr {
+	border-top:1px dashed #d5d5d5; 
+	border-bottom:0px;
+	color: #ffffff;
+	border-left:0px;
+	border-right:0px;
+}
+
+/* -------------------- Buttons ------------------------------ */
+
+.adminforms .submit {
+	font-size: 10px;
+	font-weight: bold;
+	color: #FFFFFF;
+	background-color: #4a5d75;
+	border-top: 1px solid #94aebd;
+	border-left: 1px solid #94aebd;
+	border-right: 1px solid #233345;
+	border-bottom: 1px solid #233345;
+	height:20px;
+}
+
+.formbuttons {
+	margin: 10px auto 15px auto;
+	padding-top: 5px;
+	border-top: 1px solid #4a5d75;
+}
+
+.formbuttons ul {
+	padding-left: 0px;
+	margin-left: 0px;
+	display: inline;
+} 
+
+.formbuttons ul li {
+	list-style: none;
+	display: inline;
+	padding-right: 4px;
+}
+
+.formbuttons .submit {
+	font-size: 10px;
+	font-weight: bold;
+	color: #FFFFFF;
+	background-color: #4a5d75;
+	border-top: 1px solid #94aebd;
+	border-left: 1px solid #94aebd;
+	border-right: 1px solid #233345;
+	border-bottom: 1px solid #233345;
+	height:20px;
+}
+
+.singlecolumn .submit {
+ 	width:80px;
+}
+.singlecolumn label {
+	width: 170px;
+}
+
+.singlecolumn input, textarea, select {
+	width: 300px;
+}
+.adminforms .contentarrows ul {
+	padding-left: 0px;
+	margin-left: 0px;
+	display: block;
+} 
+
+.adminforms .contentarrows ul li {
+	list-style: none;
+	display: block;	
+	padding: 0px 16px 6px 16px;
+	margin-top: 30px;
+
+}
+.adminforms .contentarrows ul li.last {
+	margin-top: 0px;
+}
+
+#propertiesbox {
+	margin-top: 20px;
+	padding: 0px 10px 10px 10px;
+	background-color: #ececec;
+	border: 1px solid #d5d5d5;
+}
+
+/* -------------------- Info table Style --------------------------------------- */
+
+.basetablestyle, .bodyTable {
+	margin:0px;
+}
+
+.basetablestyle img {
+	border:0px;
+}
+
+.basetablestyle td {
+	height:3em;
+	padding-left: 6px;
+	padding-right: 30px;
+}
+
+.basetablestyle .header {
+	background-color: #233345;
+	font-size:10px;
+	font-weight:bold;
+	color:#94aebd;
+	text-align:left;
+}
+
+.basetablestyle .header a {
+	color:#94aebd;
+}
+
+.basetablestyle .tableheaderfirst {
+	border-bottom:1px solid #233345;
+	height:2em;
+}
+
+.basetablestyle .tableheader {
+	border-left:1px solid #94aebd;
+	border-bottom:1px solid #233345;
+	height:2em;
+}
+
+.basetablestyle .subheader {
+	background-color: #e6e7e8;
+	font-size:10px;
+	font-weight:bold;
+	color:#000000;
+	text-align:left;
+}
+
+.basetablestyle .subheader .tableheaderfirst {
+	height:2em;
+	border-bottom: 0px;
+}
+
+.basetablestyle .subheader .tableheader {
+	height:2em;
+	border-left:1px solid #e6e7e8;
+	border-bottom:0px;
+}
+
+
+
+
+.basetablestyle .rowlinefirst {
+	border-bottom:1px solid #e6e7e8;
+}
+
+.basetablestyle .rowline {
+	border-left:1px solid #e6e7e8;
+	border-bottom:1px solid #e6e7e8;
+}
+
+.basetablestyle .categoryRow {
+    background-color: #dcdedf;
+	font-weight:bold;
+	padding-left: 6px;
+}
+
+.basetablestyle .oddRow, .a {
+    background-color: #f4f3f3;
+	padding-left: 6px;
+}
+
+.basetablestyle .evenRow, .b {
+    background-color: #ffffff;
+}
+
+.basetablestyle .footerrow {
+	background-color:#656565;
+}
+
+.basetablestyle .bottomline {
+	border-bottom:1px solid #656565;
+}
+
+.basetablestyle .topline {
+	border-top:1px solid #656565;
+}
+
+/* ------------------------------------ Project Definitions -------------------------------------- */
+
+.deftable { 
+	width: 100%; 
+	text-align: left; 
+	line-height: 150%;
+	margin-bottom:20px;
+}
+
+.deftable .term { 
+	border-top: 1px dotted #cccccc; 
+	vertical-align: top;
+	padding: 10px;
+	background-color: #f8f9fb; 
+	color: #cc0000; 
+	font-weight: bold;
+}
+
+.deftable .termFirst {
+	border-top: 1px dotted black;
+	vertical-align: top;
+	padding: 10px; 
+	background-color: #f8f9fb;
+	color: #cc0000;
+	font-weight: bold;
+}
+
+.deftable .termLast { 
+	border-top: 1px dotted #cccccc; 
+	border-bottom: 1px dotted black; 
+	vertical-align: top; 
+	padding: 10px; 
+	background-color: #f8f9fb; 
+	color: #cc0000; 
+	font-weight: bold;
+}
+.deftable .def { 
+	border-top: 1px dotted #cccccc; 
+	vertical-align: top; 
+	padding: 10px; 
+	color: #000000;
+}
+
+.deftable .defFirst { 
+	border-top: 1px dotted black; 
+	vertical-align: top; 
+	padding: 10px;
+	color: #000000;
+}
+
+.deftable .defLast { 
+	border-top: 1px dotted #cccccc; 
+	border-bottom: 1px dotted black; 
+	vertical-align: top; 
+	padding: 10px; 
+	color: #000000;
+}
+.deftable .def ul { 
+	margin-left: 1em; 
+	padding-left: 0px; 
+	margin-top: 0px; 
+	margin-bottom: 0px;
+}
+.deftable .def ol { 
+	margin-top: 0px; 
+	margin-bottom: 0px;
+}
+
+.standardLinkArrow {
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/ico_linkarrow_blue.gif);
+	background-repeat: no-repeat; 
+	background-position: 3px 3px;
+	padding: 2px 0px 2px 12px; 
+	white-space:nowrap;
+}
+.standardLinkArrowLeft {
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/ico_linkarrow_left_blue.gif);
+	background-repeat: no-repeat; 
+	background-position: 3px 3px;
+	padding: 2px 0px 2px 12px; 
+	white-space:nowrap;
+}
+.standardFeedLink {
+	background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/ico_12x_feed.gif);
+	background-repeat: no-repeat; 
+	background-position: 0px 3px;
+	padding: 2px 0px 2px 15px; 
+	white-space:nowrap;
+}	
+
+/* ------------  style for tabled blocks with backgrounds (main Resources page) -----  */
+
+.shadedblocktable {
+	background-color:#f4f3f3;
+	border-spacing: 20px;
+	border:1px solid #e6e7e8;
+}
+/* QUICKSTART BOX: From the project pages -----------------------------------------*/
+
+.QuickstartMargin { margin: 0px 0px 30px 30px; float: right; }
+#QuickStart { width: 225px; background-color:#e6e7e8; background-image:url(http://labs.jboss.com/file-access/default/theme/images/common/proj_QuickStart_header.gif); background-repeat:no-repeat; background-position: 15px 10px; border:1px solid #656565; }
+#QuickStart ul { padding: 5px 15px; margin-top: 30px; }
+#QuickStart ul li { border-bottom: 1px solid #656565; list-style: none; font: 11px Verdana, Helvetica, Arial, sans-serif; font-weight:bold; }
+#QuickStart ul li a { padding: 4px 0px 4px 8px; display: block; text-decoration: none; color: #656565;}
+#QuickStart ul li a:hover { background-color: #f4f3f3; color: #000000; }
+#QuickStart img { padding-bottom: 10px; }
+
+/* ----- Feed links  ------ */
+.FeedNav {
+	margin-top: 1em;
+	padding-top: .5em;
+	border-top: 1px solid #8c8f91;
+}
+
+.FeedNav ul {
+	padding-left: 0px;
+	margin-left: 0px;
+	display: inline;
+}
+
+.FeedNav li {
+	list-style: none;
+	display: inline;
+	padding-right: 6px;
+}
+/* --------------------  Login -------------------- */
+
+.logincontainer  {
+	border:1px solid #a1a1a1;
+	padding: 20px 20px 10px 20px;
+	margin: 30px auto 200px auto;
+	width:250px;
+}
+
+.logincontainer p {
+	margin: 3px auto;
+} 
+.logincontainer h4 {
+	font-weight:normal;
+	font-size: 12px;
+	color:#343434;
+	margin: 0px auto 8px auto;
+}
+.failedlogin {
+	font-weight:bold;
+	font-size: 12px;
+	color:#cc0000;
+	padding-top: 20px;
+}
+
+.buttonMed {
+	font-size: 10px;
+	font-weight: bold;
+	color: #FFFFFF;
+	background-color: #4a5d75;
+	border-top: 1px solid #94aebd;
+	border-left: 1px solid #94aebd;
+	border-right: 1px solid #233345;
+	border-bottom: 1px solid #233345;
+	height: 20px;
+}
+/* ---------------------  Code quotation styles ----------------------------- */
+
+.codeQuoteInline {
+	font-family: "Courier New", Courier, monospace;
+	font-size: 10px;
+	padding: auto 6px;
+}
+
+.codeQuoteBlock {
+	background-color:#e6e7e8;
+	font-family: "Courier New", Courier, monospace;
+	font-size:10px;
+	padding:20px;
+	margin: 5px;
+	line-height:150%;
+}
+
+/*  ----------------- Podcast transcript styles  ----------------------------- */
+
+.podcast_transcript {
+  width: 100%;
+  border-collapse: collapse;
+}
+
+.podcast_transcript th {
+  vertical-align: top;
+  padding: 1ex;
+  border-bottom: 1px dotted #ccc;
+}
+
+.podcast_transcript td {
+  vertical-align: top;
+  padding: 1ex;
+  border-bottom: 1px dotted #ccc;
+  line-height: 1.6em;
+}
+.podcast_transcript .First {
+  border-top: 1px dotted #ccc;
+}
+
+.podcast_transcript .Last {
+  border-bottom: 1px dotted #ccc;
+}
+
+.podcast_transcript .interviewer {
+  background-color: #f9f9f9;
+}
+
+#podcastTranscriptContainer h2 {
+	padding-bottom: 3px;
+	padding-top:0px;
+	margin:0px;
+}
+
+#podcastTranscriptContainer h3 {
+	font-size:13px;
+	padding-bottom: 3px;
+	padding-top:0px;
+	margin:0px;
+}
+
+#podcastTranscriptContainer h4 {
+	font-size:11px;
+	font-weight:normal;
+	padding-top:0px;
+	padding-bottom:3px;
+	margin:0px;
+}
+
+
+/* -------------------------- Maven Specific Support ----------------------------------- */
+
+.section {
+  padding: 4px;
+}
+
+.section dl {
+  margin: 12px;
+}
+.section dt {
+  margin:0px;
+  font-weight: bold;
+}
+.section dd {
+	margin: 0px;
+	padding-top:2px;
+	padding-bottom: 8px;
+}
+
+.source {
+  padding: 12px;
+  margin: 1em 7px 1em 7px;
+}
+.source pre {
+  margin: 0px;
+  padding: 10px;
+  overflow:auto;
+  border: 1px solid gray;
+ }
+ 
+.bodyTable {
+	margin: 0px;
+	padding: 0px;
+	border-spacing: 0px;
+}
+
+.bodyTable img {
+	border:0px;
+}
+
+.bodyTable td {
+	height:3em;
+	padding-left: 6px;
+	padding-right: 30px;
+}
+
+.bodyTable th {
+	background-color: #233345;
+	font-size:10px;
+	font-weight:bold;
+	color:#94aebd;
+	text-align:left;
+	padding: 3px;
+}
+
+.bodyTable th a {
+	color:#94aebd;
+}
+
+.bodyTable .a {
+    background-color: #ffffff;
+}
+
+.bodyTable .a td {
+    padding-top: 6px;
+	padding-bottom: 6px;
+	border-bottom:1px solid #e6e7e8;
+}
+
+.bodyTable .b {
+    background-color: #f4f3f3;
+}
+
+.bodyTable .b  td {
+    padding-top: 6px;
+	padding-bottom: 6px;
+	border-bottom:1px solid #e6e7e8;
+}

Modified: trunk/view/view/feed.xhtml
===================================================================
--- trunk/view/view/feed.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/view/feed.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -8,29 +8,24 @@
                 xmlns:rich="http://richfaces.org/rich"
                 xmlns:a="http://richfaces.org/a4j"
                 template="../layout/template.xhtml">
+    <ui:define name="header">
+        View feed: #{feedView.feed.title}
+    </ui:define>
+
     <ui:define name="body">
-        <h1>View feed: #{feedView.feed.title}</h1>
+        <div class="blogContent">
+            <ui:include src="feed_toolbar.xhtml" />
 
-        <p>
-            Feeds:
-            <s:link view="/feeds.xhtml" value="Atom" propagation="none">
-                <f:param name="type" value="atom" />
-                <f:param name="name" value="#{feedView.feed.name}" />
-            </s:link>
-        </p>
+            <a:repeat var="post" value="#{feedView.posts}" rows="#{feedView.feed.maxPostsOnPage}">
+                <ui:include src="../common/post.xhtml">
+                    <ui:param name="post" value="#{post}" />
+                    <ui:param name="showSummary" value="false" />
+                </ui:include>
 
-        <ui:include src="../common/next_previous_navigation.xhtml">
-            <ui:param name="viewId" value="/view/feed.xhtml" />
-            <ui:param name="navigationBean" value="#{feedView}" />
-        </ui:include>
+                <br />
+            </a:repeat>
 
-        <a:repeat var="post" value="#{feedView.posts}" rows="#{feedView.feed.maxPostsOnPage}">
-            <ui:include src="../common/post.xhtml">
-                <ui:param name="post" value="#{post}" />
-                <ui:param name="showSummary" value="false" />
-            </ui:include>
-
-            <br />
-        </a:repeat>
+            <ui:include src="feed_toolbar.xhtml" />
+        </div>
     </ui:define>
 </ui:composition>

Added: trunk/view/view/feed_toolbar.xhtml
===================================================================
--- trunk/view/view/feed_toolbar.xhtml	                        (rev 0)
+++ trunk/view/view/feed_toolbar.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -0,0 +1,27 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:s="http://jboss.com/products/seam/taglib"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:f="http://java.sun.com/jsf/core"
+                xmlns:h="http://java.sun.com/jsf/html"
+                xmlns:rich="http://richfaces.org/rich"
+                xmlns:a="http://richfaces.org/a4j">
+    <div class="blogFeedNav">
+        <ul>
+            <ui:include src="../common/next_previous_navigation.xhtml">
+                <ui:param name="viewId" value="/view/feed.xhtml" />
+                <ui:param name="navigationBean" value="#{feedView}" />
+            </ui:include>
+            <li>
+                Subscribe to this feed:
+            </li>
+            <li>
+                <s:link styleClass="standardFeedLink" view="/feeds.xhtml" value="ATOM" propagation="none">
+                    <f:param name="type" value="atom" />
+                    <f:param name="name" value="#{feedView.feed.name}" />
+                </s:link>
+            </li>
+        </ul>
+    </div>
+</ui:composition>
\ No newline at end of file

Modified: trunk/view/view/post.xhtml
===================================================================
--- trunk/view/view/post.xhtml	2008-02-05 17:34:16 UTC (rev 190)
+++ trunk/view/view/post.xhtml	2008-02-06 10:44:02 UTC (rev 191)
@@ -8,24 +8,32 @@
                 xmlns:rich="http://richfaces.org/rich"
                 xmlns:a="http://richfaces.org/a4j"
                 template="../layout/template.xhtml">
+    <ui:define name="header">
+        View post: #{postView.post.title}
+    </ui:define>
+
     <ui:define name="body">
-        <h1>View post: #{postView.post.title}</h1>
+        <div class="blogContent">
+            <div class="blogFeedNav">
+                <ul>
+                    <li>
+                        &#171; Back to:
+                        <s:link view="/view/feed.xhtml" value="#{postView.post.feed.title}"
+                                propagation="none">
+                            <f:param name="name" value="#{postView.post.feed.name}"/>
+                        </s:link>
+                    </li>
+                    <li>
+                        <s:link value="Delete post" action="#{postView.delete}"
+                        onclick="if (!confirm('Are you sure you want to delete this post?')) return false"/>
+                    </li>
+                </ul>
+            </div>
 
-        <p>
-            Back to:
-            <s:link view="/view/feed.xhtml" value="#{postView.post.feed.title}" propagation="none">
-                <f:param name="name" value="#{postView.post.feed.name}"/>
-            </s:link>
-        </p>
-
-        <p>
-            <s:link value="Delete post" action="#{postView.delete}"
-                    onclick="if (!confirm('Are you sure you want to delete this post?')) return false"/>
-        </p>
-
-        <ui:include src="../common/post.xhtml">
-            <ui:param name="post" value="#{post}" />
-            <ui:param name="showSummary" value="false" />
-        </ui:include>
+            <ui:include src="../common/post.xhtml">
+                <ui:param name="post" value="#{post}" />
+                <ui:param name="showSummary" value="false" />
+            </ui:include>
+        </div>
     </ui:define>
 </ui:composition>




More information about the jboss-cvs-commits mailing list