summaryrefslogtreecommitdiffstats
path: root/chrony-status-html.lsp
diff options
context:
space:
mode:
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>