From e92951358fd80fb42f33fe4ce0e33a39939a9bf3 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Wed, 10 Mar 2010 20:33:51 +0000 Subject: Include the current table name in printing support. Fixes issue #501. --- .../English.lproj/sequel-pro-print-template.html | 130 +++++++++++---------- 1 file changed, 70 insertions(+), 60 deletions(-) (limited to 'Resources') diff --git a/Resources/English.lproj/sequel-pro-print-template.html b/Resources/English.lproj/sequel-pro-print-template.html index 9dd2f624..9fe2fe29 100644 --- a/Resources/English.lproj/sequel-pro-print-template.html +++ b/Resources/English.lproj/sequel-pro-print-template.html @@ -1,76 +1,86 @@ -Sequel Pro - - + tr.odd > td { + background-color: #FFFFFF; + } + -

- Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
- Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
- {% if c.query %}SQL query: {{c.query}}{% /if %} -
-

- - -{% for column in columns %}{% /for %} - +

+ {% if c.table %}Table: {{c.table}}
{% /if %} + Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
+ Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
+ {% if c.query %}SQL query: {{c.query}}{% /if %} +
+

+ +
{{ column }}
+ + + {% for column in columns %}{% /for %} + + - -{% for row in rows %} - - {% for cell in row %}{% /for %} - -{% /for %} - + + {% for row in rows %} + + {% for cell in row %}{% /for %} + + {% /for %} +
{{ column }}
{{ cell }}
{{ cell }}
- + + -- cgit v1.2.3