diff options
Diffstat (limited to 'tinydns-listfiles-html.lsp')
-rw-r--r-- | tinydns-listfiles-html.lsp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/tinydns-listfiles-html.lsp b/tinydns-listfiles-html.lsp index f61ce25..c2407e2 100644 --- a/tinydns-listfiles-html.lsp +++ b/tinydns-listfiles-html.lsp @@ -9,12 +9,8 @@ io.write("</span>") --]] ?> -<? if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("basicstatus") -end ?> - <h1>CONFIGURATION</h1> -<h2>Edit/View existing config files</h2> +<h2>Edit/View existing Domains</h2> <TABLE> <TR style="background:#eee;font-weight:bold;"> <TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">Action</TD> @@ -26,8 +22,9 @@ end ?> <TR> <TD style="padding-right:20px;white-space:nowrap;"> <? io.write(html.link{value = "delete?filename=" .. file.value.filename.value, label="Delete " }) ?> + <? io.write(html.link{value = "view?filename=" .. file.value.filename.value, label="View " }) ?> <? io.write(html.link{value = "edit?filename=" .. file.value.filename.value, label="Edit " }) ?> - <? io.write(html.link{value = "expert?filename=" .. file.value.filename.value, label="View " }) ?> + <? io.write(html.link{value = "expert?filename=" .. file.value.filename.value, label="Expert " }) ?> </TD> <TD style="padding-right:20px;white-space:nowrap;text-align:right;"><?= file.value.filesize.value ?></TD> <TD style="padding-right:20px;white-space:nowrap;"><?= file.value.mtime.value ?></TD> @@ -38,12 +35,8 @@ end ?> <? if viewlibrary and viewlibrary.dispatch_component then local newfileform = viewlibrary.dispatch_component("newfile", nil, true) ?> -<h2>Create new config file</h2> +<h2>Create new Domain</h2> <? newfileform.action = "newfile" displayform(newfileform) end ?> - -<? if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("startstop") -end ?> |