aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/English.lproj/sequel-pro-print-template.html
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-13 13:29:53 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-13 13:29:53 +0000
commit79b24a37b45ad20b8086e481696c758a76092c4e (patch)
treebff4198c520fc90a74b8136b26edc6b6355328ba /Resources/English.lproj/sequel-pro-print-template.html
parent1f296e3f0484211d33ee891f344cc6eb10c2c4ac (diff)
downloadsequelpro-79b24a37b45ad20b8086e481696c758a76092c4e.tar.gz
sequelpro-79b24a37b45ad20b8086e481696c758a76092c4e.tar.bz2
sequelpro-79b24a37b45ad20b8086e481696c758a76092c4e.zip
Lots more printing support enhancements, including:
- The ability to print the extended table information view using a new template. - The inclusion of NULL values diaplyed as the user's NULL value placeholder when printing a table's sturcture and indexes. - If enabled in the user's preferences, the inclusion of vertical gridlines in the table views. - Dynamic calculation of page margins based on the paper size of the selected printer as opposed to using hard coded values. - Lots of other little style enhancements.
Diffstat (limited to 'Resources/English.lproj/sequel-pro-print-template.html')
-rw-r--r--Resources/English.lproj/sequel-pro-print-template.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/Resources/English.lproj/sequel-pro-print-template.html b/Resources/English.lproj/sequel-pro-print-template.html
index 6265a3f8..ba8b31fa 100644
--- a/Resources/English.lproj/sequel-pro-print-template.html
+++ b/Resources/English.lproj/sequel-pro-print-template.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html dir="ltr" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Sequel Pro</title>
@@ -7,7 +7,7 @@
<style type="text/css" media="all">
html {
- font-size: 82%;
+ font-size: 12px;
}
.nowrap {
@@ -25,19 +25,16 @@
}
h1 {
- font-size: 14px;
+ font-size: 16px;
}
h2 {
- font-size: 11px;
- }
-
- table, th, td {
- border: 0.1em solid #000000;
+ font-size: 14px;
}
table {
width: 100%;
+ border: 1px solid #CCCCCC;
border-collapse: collapse;
border-spacing: 0;
}
@@ -50,10 +47,12 @@
text-align: left;
font-weight: bold;
background-color: #E5E5E5;
+ border: 1px solid #CCCCCC;
}
td {
font-family: {{font}};
+ border: {{gridlines}};
}
tr > td {
@@ -69,7 +68,7 @@
}
code {
- font-family: Monaco;
+ font-family: Courier;
}
</style>
</head>
@@ -84,7 +83,7 @@
<br />
</p>
- <h2>{{title}}</h2>
+ <h2>{{heading}}</h2>
<table class="data">
<thead>