diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:59:49 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-03 21:59:49 +0000 |
commit | 7dad3b2d66bfdc5d653961e8b4f87870106aaeee (patch) | |
tree | 59ffa16df79d577c39d7ecfd0518bc5fa5c566f2 /weblog-listfiles-html.lsp | |
parent | 6d0829a8ac150970a16122a0f4c555960a296c6e (diff) | |
download | acf-weblog-7dad3b2d66bfdc5d653961e8b4f87870106aaeee.tar.bz2 acf-weblog-7dad3b2d66bfdc5d653961e8b4f87870106aaeee.tar.xz |
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'weblog-listfiles-html.lsp')
-rw-r--r-- | weblog-listfiles-html.lsp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/weblog-listfiles-html.lsp b/weblog-listfiles-html.lsp index fcca5b3..673afa8 100644 --- a/weblog-listfiles-html.lsp +++ b/weblog-listfiles-html.lsp @@ -37,17 +37,15 @@ end <% htmlviewfunctions.displaycommandresults({"editfile"}, session) %> -<H1>File List</H1> -<DL> -<TABLE id="files" class="tablesorter"><THEAD> - <TR> - <TH>File</TH> - <TH>Size</TH> - <TH>Last Modified</TH> - </TR> -</THEAD><TBODY> +<h1>File List</h1> +<table id="files" class="tablesorter"><thead> + <tr> + <th>File</th> + <th>Size</th> + <th>Last Modified</th> + </tr> +</thead><tbody> <% for k,v in ipairs( view.value ) do io.write( "<tr><td><a href=\"" .. html.html_escape(page_info.script .. page_info.prefix .. page_info.controller) .. "/editfile?filename=" .. html.html_escape(v.filename) .. "&redir=" .. html.html_escape(page_info.orig_action) .. "\">" .. html.html_escape(v.filename) .. '</a></td><td><span style="display:none">'..convertsize(v.size).."b</span>" .. html.html_escape(v.size) .."</td><td>" .. html.html_escape(v.mtime) .."</td></tr>\n" ) end %> -</TBODY></TABLE> -</DL> +</tbody></table> |