From ca8952c1a3f5107563020604585ada9f6b088860 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 22 Sep 2008 20:58:06 +0000 Subject: Rewrite of shorewall to use new libraries, ... Moved statusbasic to status, status to details, expert to listfiles. Changed check to not have a page. Used links for status, edit, startstop. Didn't change config, so it still doesn't work. git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1480 ab2d0c66-481e-0410-8bed-d214d4d58bed --- shorewall-logfile-html.lsp | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'shorewall-logfile-html.lsp') 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("

DEBUGGING

DEBUG INFO: CFE

") -io.write(html.cfe_unpack(view)) +io.write(html.cfe_unpack(data)) io.write("
") --]] %> <% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("statusbasic") + viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {name=data.value, grep="Shorewall"}) end %> - -

LOGIFLES

-

DETAILS

-<% local myform = form.config %> -

FILE DETAILS

-
-<% -local tags = { "filename", "filesize", "mtime", "sumerrors" } -displayinfo(myform,tags,"viewonly") -%> -
- -

FILE CONTENT

<% -io.write(html.form[form.config.checkresult.type](form.config.checkresult)) -%> -- cgit v1.2.3