From 3459e6bf19a13f35e419b0adabf8c3456a0a5025 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 25 Nov 2008 19:27:55 +0000 Subject: 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. git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@1611 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openvpn-status-html.lsp | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) mode change 100644 => 120000 openvpn-status-html.lsp (limited to 'openvpn-status-html.lsp') diff --git a/openvpn-status-html.lsp b/openvpn-status-html.lsp deleted file mode 100644 index 8cbe657..0000000 --- a/openvpn-status-html.lsp +++ /dev/null @@ -1,37 +0,0 @@ -<% local view = ... %> -

SYSTEM INFO

- -
-
Program version
-
<%= view.version %>
-
- -

PROGRAM SPECIFIC OPTIONS/INFORMATION

- -

Available configs (Click on config-name to see details)

- - - - - - - - - -<% for i = 1, table.maxn(view.conflistfiles) do %> - - - - - - - -<% end %> - -<% if (#view.conflistfiles == 0) then %> - - - -<% end %> -
ConfigTypeStatusConnected
Clients
Notes
<%= html.link{value = view.url .. "/" .. view.conflistfiles[i].type .. "_config?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].name } %><%= view.conflistfiles[i].type %><%= view.conflistfiles[i].status %><% if ( view.conflistfiles[i].type == "server" ) then %><% if ( view.conflistfiles[i].clients > 0 ) then %><%= html.link{value = view.url .. "/status_info?name=" .. view.conflistfiles[i].name , label=view.conflistfiles[i].clients } %><% else %><%= view.conflistfiles[i].clients %><% end %><% end %><%= view.conflistfiles[i].err %>
(No existing config-files)
- diff --git a/openvpn-status-html.lsp b/openvpn-status-html.lsp new file mode 120000 index 0000000..b2f8480 --- /dev/null +++ b/openvpn-status-html.lsp @@ -0,0 +1 @@ +../status-html.lsp \ No newline at end of file -- cgit v1.2.3