diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-27 13:26:47 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-27 13:26:47 +0000 |
commit | 2183eeefefb81846c2cc2c6b4bf68b12167f2b24 (patch) | |
tree | dedc18dc550106e3d889c26fe263b3319f896c06 /Resources/English.lproj/sequel-pro-print-template.html | |
parent | 572b761e971c732585ef5f0fcf852e1842d44e31 (diff) | |
download | sequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.tar.gz sequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.tar.bz2 sequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.zip |
• marked 'sequel-pro-print-template.html' as localizable
• outsourced default QuickLook types into a localizable plist
- prepared SP preferences and SP code to allow the user to add own QL types
• prepared a localizable 'ContentFilter.plist' [not yet implemented fully]
- this plist will held the default filter operators
- this approach will give the user the chance to add own filters
• removed three tiny memory leaks
Note: In MCPResult.m variable 'MCPYear0000' was stored retained. Why?
I removed it and couldn't encounter any problems.
Diffstat (limited to 'Resources/English.lproj/sequel-pro-print-template.html')
-rw-r--r-- | Resources/English.lproj/sequel-pro-print-template.html | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Resources/English.lproj/sequel-pro-print-template.html b/Resources/English.lproj/sequel-pro-print-template.html new file mode 100644 index 00000000..9dd2f624 --- /dev/null +++ b/Resources/English.lproj/sequel-pro-print-template.html @@ -0,0 +1,76 @@ +<!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"> +<head> +<title>Sequel Pro</title> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<style type="text/css" media="all"> +html { + font-size:82%; +} +.nowrap { + white-space:nowrap; +} +div.nowrap { + margin:0; + padding:0; +} +body, table, th, td { + background-color:#FFFFFF; + color:#000000; +} +table, th, td { + border:0.1em solid #000000; +} + +table { + border-collapse:collapse; + border-spacing:0; + width: 100%; +} + +th, td { + padding:0.2em; +} + +th { + background-color:#E5E5E5; + font-weight:bold; +} + +tr > td { + text-align: left; +} + +tr.even > td { + background-color: #EDF3FE; +} + +tr.odd > td { + background-color: #FFFFFF; +} + +</style> +</head> + +<body> +<p> + <b>Connection:</b> {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}<br> + <b>Generated on:</b> {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}<br> + {% if c.query %}<b>SQL query:</b> {{c.query}}{% /if %} + <br> +</p> +<table id="table_results" class="data"> +<thead><tr> +{% for column in columns %}<th>{{ column }}</th>{% /for %} +</tr></thead> + +<tbody> +{% for row in rows %} +<tr {% cycle 'class="odd" ' 'class="even" ' %}> + {% for cell in row %}<td>{{ cell }}</td>{% /for %} +</tr> +{% /for %} +</tbody> +</table> + +</body></html> |