diff options
Diffstat (limited to 'unbound-logfile-html.lsp')
-rw-r--r-- | unbound-logfile-html.lsp | 8 |
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 %> |