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