summaryrefslogtreecommitdiffstats
path: root/unbound-logfile-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-05-26 23:39:07 +0000
committerTed Trask <ttrask01@yahoo.com>2014-05-26 23:39:07 +0000
commit16ae49688035474711f4cc32d890ff4000bdee73 (patch)
treeb49927ab0309e1134f8158575b775772851ad41e /unbound-logfile-html.lsp
downloadacf-unbound-0.0.1.tar.bz2
acf-unbound-0.0.1.tar.xz
Initial commit of Unbound ACFv0.0.1
Basic support for status / startstop / expert / logfile Logfile assumes syslog and does not yet read the config for logfile location
Diffstat (limited to 'unbound-logfile-html.lsp')
-rw-r--r--unbound-logfile-html.lsp8
1 files changed, 8 insertions, 0 deletions
diff --git a/unbound-logfile-html.lsp b/unbound-logfile-html.lsp
new file mode 100644
index 0000000..d718396
--- /dev/null
+++ b/unbound-logfile-html.lsp
@@ -0,0 +1,8 @@
+<% local data, viewlibrary = ...
+%>
+
+<% if viewlibrary and viewlibrary.dispatch_component then
+ for i,logfile in ipairs(data.value) do
+ viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {filename=logfile.path, grep=logfile.grep})
+ end
+end %>