diff options
-rw-r--r-- | chrony-details-html.lsp | 12 | ||||
-rw-r--r-- | 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") %> -<H2><%= html.html_escape(data.label) %></H2> -<DL> +<h2><%= html.html_escape(data.label) %></h2> <% htmlviewfunctions.displayitem(data.value.time) %> <% htmlviewfunctions.displayitem(data.value.tracking) %> -</DL> -<H3>Sources</H3> -<DL><pre><%= html.html_escape(data.value.sources.value) %></pre></DL> -<H3>Source Stats</H3> -<DL><pre><%= html.html_escape(data.value.sourcestats.value) %></pre></DL> +<h3>Sources</h3> +<pre><%= html.html_escape(data.value.sources.value) %></pre> +<h3>Source Stats</h3> +<pre><%= html.html_escape(data.value.sourcestats.value) %></pre> 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) %> -<H1>Key File Status</H1> -<DL> +<h1>Key File Status</h1> <% htmlviewfunctions.displayitem(form.value.status) if form.value.status.errtxt then %> -<dt></dt><dd><form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/enablekeyfile") %>"> +<div class='item'><p class='left'></p><div class='right'> +<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/enablekeyfile") %>"> <input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" > -<input class="submit" type="submit" name="submit" value="Enable"></form></dd> +<input class="submit" type="submit" name="submit" value="Enable"></form> +</div></div><!-- end .item --> <% end %> -</DL> <% local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1") |