[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/reports/samples/foobulations html.xsl mont...
From: |
Derek Neighbors |
Subject: |
gnue/reports/samples/foobulations html.xsl mont... |
Date: |
Tue, 09 Apr 2002 02:22:57 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Derek Neighbors <address@hidden> 02/04/09 02:22:57
Modified files:
reports/samples/foobulations: html.xsl monthly.grd
Log message:
html.xsl
** change to recognize row types (subtotal vs item)
monthly.grd
** alignment changes that didnt get done last time because
of up2date failure
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/samples/foobulations/html.xsl.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/reports/samples/foobulations/monthly.grd.diff?cvsroot=OldCVS&tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: gnue/reports/samples/foobulations/html.xsl
diff -c gnue/reports/samples/foobulations/html.xsl:1.1
gnue/reports/samples/foobulations/html.xsl:1.2
*** gnue/reports/samples/foobulations/html.xsl:1.1 Tue Apr 9 01:20:52 2002
--- gnue/reports/samples/foobulations/html.xsl Tue Apr 9 02:22:57 2002
***************
*** 11,16 ****
--- 11,19 ----
<xsl:value-of select="GNUe-report-output/reportTitle" />
</title>
<style>
+ body {
+ font-face: sans-serif;
+ }
table {
width: 80%;
margin-left: 10%;
***************
*** 27,32 ****
--- 30,37 ----
border-style: solid;
border-width: thin;
border-color: black;
+ background : black;
+ color : white;
}
h1 {
text-align: center;
***************
*** 40,45 ****
--- 45,53 ----
margin-left: 5%;
margin-right: 5%;
}
+ tr.subtotal {
+ font-weight : bold;
+ }
</style>
</head>
***************
*** 62,78 ****
</tr>
</xsl:for-each>
<xsl:for-each select="row">
! <tr>
<xsl:for-each select="col">
<td align="address@hidden"><xsl:value-of select="."/></td>
- </xsl:for-each>
- </tr>
- </xsl:for-each>
-
- <xsl:for-each select="subtotalRow">
- <tr>
- <xsl:for-each select="subtotal">
- <td><xsl:value-of select="."/></td>
</xsl:for-each>
</tr>
</xsl:for-each>
--- 70,85 ----
</tr>
</xsl:for-each>
<xsl:for-each select="row">
! <xsl:variable name="trclass">
! <xsl:choose>
! <xsl:when test="@type = 'subtotal'">subtotal</xsl:when>
! <xsl:otherwise>item</xsl:otherwise>
! </xsl:choose>
! </xsl:variable>
! <tr class="{$trclass}">
!
<xsl:for-each select="col">
<td align="address@hidden"><xsl:value-of select="."/></td>
</xsl:for-each>
</tr>
</xsl:for-each>
Index: gnue/reports/samples/foobulations/monthly.grd
diff -c gnue/reports/samples/foobulations/monthly.grd:1.10
gnue/reports/samples/foobulations/monthly.grd:1.11
*** gnue/reports/samples/foobulations/monthly.grd:1.10 Tue Apr 9 01:00:34 2002
--- gnue/reports/samples/foobulations/monthly.grd Tue Apr 9 02:22:57 2002
***************
*** 37,44 ****
</out:row>
</section>
<out:row type="subtotal" level="2"> <!-- TODO: Replace w/summs
once they work -->
- <out:col>Total for <field name="name"/></out:col>
<out:col/>
<out:col align="right">12<!--summ function="sum"
section="nameBreak" field="foobs"/--></out:col>
</out:row>
<default>
--- 37,44 ----
</out:row>
</section>
<out:row type="subtotal" level="2"> <!-- TODO: Replace w/summs
once they work -->
<out:col/>
+ <out:col align="right">Total for <field name="name"/></out:col>
<out:col align="right">12<!--summ function="sum"
section="nameBreak" field="foobs"/--></out:col>
</out:row>
<default>
***************
*** 50,57 ****
</default>
</section>
<out:row type="subtotal" level="1">
- <out:col>Grand Total</out:col>
<out:col/>
<out:col align="right">36</out:col>
</out:row>
--- 50,57 ----
</default>
</section>
<out:row type="subtotal" level="1">
<out:col/>
+ <out:col align="right">Grand Total</out:col>
<out:col align="right">36</out:col>
</out:row>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/reports/samples/foobulations html.xsl mont...,
Derek Neighbors <=