summaryrefslogtreecommitdiffstats
path: root/kamailio-listtables-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'kamailio-listtables-html.lsp')
-rw-r--r--kamailio-listtables-html.lsp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kamailio-listtables-html.lsp b/kamailio-listtables-html.lsp
index e6f8733..801a433 100644
--- a/kamailio-listtables-html.lsp
+++ b/kamailio-listtables-html.lsp
@@ -4,8 +4,7 @@
<% htmlviewfunctions.displaycommandresults({"createdatabase"}, session) %>
-<H1><%= html.html_escape(form.label) %></H1>
-<DL>
+<h1><%= html.html_escape(form.label) %></h1>
<% for i,table in ipairs(form.value) do %>
<li>
<% if viewlibrary.check_permission("viewtable") then %>
@@ -14,11 +13,12 @@
<%= html.html_escape(table) %>
<% end %>
<% end %>
+
<% if #form.value == 0 and viewlibrary.check_permission("createdatabase") then %>
-<DT>Create Database</DT><DD>
+<div class='item'><p class='left'>Create Database</p>
+<div class='right'>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/createdatabase") %>">
-<input class="submit" type="submit" name="submit" value="Create"></DD>
+<input class="submit" type="submit" name="submit" value="Create">
</form>
-</DD>
+</div></div><!-- end .item -->
<% end %>
-</DL>