aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/sequel-pro-print-template.html
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/sequel-pro-print-template.html')
-rw-r--r--Resources/sequel-pro-print-template.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/Resources/sequel-pro-print-template.html b/Resources/sequel-pro-print-template.html
index da5d6228..9dd2f624 100644
--- a/Resources/sequel-pro-print-template.html
+++ b/Resources/sequel-pro-print-template.html
@@ -40,6 +40,15 @@ th {
tr > td {
text-align: left;
}
+
+tr.even > td {
+ background-color: #EDF3FE;
+}
+
+tr.odd > td {
+ background-color: #FFFFFF;
+}
+
</style>
</head>
@@ -57,11 +66,11 @@ tr > td {
<tbody>
{% for row in rows %}
-<tr>
+<tr {% cycle 'class="odd" ' 'class="even" ' %}>
{% for cell in row %}<td>{{ cell }}</td>{% /for %}
</tr>
{% /for %}
</tbody>
</table>
-</body></html> \ No newline at end of file
+</body></html>