diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 17:27:00 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-25 17:27:00 +0000 |
commit | f245e2e14659aa70b4d752df31745b1455cc955a (patch) | |
tree | d70371de44c0a471c2ea18d4e19d276206bc6072 /openntpd-expert-html.lsp | |
parent | 7211c255e90d9262fe2b4b71bc33fe6857603183 (diff) | |
download | acf-openntpd-f245e2e14659aa70b4d752df31745b1455cc955a.tar.bz2 acf-openntpd-f245e2e14659aa70b4d752df31745b1455cc955a.tar.xz |
Modified openntpd to use new libraries and lsp files.
git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@1514 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openntpd-expert-html.lsp')
l---------[-rw-r--r--] | openntpd-expert-html.lsp | 59 |
1 files changed, 1 insertions, 58 deletions
diff --git a/openntpd-expert-html.lsp b/openntpd-expert-html.lsp index 78ec15d..207f324 100644..120000 --- a/openntpd-expert-html.lsp +++ b/openntpd-expert-html.lsp @@ -1,58 +1 @@ -<% local form = ... -require("viewfunctions") -%> -<% ---[[ DEBUG INFORMATION -io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") -io.write(html.cfe_unpack(form)) -io.write("</span>") ---]] -%> - -<H1>SYSTEM INFO</H1> -<DL> -<% -local myform = form.status -local tags = { "status", "version", "autostart", } -displayinfo(myform,tags,"viewonly") -%> -</DL> - -<form name="myform" action="" method="POST"> -<h1>CONFIGURATION</h1> -<H2>Expert config</H2> -<h3>File details</h3> -<DL> -<% -local myform = form.file -local tags = { "filename", "filesize", "mtime", "sumerrors", } -displayinfo(myform,tags,"viewonly") -%> -</DL> - -<H3>FILE CONTENT</H3> -<% -local myform = form.file -io.write(html.form[myform.filecontent.type](myform.filecontent)) -%> - -<H2>SAVE AND APPLY ABOVE SETTINGS</H2> -<DL> -<% -local tags = { "cmdsave", } -displayinfo(myform,tags) -%> -</DL> - -<% --- Management buttons -local myform = form.management -local tags = { "start", "stop", "restart" } -if (myform) then - io.write("<H1>MANAGEMENT</H1>\n<DL>") - displaymanagement(myform,tags) - io.write("</DL>") -end -%> -</form> - +../expert-html.lsp
\ No newline at end of file |