mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-27 09:08:53 +01:00
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:
parent
d7c781eae8
commit
92ab42de32
@ -154,6 +154,11 @@ td {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
td.report {
|
||||
font-size: 10pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hover {
|
||||
background-color: #bcd4ec;
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user