comparison xsls/content.xsls @ 778:cd73f6e9aaf3

Donation page refactored: multi-column layout, donated sums ranges.
author Maxim Konovalov <maxim@nginx.com>
date Mon, 10 Dec 2012 10:45:23 +0000
parents 9155b937f8c1
children ac9fa096b685
comparison
equal deleted inserted replaced
777:284dc43b13d3 778:cd73f6e9aaf3
120 <blockquote><table width="100%"> !!; </table></blockquote> 120 <blockquote><table width="100%"> !!; </table></blockquote>
121 } 121 }
122 X:template = "table[not(@note) and @width]" { 122 X:template = "table[not(@note) and @width]" {
123 <table width="{@width}"> !!; </table> 123 <table width="{@width}"> !!; </table>
124 } 124 }
125 X:template = "table" { <table width="100%"> !!; </table> } 125 X:template = "table" {
126 <table width="100%">
127 X:if "@class" {
128 X:attribute "class" { !{@class} }
129 }
130 !!;
131 </table>
132 }
133
126 X:template = "tr" { <tr> !!; </tr> } 134 X:template = "tr" { <tr> !!; </tr> }
127 X:template = "td[@width]" { <td width="{@width}"> !!; </td> } 135 X:template = "td[@width]" { <td width="{@width}"> !!; </td> }
128 X:template = "td" { <td> !!; </td> } 136 X:template = "td" { <td> !!; </td> }
129 137
130 X:template = "c-def" { <code> !!; </code> } 138 X:template = "c-def" { <code> !!; </code> }