[seam-commits] Seam SVN: r8438 - in trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum: templates and 3 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jul 8 00:56:00 EDT 2008


Author: christian.bauer at jboss.com
Date: 2008-07-08 00:55:59 -0400 (Tue, 08 Jul 2008)
New Revision: 8438

Added:
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumLegend.xhtml
Modified:
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/i18n/messages_forum_en.properties
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumList.xhtml
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/default/css/forumList.css
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/inrelationto/css/forumList.css
   trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/sfwkorg/css/forumList.css
Log:
Icon legend for forum plugin

Modified: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/i18n/messages_forum_en.properties
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/i18n/messages_forum_en.properties	2008-07-07 12:27:33 UTC (rev 8437)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/i18n/messages_forum_en.properties	2008-07-08 04:55:59 UTC (rev 8438)
@@ -124,3 +124,7 @@
 forum.msg.Reply.Update=Reply '{0}' has been updated.
 forum.msg.Reply.Delete=Reply '{0}' has been deleted.
 
+forum.label.NewPosts=New posts
+forum.label.NoNewPosts=No new posts
+forum.label.StickyThread=Sticky thread
+forum.label.LockedThread=Locked thread

Added: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumLegend.xhtml
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumLegend.xhtml	                        (rev 0)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumLegend.xhtml	2008-07-08 04:55:59 UTC (rev 8438)
@@ -0,0 +1,35 @@
+<s:div id="forumLegendContainer"
+       styleClass="forumLegendContainer"
+       rendered="#{not forumListHome.managed}"
+       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:a="https://ajax4jsf.dev.java.net/ajax"
+       xmlns:wiki="http://jboss.com/products/seam/wiki">
+
+    <h:panelGrid columns="4" columnClasses="forumLegendColumn" styleClass="forumLegendTable"
+                 cellpadding="0" cellspacing="0" border="0">
+
+        <h:panelGroup>
+            <h:graphicImage styleClass="forumLegendIcon" value="#{currentMacro.requestImagePath}/icon.posting_unread.gif" width="22" height="26"/>
+            <h:outputText styleClass="forumLegendText" value="#{messages['forum.label.NewPosts']}"/>
+        </h:panelGroup>
+        <h:panelGroup>
+            <h:graphicImage styleClass="forumLegendIcon" value="#{currentMacro.requestImagePath}/icon.posting.gif" width="22" height="26"/>
+            <h:outputText styleClass="forumLegendText" value="#{messages['forum.label.NoNewPosts']}"/>
+        </h:panelGroup>
+        <h:panelGroup>
+            <h:graphicImage styleClass="forumLegendIcon" value="#{currentMacro.requestImagePath}/icon.posting_sticky.gif" width="22" height="26"/>
+            <h:outputText styleClass="forumLegendText" value="#{messages['forum.label.StickyThread']}"/>
+        </h:panelGroup>
+        <h:panelGroup>
+            <h:graphicImage styleClass="forumLegendIcon" value="#{currentMacro.requestImagePath}/icon.posting_locked.gif" width="22" height="26"/>
+            <h:outputText styleClass="forumLegendText" value="#{messages['forum.label.LockedThread']}"/>
+        </h:panelGroup>
+
+    </h:panelGrid>
+
+
+</s:div>
\ No newline at end of file

Modified: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumList.xhtml
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumList.xhtml	2008-07-07 12:27:33 UTC (rev 8437)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/templates/forumList.xhtml	2008-07-08 04:55:59 UTC (rev 8438)
@@ -16,6 +16,8 @@
 
         <ui:include src="forumListTable.xhtml"/>
 
+        <ui:include src="forumLegend.xhtml"/>
+
     </s:span>
 
 </wiki:plugin>
\ No newline at end of file

Modified: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/default/css/forumList.css
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/default/css/forumList.css	2008-07-07 12:27:33 UTC (rev 8437)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/default/css/forumList.css	2008-07-08 04:55:59 UTC (rev 8438)
@@ -45,3 +45,26 @@
     margin-right: 8px;
     margin-bottom: 2px;
 }
+
+.forumLegendContainer {
+}
+
+.forumLegendTable {
+    margin-left:auto;
+    margin-right:auto;
+}
+
+.forumLegendColumn {
+    padding-right:30px;
+    padding-top:10px;
+    white-space:nowrap;
+}
+
+.forumLegendIcon {
+    margin-right: 5px;
+    vertical-align: middle;
+}
+
+.forumLegendText {
+}
+

Modified: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/inrelationto/css/forumList.css
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/inrelationto/css/forumList.css	2008-07-07 12:27:33 UTC (rev 8437)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/inrelationto/css/forumList.css	2008-07-08 04:55:59 UTC (rev 8438)
@@ -50,6 +50,24 @@
     margin-bottom: 2px;
 }
 
-.userInfoPopupContainer {
-    text-align: left;
+.forumLegendContainer {
 }
+
+.forumLegendTable {
+    margin-left:auto;
+    margin-right:auto;
+}
+
+.forumLegendColumn {
+    padding-right:30px;
+    padding-top:10px;
+    white-space:nowrap;
+}
+
+.forumLegendIcon {
+    margin-right: 5px;
+    vertical-align: middle;
+}
+
+.forumLegendText {
+}

Modified: trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/sfwkorg/css/forumList.css
===================================================================
--- trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/sfwkorg/css/forumList.css	2008-07-07 12:27:33 UTC (rev 8437)
+++ trunk/examples/wiki/src/plugin/org/jboss/seam/wiki/plugin/forum/themes/sfwkorg/css/forumList.css	2008-07-08 04:55:59 UTC (rev 8438)
@@ -46,3 +46,24 @@
     margin-bottom: 3px;
 }
 
+.forumLegendContainer {
+}
+
+.forumLegendTable {
+    margin-left:auto;
+    margin-right:auto;
+}
+
+.forumLegendColumn {
+    padding-right:30px;
+    padding-top:10px;
+    white-space:nowrap;
+}
+
+.forumLegendIcon {
+    margin-right: 5px;
+    vertical-align: middle;
+}
+
+.forumLegendText {
+}




More information about the seam-commits mailing list