summaryrefslogtreecommitdiffstats
path: root/did-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-12-10 15:34:51 +0000
committerTed Trask <ttrask01@yahoo.com>2009-12-10 15:34:51 +0000
commitb6f00517ad0a3ef7e3bd32e0d3a99cfa558d6dc2 (patch)
tree58e4318c8527b73c882b865393bf269c9f8d3fad /did-status-html.lsp
parent0cbfb7a5849d68a9b16c361f092848982fac04e7 (diff)
downloadacf-did-b6f00517ad0a3ef7e3bd32e0d3a99cfa558d6dc2.tar.bz2
acf-did-b6f00517ad0a3ef7e3bd32e0d3a99cfa558d6dc2.tar.xz
UI fix
Diffstat (limited to 'did-status-html.lsp')
-rw-r--r--did-status-html.lsp22
1 files changed, 15 insertions, 7 deletions
diff --git a/did-status-html.lsp b/did-status-html.lsp
index 33c75b9..cf28312 100644
--- a/did-status-html.lsp
+++ b/did-status-html.lsp
@@ -5,23 +5,31 @@ require("viewfunctions")
<% displaycommandresults({"createdatabase"}, session, true) %>
<H1>DID Database Status</H1>
+<DL>
<% local status
if viewlibrary and viewlibrary.dispatch_component then
if session.permissions.postgresql and session.permissions.postgresql.status then
status = viewlibrary.dispatch_component("postgresql/postgresql/status", nil, true)
end
-end
-if status then %>
-<p>Database is <%= status.value.status.value %>
+end %>
+
+<DT>Database status</DT><DD>
+<% if status then %>
+<%= status.value.status.value %>
<% else %>
-<p>Database status unknown
+Unknown
<% end %>
+</DD>
+<DT>DID Database</DT><DD>
<% if data.value then %>
-<p>DID Database present
+Present
<% else %>
-<p>DID Database missing
+Missing
+<% end %>
+</DD>
+</DL>
+
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("createdatabase")
end %>
-<% end %>