aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
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
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')
-rw-r--r--Resources/English.lproj/SPQLPluginSQLTemplate.html15
-rw-r--r--Resources/German.lproj/SPQLPluginSQLTemplate.html15
2 files changed, 12 insertions, 18 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>
diff --git a/Resources/German.lproj/SPQLPluginSQLTemplate.html b/Resources/German.lproj/SPQLPluginSQLTemplate.html
index 6c905539..ca256c81 100644
--- a/Resources/German.lproj/SPQLPluginSQLTemplate.html
+++ b/Resources/German.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 Datei</b><br />
Größe: %@
</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>