summaryrefslogtreecommitdiffstats
path: root/openssh-status-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openssh-status-html.lsp')
-rw-r--r--openssh-status-html.lsp17
1 files changed, 17 insertions, 0 deletions
diff --git a/openssh-status-html.lsp b/openssh-status-html.lsp
new file mode 100644
index 0000000..a9ab0d3
--- /dev/null
+++ b/openssh-status-html.lsp
@@ -0,0 +1,17 @@
+<% local data = ...
+require("viewfunctions")
+--[[
+io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
+io.write(html.cfe_unpack(data))
+io.write("</span>")
+--]]
+%>
+
+<H1>System Info</H1>
+<DL>
+<%
+displayitem(data.value.status)
+displayitem(data.value.version)
+displayitem(data.value.autostart)
+%>
+</DL>