add 'td.report' to css file and use it in report_output.html so that table entries are centered. By @kotowicz in b4fe8bd91f

This commit is contained in:
Ross Poulton 2012-08-07 23:45:31 +10:00
parent d7c781eae8
commit 92ab42de32
2 changed files with 6 additions and 1 deletions

View File

@ -154,6 +154,11 @@ td {
font-size: 10pt;
}
td.report {
font-size: 10pt;
text-align: center;
}
.hover {
background-color: #bcd4ec;
}

View File

@ -33,7 +33,7 @@
<tr class='row_tablehead'><td colspan='{{ headings|length }}'>{{ title }}</td></tr>
<tr class='row_columnheads'>{% for h in headings %}<th>{% if forloop.first %}{{ h|title }}{% else %}{{ h }}{% endif %}</th>{% endfor %}</tr>
{% for d in data %}
<tr class='row_{% cycle odd,even %}'>{% for f in d %}<td>{{ f }}</td>{% endfor %}</tr>{% endfor %}
<tr class='row_{% cycle odd,even %}'>{% for f in d %}<td class='report'>{{ f }}</td>{% endfor %}</tr>{% endfor %}
</table>
<div class='jqPlot' id='placeholder' style='width: 600px; height: 400px;'></div>