summaryrefslogtreecommitdiffstats
path: root/shorewall-logfile-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-logfile-html.lsp')
-rw-r--r--shorewall-logfile-html.lsp21
1 files changed, 3 insertions, 18 deletions
diff --git a/shorewall-logfile-html.lsp b/shorewall-logfile-html.lsp
index d3343b7..e939464 100644
--- a/shorewall-logfile-html.lsp
+++ b/shorewall-logfile-html.lsp
@@ -1,27 +1,12 @@
-<% local form, viewlibrary = ...
+<% 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(view))
+io.write(html.cfe_unpack(data))
io.write("</span>")
--]]
%>
<% if viewlibrary and viewlibrary.dispatch_component then
- viewlibrary.dispatch_component("statusbasic")
+ viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {name=data.value, grep="Shorewall"})
end %>
-
-<H1>LOGIFLES</H1>
-<H2>DETAILS</H2>
-<% local myform = form.config %>
-<H3>FILE DETAILS</H3>
-<DL>
-<%
-local tags = { "filename", "filesize", "mtime", "sumerrors" }
-displayinfo(myform,tags,"viewonly")
-%>
-</DL>
-
-<H3>FILE CONTENT</H3><%
-io.write(html.form[form.config.checkresult.type](form.config.checkresult))
-%>