diff options
Diffstat (limited to 'tinydns-listfiles-html.lsp')
-rw-r--r-- | tinydns-listfiles-html.lsp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tinydns-listfiles-html.lsp b/tinydns-listfiles-html.lsp index 8cf7656..72e3311 100644 --- a/tinydns-listfiles-html.lsp +++ b/tinydns-listfiles-html.lsp @@ -7,7 +7,7 @@ require("viewfunctions") <h1>Configuration</h1> <h2>Edit/View existing Domains</h2> -<TABLE> +<DL><TABLE> <TR style="background:#eee;font-weight:bold;"> <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Action</TD> <TD style="padding-right:20px;white-space:nowrap;text-align:right;" class="header">Size</TD> @@ -30,6 +30,10 @@ require("viewfunctions") </TR> <% end %> </TABLE> +<% if #form.value == 0 then %> + No domains defined +<% end %> +</DL> <% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].newfile then local newfileform = viewlibrary.dispatch_component("newfile", nil, true) %> |