diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-02-04 17:02:41 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-02-04 17:02:41 +0000 |
commit | 50b8c1bd4d52e53ab9ce98c67550b995a5682865 (patch) | |
tree | 56edbca0c20eac5ea6b7ea1c3932c344a502ec1f /kamailio-listtables-html.lsp | |
parent | b535cc71e1b2fa53b0ca3a422522d2a8f45287e0 (diff) | |
download | acf-kamailio-50b8c1bd4d52e53ab9ce98c67550b995a5682865.tar.bz2 acf-kamailio-50b8c1bd4d52e53ab9ce98c67550b995a5682865.tar.xz |
Cleanup HTML including removing DL/DT/DD, use tablesorter where possible, and use lowercase tags
Diffstat (limited to 'kamailio-listtables-html.lsp')
-rw-r--r-- | kamailio-listtables-html.lsp | 12 |
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> |