diff options
Diffstat (limited to 'openssl-status-html.lsp')
-rw-r--r-- | openssl-status-html.lsp | 24 |
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 %> |