diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:58:40 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:58:40 +0000 |
commit | 1471dfac72a978562aac19fa7a1396a0c04b5222 (patch) | |
tree | b88f6b6580aaa0df2d7a18253c573cd4f0321585 | |
parent | c89ea24879a906602bc2d43c247835f55280cd75 (diff) | |
download | acf-vlc-daemon-1471dfac72a978562aac19fa7a1396a0c04b5222.tar.bz2 acf-vlc-daemon-1471dfac72a978562aac19fa7a1396a0c04b5222.tar.xz |
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
-rw-r--r-- | vlc-logfile-html.lsp | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/vlc-logfile-html.lsp b/vlc-logfile-html.lsp index 8bbb979..78baaa5 100644 --- a/vlc-logfile-html.lsp +++ b/vlc-logfile-html.lsp @@ -2,9 +2,8 @@ <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> -<H1>Logfile</H1> -<H2>File Details</H2> -<DL> +<h1>Logfile</h1> +<h2>File Details</h2> <% htmlviewfunctions.displayitem(form.value.filename) htmlviewfunctions.displayitem(form.value.filesize) @@ -13,11 +12,8 @@ htmlviewfunctions.displayitem(form.value.mtime) -- htmlviewfunctions.displayitem(form.value.grep) --end %> -</DL> -<H2>File Content</H2> - -<DL> +<h2>File Content</h2> <% if form.type == "form" then %> <% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %> <% htmlviewfunctions.displayformstart(form) %> @@ -26,26 +22,25 @@ htmlviewfunctions.displayitem(form.value.mtime) <textarea name="filecontent"> <%= html.html_escape(form.value.filecontent.value) %> </textarea> -<% if form.value.filecontent.errtxt then %><P CLASS='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<BR>") %></P><% end %> -<% if form.value.filecontent.descr then %><P CLASS='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<BR>") %></P><% end %> +<% if form.value.filecontent.errtxt then %><p class='error'><%= string.gsub(html.html_escape(form.value.filecontent.errtxt), "\n", "<br/>") %></p><% end %> +<% if form.value.filecontent.descr then %><p class='descr'><%= string.gsub(html.html_escape(form.value.filecontent.descr), "\n", "<br/>") %></p><% end %> <% if form.type == "form" then %> <% htmlviewfunctions.displayformend(form) %> <% end %> </form> -</DL> <% --[[ -print("<H2>Debug info for page '"..tostring(page_info.action).."'</H2>") +print("<h2>Debug info for page '"..tostring(page_info.action).."'</h2>") --form["value"]["filecontent"]["value"]=nil -print("<H3>form</H3>") +print("<h3>form</h3>") print(htmlviewfunctions.cfe_unpack(form)) -print("<H3>viewlibrary</H3>") +print("<h3>viewlibrary</h3>") print(htmlviewfunctions.cfe_unpack(viewlibrary)) -print("<H3>page_info</H3>") +print("<h3>page_info</h3>") print(htmlviewfunctions.cfe_unpack(page_info)) -print("<H3>session</H3>") +print("<h3>session</h3>") print(htmlviewfunctions.cfe_unpack(session)) --]] %> |