aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorbamse16 <marius@marius.me.uk>2009-06-04 12:44:22 +0000
committerbamse16 <marius@marius.me.uk>2009-06-04 12:44:22 +0000
commitf3e421d2e4ba9ec54878968c34044dce89dc6f09 (patch)
tree9aef4cc69ef64799984fbc6c27ee2a1bab86078d /Resources
parentc9ca5d2a18f7dcbe1915d8602c399f83259a7850 (diff)
downloadsequelpro-f3e421d2e4ba9ec54878968c34044dce89dc6f09.tar.gz
sequelpro-f3e421d2e4ba9ec54878968c34044dce89dc6f09.tar.bz2
sequelpro-f3e421d2e4ba9ec54878968c34044dce89dc6f09.zip
Added print accesory view with option to Print Backgrounds
Diffstat (limited to 'Resources')
-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>