summaryrefslogtreecommitdiffstats
path: root/openntpd-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openntpd-details-html.lsp')
-rw-r--r--openntpd-details-html.lsp23
1 files changed, 23 insertions, 0 deletions
diff --git a/openntpd-details-html.lsp b/openntpd-details-html.lsp
new file mode 100644
index 0000000..0aa9292
--- /dev/null
+++ b/openntpd-details-html.lsp
@@ -0,0 +1,23 @@
+<% 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>")
+--]]
+%>
+
+<% if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("status")
+end %>
+
+<H2><%= data.label %></H2>
+<DL>
+<%
+displayitem(data.value.date)
+displayitem(data.value.timechanged)
+%>
+</DL>
+