You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by ba...@apache.org on 2004/12/29 18:45:16 UTC
cvs commit: jakarta-site2/xdocs/stylesheets site.xsl
bayard 2004/12/29 09:45:16
Modified: xdocs index.xml
xdocs/stylesheets site.xsl
Log:
fix to the xsl template so that only the table on the front page gets the blue colouring
Revision Changes Path
1.441 +2 -2 jakarta-site2/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-site2/xdocs/index.xml,v
retrieving revision 1.440
retrieving revision 1.441
diff -u -r1.440 -r1.441
--- index.xml 29 Dec 2004 07:18:52 -0000 1.440
+++ index.xml 29 Dec 2004 17:45:16 -0000 1.441
@@ -97,7 +97,7 @@
<li><a href="#servers">Server Applications</a></li>
</ul>
-<table>
+<table class="detail-table">
<tr>
<th></th>
<th align="center"><font color="#ffffff"><strong><a name="tools">Libraries, Tools, and APIs</a></strong></font></th>
@@ -225,7 +225,7 @@
<li><a href="#xml">Apache XML Project</a></li>
<li><a href="#xmlbeans">Apache XMLBeans Project</a></li>
</ul>
-<table>
+<table class="detail-table">
<tr>
<th></th>
<th align="center"><font color="#ffffff"><strong><a name="ant" href="http://ant.apache.org/">Apache Ant Project</a></strong></font></th>
1.9 +3 -3 jakarta-site2/xdocs/stylesheets/site.xsl
Index: site.xsl
===================================================================
RCS file: /home/cvs/jakarta-site2/xdocs/stylesheets/site.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- site.xsl 28 Dec 2004 22:45:52 -0000 1.8
+++ site.xsl 29 Dec 2004 17:45:16 -0000 1.9
@@ -244,7 +244,7 @@
</xsl:template>
<!-- specially process td tags ala site.vsl -->
- <xsl:template match="td">
+ <xsl:template match="table[@class='detail-table']/tr/td">
<td bgcolor="{$table-td-bg}" valign="top" align="left">
<xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
<xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
@@ -255,7 +255,7 @@
</xsl:template>
<!-- handle th ala site.vsl -->
- <xsl:template match="th">
+ <xsl:template match="table[@class='detail-table']/tr/th">
<td bgcolor="{$table-th-bg}" valign="top">
<xsl:if test="@colspan"><xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute></xsl:if>
<xsl:if test="@rowspan"><xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute></xsl:if>
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: site-cvs-help@jakarta.apache.org