summaryrefslogtreecommitdiffstats
path: root/openssl-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-02-03 21:44:14 +0000
committerTed Trask <ttrask01@yahoo.com>2014-02-03 21:44:14 +0000
commit6354a6d5d2a9f645bca8901edb116d6103b81d01 (patch)
tree03f274c9e2f7882970868580d152f14ccf358ae8 /openssl-status-html.lsp
parente08be5e9b9423e2fa10b2234ef2b1a93a6229ea0 (diff)
downloadacf-openssl-6354a6d5d2a9f645bca8901edb116d6103b81d01.tar.bz2
acf-openssl-6354a6d5d2a9f645bca8901edb116d6103b81d01.tar.xz
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'openssl-status-html.lsp')
-rw-r--r--openssl-status-html.lsp24
1 files changed, 11 insertions, 13 deletions
diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp
index 2a3e44f..cb02df8 100644
--- a/openssl-status-html.lsp
+++ b/openssl-status-html.lsp
@@ -5,22 +5,22 @@
<% htmlviewfunctions.displaycommandresults({"checkenvironment", "putcacert", "generatecacert"}, session, true) %>
<% htmlviewfunctions.displaycommandresults({"install"}, session) %>
-<H1>System Info</H1>
-<DL>
+<h1>System Info</h1>
<%
htmlviewfunctions.displayitem(view.value.version)
if view.value.version and view.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then
%>
- <DT>Install package</DT>
- <DD><form action="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install") %>" method="POST">
+ <div class='item'><p class='left'>Install package</p>
+ <div class='right'>
+ <form action="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install") %>" method="post">
<input type='hidden' name='package' value='<%= html.html_escape(view.value.version.name) %>'>
- <input class='submit' type='submit' name='submit' value='Install'></form></DD>
+ <input class='submit' type='submit' name='submit' value='Install'></form>
+ </div></div><!-- end .item -->
<% end %>
<% htmlviewfunctions.displayitem(view.value.conffile) %>
<% htmlviewfunctions.displayitem(view.value.environment) %>
<% htmlviewfunctions.displayitem(view.value.cacert) %>
<% htmlviewfunctions.displayitem(view.value.cakey) %>
-</DL>
<% if not view.value.version.errtxt and not view.value.conffile.errtxt then
if view.value.environment.errtxt then
@@ -28,8 +28,8 @@ if view.value.version and view.value.version.errtxt and viewlibrary.check_permis
viewlibrary.dispatch_component("checkenvironment")
end
elseif not view.value.cacert.errtxt and not view.value.cakey.errtxt then %>
-<H1>CA Certificate contents</H1>
-<DL><pre><%= html.html_escape(view.value.cacertcontents.value) %></pre></DL>
+<h1>CA Certificate contents</h1>
+<pre><%= html.html_escape(view.value.cacertcontents.value) %></pre>
<% elseif viewlibrary and viewlibrary.dispatch_component then
if viewlibrary.check_permission("putcacert") then
viewlibrary.dispatch_component("putcacert")
@@ -40,9 +40,7 @@ if view.value.version and view.value.version.errtxt and viewlibrary.check_permis
end
end %>
<% if viewlibrary.check_permission("downloadcacert") then %>
-<H1>Download CA Cert</H1>
-<DL>
-<%= html.link{value="downloadcacert?viewtype=stream&certtype=pem", label="Download PEM"} %><BR>
-<%= html.link{value="downloadcacert?viewtype=stream&certtype=der", label="Download DER"} %><BR>
-</DL>
+<h1>Download CA Cert</h1>
+<%= html.link{value="downloadcacert?viewtype=stream&certtype=pem", label="Download PEM"} %><br/>
+<%= html.link{value="downloadcacert?viewtype=stream&certtype=der", label="Download DER"} %><br/>
<% end %>