Style horizontal rules between sql results to be very light
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 16 Sep 2024 22:26:30 +0000 (17:26 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 16 Sep 2024 22:26:30 +0000 (17:26 -0500)
src/pgwui_sql/static/pgwui_sql.css
src/pgwui_sql/templates/sql.mak

index 5c475eff01819167fd024b97224ea6fdbfea53e4..a752e5dffd9107732e8ba535c79e0f233871f40e 100644 (file)
@@ -31,3 +31,8 @@ textarea.sqltext { height: 40em;
 
 /* The box holding the textarea of the search_path */
 .search_path_data { width: 20em; }
+
+/* The "breaks" between sql statement results; very light horizontal rules */
+.innerbreak { border-style: dotted;
+              border-bottom: 0px;
+              color: lightgrey; }
index 7fccb25d9b740094aad84c953678c58b1096849e..81c5543372cfb425aeb62861c0c613f6f999e1b2 100644 (file)
   command_result = []
   status_result = []
   %>
+  
+  <% stmt_break = '<hr>' %>
   % for result_row in result_rows:
-      <hr>
+      ${stmt_break | n}
+      <% stmt_break = '<hr class="innerbreak">' %>
+
       % if result_row.statusmessage is not None:
           <p class="sql_status">
           ${result_row.statusmessage.data.split(' ')[0]}</p>