summaryrefslogtreecommitdiffstats
path: root/weblog-viewactivitylog-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'weblog-viewactivitylog-html.lsp')
-rw-r--r--weblog-viewactivitylog-html.lsp26
1 files changed, 12 insertions, 14 deletions
diff --git a/weblog-viewactivitylog-html.lsp b/weblog-viewactivitylog-html.lsp
index f541d91..f7fb0ba 100644
--- a/weblog-viewactivitylog-html.lsp
+++ b/weblog-viewactivitylog-html.lsp
@@ -22,22 +22,21 @@
<% local subdata, pagedata = htmlviewfunctions.paginate(data.value, page_info.clientdata, 100) %>
-<H1><%= html.html_escape(data.label) %></H1>
-<DL>
+<h1><%= html.html_escape(data.label) %></h1>
<% htmlviewfunctions.displaypagination(pagedata, page_info) %>
-<TABLE id="activity" class="tablesorter"><THEAD>
- <TR>
- <TH>Date</TH>
- <TH>Message</TH>
- </TR>
-</THEAD><TBODY>
+<table id="activity" class="tablesorter"><thead>
+ <tr>
+ <th>Date</th>
+ <th>Message</th>
+ </tr>
+</thead><tbody>
<% for i,log in ipairs(subdata) do %>
- <TR>
- <TD><%= html.html_escape(string.gsub(log.logdatetime, "%..*", "")) %></TD>
- <TD><%= html.html_escape(log.msgtext) %></TD>
- </TR>
+ <tr>
+ <td><%= html.html_escape(string.gsub(log.logdatetime, "%..*", "")) %></td>
+ <td><%= html.html_escape(log.msgtext) %></td>
+ </tr>
<% end %>
-</TBODY></TABLE>
+</tbody></table>
<% if data.errtxt then %>
<p class='error'><%= html.html_escape(data.errtxt) %></p>
@@ -45,4 +44,3 @@
<% if #data.value == 0 then %>
<p>No history found</p>
<% end %>
-</DL>