aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/English.lproj
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-06 14:38:38 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-06 14:38:38 +0000
commit813f950652c81da81cf4908e5652828e1df62cde (patch)
treeda72b455ce00266964494b28d8423edb9f902647 /Resources/English.lproj
parent466a6f7c4f06429acef29efcffef56f05cbaaa26 (diff)
downloadsequelpro-813f950652c81da81cf4908e5652828e1df62cde.tar.gz
sequelpro-813f950652c81da81cf4908e5652828e1df62cde.tar.bz2
sequelpro-813f950652c81da81cf4908e5652828e1df62cde.zip
• added syntax highlighting for SQL file QuickLook generator
- only SQL files with less than 3MB will be syntax highlighted
Diffstat (limited to 'Resources/English.lproj')
-rw-r--r--Resources/English.lproj/SPQLPluginSQLTemplate.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/Resources/English.lproj/SPQLPluginSQLTemplate.html b/Resources/English.lproj/SPQLPluginSQLTemplate.html
index fd016891..3097b10f 100644
--- a/Resources/English.lproj/SPQLPluginSQLTemplate.html
+++ b/Resources/English.lproj/SPQLPluginSQLTemplate.html
@@ -6,13 +6,8 @@
body {
font-family:'Lucida Grande';
font-size:10pt;
- background-color:#222222;
- color:white;
-}
-textarea {
- background-color:#222222;
- color:white;
- white-space: nowrap;
+ background-color:white;
+ color:black;
}
</style>
</head>
@@ -21,17 +16,19 @@ textarea {
<table>
<tr>
<td valign="right">
-<img width="200%" src="data:image/auto;base64,%@">
+<img width="100%" src="data:image/auto;base64,%@">
</td>
<td>
<center>
<b style="font-size:12pt">Sequel Pro SQL File</b><br />
size: %@
</center><br /><br />
-<textarea cols="50" rows="10" readonly>%@</textarea>
</td>
</tr>
</table>
</center>
+<pre style="padding:2mm; background-color:white" width="100%">
+%@
+</pre>
</body>
</html>