aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/English.lproj/SPQLPluginExportSettingsTemplate.html
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-11-15 02:48:51 +0100
committerMax <post@wickenrode.com>2015-11-15 02:48:51 +0100
commitc7b56fe8818ea02de033193318c544eea5abf024 (patch)
treea37224888fc53456abf722128c246f78d2724916 /Resources/English.lproj/SPQLPluginExportSettingsTemplate.html
parent0b9fb7e62aeba608081eb3ca1bc52dc7020c8add (diff)
downloadsequelpro-c7b56fe8818ea02de033193318c544eea5abf024.tar.gz
sequelpro-c7b56fe8818ea02de033193318c544eea5abf024.tar.bz2
sequelpro-c7b56fe8818ea02de033193318c544eea5abf024.zip
* Add QuickLook support for "export settings" files
* Add MGTemplateEngine to the QL plugin * Reorder the generator code a bit, so it's not one monolithic function * Add constants for some other sfp format types
Diffstat (limited to 'Resources/English.lproj/SPQLPluginExportSettingsTemplate.html')
-rw-r--r--Resources/English.lproj/SPQLPluginExportSettingsTemplate.html77
1 files changed, 77 insertions, 0 deletions
diff --git a/Resources/English.lproj/SPQLPluginExportSettingsTemplate.html b/Resources/English.lproj/SPQLPluginExportSettingsTemplate.html
new file mode 100644
index 00000000..29a2e9d7
--- /dev/null
+++ b/Resources/English.lproj/SPQLPluginExportSettingsTemplate.html
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <style>
+ body {
+ font-family:'Lucida Grande';
+ font-size:10pt;
+ }
+ .token {
+ background: linear-gradient(to top, rgb(199,216,244) 0%,rgb(217,229,247) 100%);
+ border: 1px solid rgb(168,184,249);
+ padding: 0 5px;
+ margin: 2px;
+ border-radius: 10px;
+ }
+ </style>
+ </head>
+ <body>
+ <center>
+ <table>
+ <tr>
+ <td colspan="2">
+ <center>
+ <b style="font-size:12pt">Sequel Pro Saved Export Settings</b><br />
+ {{ filename }}
+ </center><br /><br />
+ </td>
+ </tr>
+ <tr>
+ <td valign="right">
+ <img width="128" heigth="128" src="cid:icon.tiff">
+ </td>
+ <td>
+ <table>
+ <tr>
+ <td align="right">Path: </td><td>{{ exportPath }}</td>
+ </tr>
+ {% if customFilename %}
+ <tr>
+ <td align="right">Filename: </td>
+ <td><!-- Those comments are only used to eliminate visible whitespace
+ {% /if %}
+ {% for part in customFilename %}
+ {% if part.isToken %}
+ --><span class="token">{{ part.name }}</span><!--
+ {% else %}
+ -->{{ part.name }}<!--
+ {% /if %}
+ {% /for %}
+ {% comment This is most likely a bug in our version of MGTemplateEngine, but putting the for loop inside the if will create broken output %}
+ {% if customFilename %}
+ --></td>
+ </tr>
+ {% /if %}
+ <tr>
+ <td align="right">Format: </td><td><b>{{ exportType }}</b></td>
+ </tr>
+ <tr>
+ <td align="right">Compression: </td><td>{{ compressionFormat }}</td>
+ </tr>
+ <tr>
+ <td align="right">Input data: </td><td>{{ exportSource }}</td>
+ </tr>
+ <tr>
+ <td align="right">Low Memory: </td><td><input type="checkbox" {% if lowMemoryStreaming %}checked{% /if %} disabled></td>
+ </tr>
+ <tr>
+ <td colspan="2" style="color: grey;"><br />(format specific settings not shown)</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </center>
+ </body>
+</html>