From c6280065388fc882a0dd6526c8a66be19a3bd27a Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 3 Feb 2014 21:22:39 +0000 Subject: Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags --- chrony-details-html.lsp | 12 +++++------- chrony-keyfile-html.lsp | 10 +++++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/chrony-details-html.lsp b/chrony-details-html.lsp index 29d0e05..6db3274 100644 --- a/chrony-details-html.lsp +++ b/chrony-details-html.lsp @@ -5,12 +5,10 @@ html = require("acf.html") <% viewlibrary.dispatch_component("status") %> -

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

-
+

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

<% htmlviewfunctions.displayitem(data.value.time) %> <% htmlviewfunctions.displayitem(data.value.tracking) %> -
-

Sources

-
<%= html.html_escape(data.value.sources.value) %>
-

Source Stats

-
<%= html.html_escape(data.value.sourcestats.value) %>
+

Sources

+
<%= html.html_escape(data.value.sources.value) %>
+

Source Stats

+
<%= html.html_escape(data.value.sourcestats.value) %>
diff --git a/chrony-keyfile-html.lsp b/chrony-keyfile-html.lsp index 0492c95..644483b 100644 --- a/chrony-keyfile-html.lsp +++ b/chrony-keyfile-html.lsp @@ -4,19 +4,19 @@ <% htmlviewfunctions.displaycommandresults({"enablekeyfile"}, session) %> -

Key File Status

-
+

Key File Status

<% htmlviewfunctions.displayitem(form.value.status) if form.value.status.errtxt then %> -
"> +

+"> -
+ + <% end %> -
<% local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1") -- cgit v1.2.3