summaryrefslogtreecommitdiffstats
path: root/openvpn-unknownconfig-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-unknownconfig-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-unknownconfig-html.lsp')
-rw-r--r--openvpn-unknownconfig-html.lsp29
1 files changed, 0 insertions, 29 deletions
diff --git a/openvpn-unknownconfig-html.lsp b/openvpn-unknownconfig-html.lsp
deleted file mode 100644
index ab37bfc..0000000
--- a/openvpn-unknownconfig-html.lsp
+++ /dev/null
@@ -1,29 +0,0 @@
-<% local view = ... %>
-<html>
-<body>
-<h1>Configuration file '<%= view.configfilecontent.name %>'</h1>
-
-<h2>Details</h2>
-
-<dt>File name</dt>
-<dd><%= view.configfilecontent.filedetails.longname %></dd>
-
-<dt>File size</dt>
-<dd><%= view.configfilecontent.filedetails.size %></dd>
-
-<dt>Last modified</dt>
-<dd><%= view.configfilecontent.filedetails.mtimelong %></dd>
-
-<dt>This config looks like a</dt>
-<dd><a href="<%= view.url %>/<%= view.configfilecontent.type %>_config?name=<%= view.configfilecontent.name %>"><%= view.configfilecontent.type %></a> config</a></dd>
-
-<h2>Content</h2>
-
-<form name="myform" action="" method="POST">
-<input name="name" type="hidden" value="<%= view.configfilecontent.name %>">
-<textarea name="modifications"><%= view.configfilecontent.value %></textarea>
-
-<input type="submit" name="cmd" class="submit" value="update"></form>
-
-</body>
-</html>