diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-06-24 15:25:39 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-06-24 15:25:39 +0000 |
commit | e5b81fd75226b70136264addc95e30cecffce444 (patch) | |
tree | cc724394d5202125af7340a256fd5f201af6f6e3 /tinydns-listfiles-html.lsp | |
parent | bc4c53f27f100f3f0280d4d8d5c2d02e4bc3cfd0 (diff) | |
download | acf-tinydns-e5b81fd75226b70136264addc95e30cecffce444.tar.bz2 acf-tinydns-e5b81fd75226b70136264addc95e30cecffce444.tar.xz |
Updated tinydns as follows: Renames status to view and basicstatus to status. Added ability to view individual config file / domain. Added link from view to edit actual line. Modified view.
Updated jQuery to latest 1.2.6
git-svn-id: svn://svn.alpinelinux.org/acf/tinydns/trunk@1253 ab2d0c66-481e-0410-8bed-d214d4d58bed
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 ?> |