diff options
-rw-r--r-- | tinydns-expert-html.lsp | 4 | ||||
-rw-r--r-- | tinydns-status-html.lsp | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tinydns-expert-html.lsp b/tinydns-expert-html.lsp index 310d8ce..45089e7 100644 --- a/tinydns-expert-html.lsp +++ b/tinydns-expert-html.lsp @@ -11,15 +11,18 @@ io.write("</span>") <H1>SYSTEM INFO</H1> +<DL> <? local myform = form.status local tags = { "status", "version", "autostart", } displayinfo(myform,tags,"viewonly") ?> +</DL> <h1>CONFIGURATION</h1> <h2>Expert config</h2> <h3>List of files</h3> +<DL> <TABLE> <? local myform = form.status.configfiles @@ -30,4 +33,5 @@ for k,v in pairs(myform.value) do </TR> <? end ?> </TABLE> +</DL> diff --git a/tinydns-status-html.lsp b/tinydns-status-html.lsp index 17a1b60..d659aa7 100644 --- a/tinydns-status-html.lsp +++ b/tinydns-status-html.lsp @@ -10,16 +10,20 @@ io.write("</span>") ?> <H1>SYSTEM INFO</H1> +<DL> <? local myform = form.status local tags = { "status", "version", "autostart", } displayinfo(myform,tags,"viewonly") ?> +</DL> +<? +local myform = form.config.locations +?> <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> <H3>Locations</H3> <? -local myform = form.config.locations io.write("<DL>") if (myform) and (myform.value) then local val = myform |