% local data, viewlibrary, page_info, session = ...
require("htmlviewfunctions")
%>
<% htmlviewfunctions.displaycommandresults({"createdatabase"}, session, true) %>
DID Database Status
<% local status
if viewlibrary and viewlibrary.dispatch_component then
if viewlibrary.check_permission("postgresql/postgresql/status") then
status = viewlibrary.dispatch_component("postgresql/postgresql/status", nil, true)
end
end %>
- Database status
-
<% if status then %>
<%= status.value.status.value %>
<% else %>
Unknown
<% end %>
- DID Database
-
<% if data.value then %>
Present
<% else %>
Missing
<% end %>
<% if viewlibrary and viewlibrary.dispatch_component and not data.value then
viewlibrary.dispatch_component("createdatabase")
end %>