summaryrefslogtreecommitdiffstats
path: root/openvpn-logfile-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-11-25 19:27:55 +0000
committerTed Trask <ttrask01@yahoo.com>2008-11-25 19:27:55 +0000
commit3459e6bf19a13f35e419b0adabf8c3456a0a5025 (patch)
tree9330301f44a88ee2f3cb8b5d0271204294aa99c6 /openvpn-logfile-html.lsp
parent99b9d1c5e938d818ca3e78a1f37d6a80da4b88f1 (diff)
downloadacf-openvpn-3459e6bf19a13f35e419b0adabf8c3456a0a5025.tar.bz2
acf-openvpn-3459e6bf19a13f35e419b0adabf8c3456a0a5025.tar.xz
Rewrite of openvpn to use cfes and new style. Added ability to edit/create/delete configs. Combined three view functions into one. Added a new status and moved old status to listconfigs. Still needs work, including ability to start/stop/restart.v0.3.0
git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@1611 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openvpn-logfile-html.lsp')
-rw-r--r--openvpn-logfile-html.lsp13
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 %>