summaryrefslogtreecommitdiffstats
path: root/openvpn-clientconfig-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-clientconfig-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-clientconfig-html.lsp')
-rw-r--r--openvpn-clientconfig-html.lsp70
1 files changed, 0 insertions, 70 deletions
diff --git a/openvpn-clientconfig-html.lsp b/openvpn-clientconfig-html.lsp
deleted file mode 100644
index 1aa2bc3..0000000
--- a/openvpn-clientconfig-html.lsp
+++ /dev/null
@@ -1,70 +0,0 @@
-<% local view = ... %>
-<html>
-<body>
-<h1>Client config '<%= view.config.name %>'</h1>
-
-<h2>Client settings</h2>
-
-<dt>Mode</dt>
-<dd>client</dd>
-
-<dt>User device</dt>
-<dd><%= view.config.dev %></dd>
-
-<dt>Remote server</dt>
-<dd><%= view.config.remote %>:<%= view.config.remoteport %> (<%= view.config.proto %>)</dd>
-
-<dt>Logfile</dt>
-<dd><% 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 %>)</dd>
-
-<dt>View/Modify configfile</dt>
-<dd><%= html.link{value = view.url .. "/unknown_config?name=" .. view.config.linkname , label=view.config.name } %></dd>
-
-<% --[[ %>
-<h3>Client properties</h3>
-
-<dt>Common name</dt>
-<dd>xxx</dd>
-
-<dt>Virtual address</dt>
-<dd>xxx.xxx.xxx.xxx</dd>
-
-<dt>Real address</dt>
-<dd>xxx.xxx.xxx.xxx:xxxx</dd>
-
-<% --]] %>
-
-<h2>Startup options</h2>
-
-<dt>Process running</dt>
-<dd><input type="checkbox" disabled <% if (view.config.status_isrunning ~= "") then io.write("checked='yes'") end %>></dd>
-
-<h2>Certificate files</h2>
-
-<% if (view.config.ca) then %>
-<dt>CA Certificate</dt>
-<dd><%= view.config.ca %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.ca , label=view.config.ca } %></dd>
-<% end %>
-
-<% if (view.config.cert) then %>
-<dt>Client Certificate</dt>
-<dd><%= view.config.cert %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.cert , label=view.config.cert } %></dd>
-<% end %>
-
-<% if (view.config.key) then %>
-<dt>Client Private Key</dt>
-<dd><%= view.config.key %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.key , label=view.config.key } %></dd>
-<% end %>
-
-<% if (view.config.tls) then %>
-<dt>TLS Authentication</dt>
-<dd><%= view.config.tls %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.tls , label=view.config.tls } %></dd>
-<% end %>
-
-<% if (view.config.crl) then %>
-<dt>CRL Verify File</dt>
-<dd><%= view.config.crl %><% -- html.link{value = view.url .. "/pem_info?name=" .. view.config.crl , label=view.config.crl } %> (client side)</dd>
-<% end %>
-
-</body>
-</html>