summaryrefslogtreecommitdiffstats
path: root/openvpn-unknownconfig-html.lsp
diff options
context:
space:
mode:
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>