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-serverconfig-html.lsp | 72 ------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 openvpn-serverconfig-html.lsp (limited to 'openvpn-serverconfig-html.lsp') diff --git a/openvpn-serverconfig-html.lsp b/openvpn-serverconfig-html.lsp deleted file mode 100644 index fad78dc..0000000 --- a/openvpn-serverconfig-html.lsp +++ /dev/null @@ -1,72 +0,0 @@ -<% local view = ... %> - - -

Server config '<%= view.config.name %>'

- -

Server settings

- -
Mode
-
server
- -
User device
-
<%= view.config.dev %>
- -
Listens on
-
<%= view.config["local"] %>:<%= view.config.port %> (<%= view.config.proto %>)
- -
Logfile
-
<% if ( view.config.log ) then %><%= html.link{value = view.url .. "/logfile?name=" .. view.config.linkname , label=view.config.log } %><% else %>Syslog<% end %> (Verbosity level: <%= view.config.verb %>)
- -
View/Modify configfile
-
<%= html.link{value = view.url .. "/unknown_config?name=" .. view.config.linkname , label=view.config.name } %>
- -

Connected clients status

- -
Last status was recorded
-
<%= view.config.client_lastupdate %> (This was <%= view.config.client_lastdatechangediff %> ago)
- -
Maximum clients
-
<%= view.config["max-clients"] %>
- -
Connected clients
-
<% if ( view.config.client_count > 0 ) then %><%= html.link{value = view.url .. "/status_info?name=" .. view.config.linkname , label=view.config.client_count } %><% else %><%= view.config.client_count %><% end %>
- -

Startup options

- -
Process running
-
>
- -

Certificate files

- -<% if (view.config.dh) then %> -
DH
-
<%= view.config.dh %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.dh , label=view.config.dh } %>
-<% end %> - -<% if (view.config.ca) then %> -
CA Certificate
-
<%= view.config.ca %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } %>
-<% end %> - -<% if (view.config.cert) then %> -
Server Certificate
-
<%= view.config.cert %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } %>
-<% end %> - -<% if (view.config.key) then %> -
Server Private Key
-
<%= view.config.key %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } %>
-<% end %> - -<% if (view.config.tls) then %> -
TLS Authentication
-
<%= view.config.tls %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } %>
-<% end %> - -<% if (view.config.crl) then %> -
CRL Verify File
-
<%= view.config.crl %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } %>
-<% end %> - - - -- cgit v1.2.3