summaryrefslogtreecommitdiffstats
path: root/shorewall-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-details-html.lsp')
-rw-r--r--shorewall-details-html.lsp19
1 files changed, 19 insertions, 0 deletions
diff --git a/shorewall-details-html.lsp b/shorewall-details-html.lsp
new file mode 100644
index 0000000..d5a65ec
--- /dev/null
+++ b/shorewall-details-html.lsp
@@ -0,0 +1,19 @@
+<% 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(viewlibrary))
+io.write("----------")
+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>
+<PRE>
+<%= data.value %>
+</PRE>