From bc3634ca98ea0a5e3ebb5c5f41684a485c30b119 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 16 Oct 2010 23:53:07 +0000 Subject: Rename HTML print templates. --- Resources/Templates/SPMySQLHelpTemplate.html | 41 ++++++ Resources/Templates/SPPrintTemplate.html | 124 +++++++++++++++++ Resources/Templates/SPTableInfoPrintTemplate.html | 151 +++++++++++++++++++++ .../Templates/sequel-pro-mysql-help-template.html | 41 ------ Resources/Templates/sequel-pro-print-template.html | 124 ----------------- .../sequel-pro-table-info-print-template.html | 151 --------------------- 6 files changed, 316 insertions(+), 316 deletions(-) create mode 100644 Resources/Templates/SPMySQLHelpTemplate.html create mode 100644 Resources/Templates/SPPrintTemplate.html create mode 100644 Resources/Templates/SPTableInfoPrintTemplate.html delete mode 100644 Resources/Templates/sequel-pro-mysql-help-template.html delete mode 100644 Resources/Templates/sequel-pro-print-template.html delete mode 100644 Resources/Templates/sequel-pro-table-info-print-template.html (limited to 'Resources') diff --git a/Resources/Templates/SPMySQLHelpTemplate.html b/Resources/Templates/SPMySQLHelpTemplate.html new file mode 100644 index 00000000..548c30df --- /dev/null +++ b/Resources/Templates/SPMySQLHelpTemplate.html @@ -0,0 +1,41 @@ + + + + + + + + +%@ + + diff --git a/Resources/Templates/SPPrintTemplate.html b/Resources/Templates/SPPrintTemplate.html new file mode 100644 index 00000000..68f7affb --- /dev/null +++ b/Resources/Templates/SPPrintTemplate.html @@ -0,0 +1,124 @@ + + + + Sequel Pro + + + + + + + +

{{c.table}}

+ +

+ Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
+ Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
+ {% if c.query %}
SQL query: {{c.query}}{% /if %} +
+

+ +

{{heading}}

+ + + + + {% for column in columns %}{% /for %} + + + + + {% for row in rows %} + + {% for cell in row %}{% /for %} + + {% /for %} + +
{{ column }}
{{ cell }}

+ + {% if hasIndexes && indexes %} +

Table Indexes

+ + + + + {% for indexColumn in indexColumns %}{% /for %} + + + + + {% for index in indexes %} + + {% for cell in index %}{% /for %} + + {% /for %} + +
{{ indexColumn }}
{{ cell }}
+ {% /if %} + + diff --git a/Resources/Templates/SPTableInfoPrintTemplate.html b/Resources/Templates/SPTableInfoPrintTemplate.html new file mode 100644 index 00000000..48418af3 --- /dev/null +++ b/Resources/Templates/SPTableInfoPrintTemplate.html @@ -0,0 +1,151 @@ + + + + Sequel Pro + + + + + + + +

{{c.table}}

+ +

+ Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
+ Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
+

+ +

{{heading}}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Type: {{i.type}}
Encoding: {{i.encoding}}
Collation: {{i.collation}}
Create at: {{i.createdAt}}
Updated at: {{i.updatedAt}}
Number of rows: {{i.rowNumber}}
Row format: {{i.rowFormat}}
Avg. row length: {{i.rowAvgLength}}
Auto increment: {{i.rowAutoIncrement}}
Data size: {{i.dataSize}}
Max data size: {{i.maxDataSize}}
Index size: {{i.indexSize}}
Free data size: {{i.sizeFree}}
+ + {% if i.comments.length > 0 %} +

Comments

+ +

{{i.comments}}

+ {% /if %} + + {% if i.createSyntax > 0 %} +

Create Syntax

+ + {{i.createSyntax}} + {% /if %} + + diff --git a/Resources/Templates/sequel-pro-mysql-help-template.html b/Resources/Templates/sequel-pro-mysql-help-template.html deleted file mode 100644 index 214c2623..00000000 --- a/Resources/Templates/sequel-pro-mysql-help-template.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - -%@ - - diff --git a/Resources/Templates/sequel-pro-print-template.html b/Resources/Templates/sequel-pro-print-template.html deleted file mode 100644 index 19687f7f..00000000 --- a/Resources/Templates/sequel-pro-print-template.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - Sequel Pro - - - - - - - -

{{c.table}}

- -

- Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
- Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
- {% if c.query %}
SQL query: {{c.query}}{% /if %} -
-

- -

{{heading}}

- - - - - {% for column in columns %}{% /for %} - - - - - {% for row in rows %} - - {% for cell in row %}{% /for %} - - {% /for %} - -
{{ column }}
{{ cell }}

- - {% if hasIndexes && indexes %} -

Table Indexes

- - - - - {% for indexColumn in indexColumns %}{% /for %} - - - - - {% for index in indexes %} - - {% for cell in index %}{% /for %} - - {% /for %} - -
{{ indexColumn }}
{{ cell }}
- {% /if %} - - diff --git a/Resources/Templates/sequel-pro-table-info-print-template.html b/Resources/Templates/sequel-pro-table-info-print-template.html deleted file mode 100644 index acc13ad3..00000000 --- a/Resources/Templates/sequel-pro-table-info-print-template.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - Sequel Pro - - - - - - - -

{{c.table}}

- -

- Connection: {{c.username}}{% if c.username %}@{% /if %}{{c.hostname}}{% if c.port %}:{% /if %}{{c.port}}/{{c.database}}
- Generated on: {% now | date_format: "dd MMM yyyy 'at' HH:mm:ss" %} by {{c.version}}
-

- -

{{heading}}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Type: {{i.type}}
Encoding: {{i.encoding}}
Collation: {{i.collation}}
Create at: {{i.createdAt}}
Updated at: {{i.updatedAt}}
Number of rows: {{i.rowNumber}}
Row format: {{i.rowFormat}}
Avg. row length: {{i.rowAvgLength}}
Auto increment: {{i.rowAutoIncrement}}
Data size: {{i.dataSize}}
Max data size: {{i.maxDataSize}}
Index size: {{i.indexSize}}
Free data size: {{i.sizeFree}}
- - {% if i.comments.length > 0 %} -

Comments

- -

{{i.comments}}

- {% /if %} - - {% if i.createSyntax > 0 %} -

Create Syntax

- - {{i.createSyntax}} - {% /if %} - - -- cgit v1.2.3