summaryrefslogtreecommitdiffstats
path: root/shorewall-logfile-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2007-12-07 11:08:08 +0000
committerMika Havela <mika.havela@gmail.com>2007-12-07 11:08:08 +0000
commit58ddd2daabd9aa1cd43338515a3ab173ee459aca (patch)
tree3e0fb44f5ab7c73c041f2dd4b772b6e8ad9f8297 /shorewall-logfile-html.lsp
parent12eb382b05e5d6854230ba4beddb1f741fe950b2 (diff)
downloadacf-shorewall-58ddd2daabd9aa1cd43338515a3ab173ee459aca.tar.bz2
acf-shorewall-58ddd2daabd9aa1cd43338515a3ab173ee459aca.tar.xz
Added view-logfile.
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@419 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-logfile-html.lsp')
-rw-r--r--shorewall-logfile-html.lsp21
1 files changed, 21 insertions, 0 deletions
diff --git a/shorewall-logfile-html.lsp b/shorewall-logfile-html.lsp
new file mode 100644
index 0000000..748bd09
--- /dev/null
+++ b/shorewall-logfile-html.lsp
@@ -0,0 +1,21 @@
+<? local view = ... ?>
+<html>
+<body>
+<h1>LOGFILE</h1>
+
+<h2>Details</h2>
+
+<dt>Logfile</dt>
+<dd><?= view.logfile.cmd ?></dd>
+
+<h2>Content</h2>
+<textarea name="" style="width:100%;height:450px;"><? io.write(view.logfile.value) ?></textarea>
+</body>
+</html>
+
+<?
+--[[ DEBUG INFORMATION
+require("debugs")
+io.write(debugs.variables(view))
+--]]
+?>