summaryrefslogtreecommitdiffstats
path: root/weblog-viewauditstats-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-17 00:55:44 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-17 00:55:44 +0000
commitfb7ce759c1045daf20e416547e6111f796030b60 (patch)
treefdc449de923b3e925d3f686e082d6454e519df10 /weblog-viewauditstats-html.lsp
parentd77bf9609380d27301abeba31e467039517cb8d5 (diff)
downloadacf-weblog-fb7ce759c1045daf20e416547e6111f796030b60.tar.bz2
acf-weblog-fb7ce759c1045daf20e416547e6111f796030b60.tar.xz
Started changes to use new htmlviewfunctions functions
Still work to do to remove styling and long messy links
Diffstat (limited to 'weblog-viewauditstats-html.lsp')
-rw-r--r--weblog-viewauditstats-html.lsp13
1 files changed, 5 insertions, 8 deletions
diff --git a/weblog-viewauditstats-html.lsp b/weblog-viewauditstats-html.lsp
index dfee345..6caf9af 100644
--- a/weblog-viewauditstats-html.lsp
+++ b/weblog-viewauditstats-html.lsp
@@ -26,11 +26,12 @@
<% htmlviewfunctions.displaycommandresults({"completeaudit"}, session) %>
-<h1>Audit Parameters</h1>
+<% local header_level = htmlviewfunctions.displaysectionstart(cfe({label="Audit Parameters"}), page_info) %>
<% htmlviewfunctions.displayitem(data.value.auditstart) %>
<% htmlviewfunctions.displayitem(data.value.auditend) %>
+<% htmlviewfunctions.displaysectionend(header_level) %>
-<h1><%= html.html_escape(data.label) %></h1>
+<% htmlviewfunctions.displaysectionstart(data, page_info, header_level) %>
<table id="audit" class="tablesorter"><thead>
<tr>
<th><% if data.value.groupby.value == "clientip" then %>Client IP<% else %>User ID<% end %></th>
@@ -60,9 +61,5 @@
<p>No flagged records, try adjusting the audit dates</p>
<% end %>
-<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/completeaudit") %>">
-<div class='item'><p class='left'>Complete Audit</p>
-<div class='right'>
-<input class="submit" type="submit" name="submit" value="Complete">
-</div></div><!-- end .item -->
-</form>
+<% htmlviewfunctions.displayitem(cfe({type="form", value={}, label="Complete Audit", option="Complete", action="completeaudit"}), page_info, 0) %>
+<% htmlviewfunctions.displaysectionend(header_level) %>