mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-20 09:20:46 +02:00
add 'td.report' to css file and use it in report_output.html so that table entries are centered.
This commit is contained in:
parent
f19115ffd3
commit
b4fe8bd91f
@ -149,6 +149,11 @@ td {
|
|||||||
font-size: 10pt;
|
font-size: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.report {
|
||||||
|
font-size: 10pt;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.hover {
|
.hover {
|
||||||
background-color: #bcd4ec;
|
background-color: #bcd4ec;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
<tr class='row_tablehead'><td colspan='{{ headings|length }}'>{{ title }}</td></tr>
|
<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>
|
<tr class='row_columnheads'>{% for h in headings %}<th>{% if forloop.first %}{{ h|title }}{% else %}{{ h }}{% endif %}</th>{% endfor %}</tr>
|
||||||
{% for d in data %}
|
{% 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>
|
</table>
|
||||||
|
|
||||||
<div class='jqPlot' id='placeholder' style='width: 600px; height: 400px;'></div>
|
<div class='jqPlot' id='placeholder' style='width: 600px; height: 400px;'></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user