28 lines
884 B
XML
28 lines
884 B
XML
<html>
|
|
<head>
|
|
<title>${title}</title>
|
|
</head>
|
|
<body>
|
|
<h1>${title}</h1>
|
|
<table border="1">
|
|
<thead>
|
|
<tr>
|
|
<th>Date/Time</th>
|
|
<th tal:repeat="header column_headers" tal:content="header">Header</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr tal:repeat="row array_2d">
|
|
<td tal:condition="repeat.row.index == 24" tal:content="'TOTALS'">Totals</td>
|
|
<td tal:condition="repeat.row.index == 25" tal:content="'PERCENT'">Percent</td>
|
|
<td tal:condition="repeat.row.index < 24" tal:content="string:${reporting_date}, ${repeat.row.index}">Hour</td>
|
|
<td tal:repeat="cell row" tal:content="cell">Cell</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!---Add in sub tables here -->
|
|
<br />
|
|
<footer>${version}</footer>
|
|
</body>
|
|
</html>
|