Add horizontal rules between result of each sql command
authorKarl O. Pinc <kop@karlpinc.com>
Sun, 18 Aug 2024 19:56:35 +0000 (14:56 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Sun, 18 Aug 2024 19:56:35 +0000 (14:56 -0500)
src/pgwui_sql/templates/sql.mak

index 77cf77375f1100495670a1c4fe68e51032dae1db..0a38d7817368e126db3d44e7e356bc95740de07f 100644 (file)
   command_result = []
   status_result = []
   %>
+  <hr>
   % for result_row in result_rows:
       <% type = result_row.type %>
       % if type == 'data':
                  rows="${command_result}" status="${status_result}">
             ${self.render_heading(new_result.data)}
           </%self:result_table>
+          <hr>
           <%
           command_result = []
           status_result = []
          rows="${command_result}" status="${status_result}">
     ${self.render_heading(new_result.data)}
   </%self:result_table>
+  <hr>
 </%def>
 
 <%def name="result_form(tab_index)">