diff options
Diffstat (limited to 'openvpn-logfile-html.lsp')
-rw-r--r-- | openvpn-logfile-html.lsp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/openvpn-logfile-html.lsp b/openvpn-logfile-html.lsp index 22ebabe..7271147 100644 --- a/openvpn-logfile-html.lsp +++ b/openvpn-logfile-html.lsp @@ -1,8 +1,7 @@ -<% local view = ... %> -<html> -<body> -<h1>Logfile '<%= view.logfilecontent.name %>'</h1> -<textarea name=""><%= view.logfilecontent.value %></textarea> +<% local data, viewlibrary = ... +require("viewfunctions") +%> -</body> -</html> +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("alpine-baselayout/logfiles/view", {name=data.value}) +end %> |