diff options
Diffstat (limited to 'weblog-status-html.lsp')
-rw-r--r-- | weblog-status-html.lsp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/weblog-status-html.lsp b/weblog-status-html.lsp index 6b05dfc..2eb2fb5 100644 --- a/weblog-status-html.lsp +++ b/weblog-status-html.lsp @@ -4,8 +4,7 @@ htmlviewfunctions = require("htmlviewfunctions") <% htmlviewfunctions.displaycommandresults({"createdatabase"}, session, true) %> -<H1>Weblog Database Status</H1> -<DL> +<h1>Weblog Database Status</h1> <% local status if viewlibrary and viewlibrary.dispatch_component then if viewlibrary.check_permission("postgresql/postgresql/status") then @@ -13,7 +12,8 @@ if viewlibrary and viewlibrary.dispatch_component then end end %> -<DT>Database status</DT><DD> +<div class='item'><p class='left'>Database status</p> +<div class='right'><p> <% if status then %> <% if status.value.status.errtxt then print(status.value.status.errtxt) @@ -23,16 +23,16 @@ end %> <% else %> Unknown <% end %> -</DD> +</p></div></div><!-- end .item --> -<DT>Weblog Database</DT><DD> +<div class='item'><p class='left'>Weblog Database</p> +<div class='right'><p> <% if data.value then %> Present <% else %> Missing <% end %> -</DD> -</DL> +</p></div></div><!-- end .item --> <% if not data.value and viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("createdatabase") |