sraeburn 2003/09/29 10:03:02
Modified: doc struts.css
doc/stylesheets struts.xsl
Log:
Added ApacheCon 2003 logo to web site.
Improved styling for taglib and task list tables.
Revision Changes Path
1.7 +7 -0 jakarta-struts/doc/struts.css
Index: struts.css
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/struts.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- struts.css 17 Sep 2003 18:54:25 -0000 1.6
+++ struts.css 29 Sep 2003 17:03:02 -0000 1.7
@@ -134,6 +134,13 @@
thead {
border: 2px solid #CCCCCC;
+ background: #DDDDDD;
+ color: #333333;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+tr.evenRow {
+ background: #F6F6F6;
}
.center {
1.16 +27 -3 jakarta-struts/doc/stylesheets/struts.xsl
Index: struts.xsl
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/stylesheets/struts.xsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- struts.xsl 17 Sep 2003 18:54:25 -0000 1.15
+++ struts.xsl 29 Sep 2003 17:03:02 -0000 1.16
@@ -96,6 +96,12 @@
</div>
<div id="menu">
+
+ <!-- to be removed after ApacheCon 2003 ends 20th of November 2003 -->
+ <a href="http://apachecon.com/2003/US/index.html">
+ <img src="http://jakarta.apache.org/images/logos/ac2003-150.gif"
alt="ApacheCon 2003"/>
+ </a>
+
<xsl:apply-templates select="$project"/>
<!--
@@ -241,6 +247,15 @@
</thead>
<xsl:for-each select="tag">
<tr>
+ <xsl:choose>
+ <xsl:when test="position() mod 2 = 1">
+ <xsl:attribute name="class">evenRow</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">oddRow</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+
<td align="center">
<xsl:variable name="name">
<xsl:value-of select="name"/>
@@ -291,11 +306,20 @@
<p><a href="#top">Back to top</a></p>
</xsl:template>
-
+
<!-- Create the table of documentation for a tag -->
- <xsl:template match="attribute">
+ <xsl:template match="attribute">
<tr>
+ <xsl:choose>
+ <xsl:when test="position() mod 2 = 1">
+ <xsl:attribute name="class">evenRow</xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">oddRow</xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+
<td align="center">
<xsl:value-of select="name"/>
</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]