projects
/
pgwui_sql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1672dd8
)
Show SQL at the top of the results
author
Karl O. Pinc
<kop@karlpinc.com>
Sun, 18 Aug 2024 22:55:53 +0000
(17:55 -0500)
committer
Karl O. Pinc
<kop@karlpinc.com>
Sun, 18 Aug 2024 22:55:53 +0000
(17:55 -0500)
src/pgwui_sql/templates/sql.mak
patch
|
blob
|
history
diff --git
a/src/pgwui_sql/templates/sql.mak
b/src/pgwui_sql/templates/sql.mak
index 0a38d7817368e126db3d44e7e356bc95740de07f..5859f373aaac59855777487761d53e407a5594a6 100644
(file)
--- a/
src/pgwui_sql/templates/sql.mak
+++ b/
src/pgwui_sql/templates/sql.mak
@@
-50,6
+50,13
@@
<p><em class="success">Executed SQL without errors</em>,
from a file<em class="success">!</em>
</p>
+ % if sql:
+ <ol>
+ % for sql_line in sql.rstrip().split('\n'):
+ <li>${sql_line}</li>
+ % endfor
+ </ol>
+ % endif
</%block>
<%block name="page_heading">