From db50c4a219e0199bebd8a9fd70a87a4d3c6a123e Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:16:54 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- logfiles-view-html.lsp | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'logfiles-view-html.lsp') diff --git a/logfiles-view-html.lsp b/logfiles-view-html.lsp index e46dc80..66a0248 100644 --- a/logfiles-view-html.lsp +++ b/logfiles-view-html.lsp @@ -3,13 +3,12 @@ <% html = require("acf.html") %> <% if form.type == "form" then %> -

Configuration

-

Expert Configuration

+

Configuration

+

Expert Configuration

<% else %> -

View File

+

View File

<% end %> -

File Details

-
+

File Details

<% htmlviewfunctions.displayitem(form.value.filename) htmlviewfunctions.displayitem(form.value.filesize) @@ -18,10 +17,8 @@ if form.value.grep.value ~= "" then htmlviewfunctions.displayitem(form.value.grep) end %> -
-

File Content

-
+

File Content

<% if form.type == "form" then %> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> <% htmlviewfunctions.displayformstart(form) %> @@ -30,11 +27,9 @@ end -<% if form.value.filecontent.errtxt then %>

<%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>

<% end %> -<% if form.value.filecontent.descr then %>

<%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "
") %>

<% end %> +<% if form.value.filecontent.errtxt then %>

<%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "
") %>

<% end %> +<% if form.value.filecontent.descr then %>

<%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "
") %>

<% end %> <% if form.type == "form" then %> <% htmlviewfunctions.displayformend(form) %> <% end %> - -
-- cgit v1.2.3