From 7dad3b2d66bfdc5d653961e8b4f87870106aaeee Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:59:49 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- weblog-adhocquery-html.lsp | 73 ++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 38 deletions(-) (limited to 'weblog-adhocquery-html.lsp') diff --git a/weblog-adhocquery-html.lsp b/weblog-adhocquery-html.lsp index f60397c..7c3d804 100644 --- a/weblog-adhocquery-html.lsp +++ b/weblog-adhocquery-html.lsp @@ -39,57 +39,57 @@ end <% if form.value.result then %> -

<%= html.html_escape(form.value.result.label) %>

+

<%= html.html_escape(form.value.result.label) %>

<% if #form.value.result.value == 0 then %>

No results, try adjusting query

<% else %> - - - +
+ + <% for i,name in ipairs(form.value.names.value) do %> - + <% end %> - - - + + + <% for i,row in ipairs(form.value.result.value) do %> - + <% for j,name in ipairs(form.value.names.value) do %> - + <% end %> - + <% end %> - -
<%= html.html_escape(name) %><%= html.html_escape(name) %>
<%= html.html_escape(row[name]) %><%= html.html_escape(row[name]) %>
+ + <% if viewlibrary.check_permission("downloadadhocquery") then %> -
+ -
-
Download query result
-
-
+

Download query result

+
+ +
+ <% end %> <% end %> <% end %> -

<%= html.html_escape(form.label) %>

+

<%= html.html_escape(form.label) %>

<% htmlviewfunctions.displayformstart(form, page_info) %> -This form accepts a Postgresql SELECT statement and displays the results. Examples: +

This form accepts a Postgresql SELECT statement and displays the results. Examples:

-The available database tables and descriptions are listed below. +The available database tables and descriptions are listed below.

<% htmlviewfunctions.displayformitem(form.value.query, "query") %> <% htmlviewfunctions.displayformend(form) %> -

Available Database Tables

-

pubweblog and pubweblog_history

-
-These tables contain the pre-purge and historical access logs respectively. The definition of the table is as follows: +

Available Database Tables

+

pubweblog and pubweblog_history

+

These tables contain the pre-purge and historical access logs respectively. The definition of the table is as follows:

 (
     sourcename character varying(40),
@@ -109,21 +109,19 @@ These tables contain the pre-purge and historical access logs respectively. The
     selected boolean,
     id int,
 )
-
+ -

dbhistlog

-
-This table contains the database history, including such information as which log files were loaded and how many entries they contained. The definition of the table is as follows: +

dbhistlog

+

This table contains the database history, including such information as which log files were loaded and how many entries they contained. The definition of the table is as follows:

 (
     logdatetime timestamp(3) without time zone NOT NULL,
     msgtext text
 )
-
+ -

source

-
-This table contains the list of log file sources. The definition of the table is as follows: +

source

+

This table contains the list of log file sources. The definition of the table is as follows:

 (
     sourcename character varying(40) NOT NULL,
@@ -134,11 +132,10 @@ This table contains the list of log file sources. The definition of the table is
     tzislocal boolean,
     enabled boolean
 )
-
+ -

usagestat

-
-This table contains a historical record of pages requested and blocked by hour. The definition of the table is as follows: +

usagestat

+

This table contains a historical record of pages requested and blocked by hour. The definition of the table is as follows:

 (
     sourcename character varying(40) NOT NULL,
@@ -146,4 +143,4 @@ This table contains a historical record of pages requested and blocked by hour.
     numrequest integer,
     numblock integer
 )
-
+ -- cgit v1.2.3