From: Karl O. Pinc Date: Sun, 18 Aug 2024 19:56:35 +0000 (-0500) Subject: Add horizontal rules between result of each sql command X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=3864029a0e94866ddbfc2932cf6431e4cdc433c0;p=pgwui_sql Add horizontal rules between result of each sql command --- diff --git a/src/pgwui_sql/templates/sql.mak b/src/pgwui_sql/templates/sql.mak index 77cf773..0a38d78 100644 --- a/src/pgwui_sql/templates/sql.mak +++ b/src/pgwui_sql/templates/sql.mak @@ -137,6 +137,7 @@ command_result = [] status_result = [] %> +
% for result_row in result_rows: <% type = result_row.type %> % if type == 'data': @@ -149,6 +150,7 @@ rows="${command_result}" status="${status_result}"> ${self.render_heading(new_result.data)} +
<% command_result = [] status_result = [] @@ -168,6 +170,7 @@ rows="${command_result}" status="${status_result}"> ${self.render_heading(new_result.data)} +
<%def name="result_form(tab_index)">