summaryrefslogtreecommitdiffstats
path: root/chrony-status-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-15 14:52:31 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-15 14:52:31 +0000
commitf4ff698b7b510fc24ccd4d44ccfe0fcbcce417a5 (patch)
tree307e9ab2a9cb82f5cdad3b47ce7232cd93cf48ad /chrony-status-html.lsp
downloadacf-chrony-f4ff698b7b510fc24ccd4d44ccfe0fcbcce417a5.tar.bz2
acf-chrony-f4ff698b7b510fc24ccd4d44ccfe0fcbcce417a5.tar.xz
Creating acf-chrony. status/expert/logfile functionallity should work.
git-svn-id: svn://svn.alpinelinux.org/acf/chrony/trunk@992 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'chrony-status-html.lsp')
-rw-r--r--chrony-status-html.lsp24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrony-status-html.lsp b/chrony-status-html.lsp
new file mode 100644
index 0000000..2063b8a
--- /dev/null
+++ b/chrony-status-html.lsp
@@ -0,0 +1,24 @@
+<? 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>
+
+<H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2>
+<DL>
+
+</DL>