diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-11-19 16:26:08 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-11-19 16:26:08 +0000 |
commit | 3424c10a7a9cadc4697951b259d70fc26f56b197 (patch) | |
tree | 414f27c79e0f51dc4bf0e4bffb2ff680c778f1cb /openvpn-startstop-html.lsp | |
parent | 0b4d7742743741065201b8acf084b9248b5f186e (diff) | |
download | acf-openvpn-3424c10a7a9cadc4697951b259d70fc26f56b197.tar.bz2 acf-openvpn-3424c10a7a9cadc4697951b259d70fc26f56b197.tar.xz |
Major changes to only handle one config and add cert processing.
Diffstat (limited to 'openvpn-startstop-html.lsp')
l---------[-rwxr-xr-x] | openvpn-startstop-html.lsp | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/openvpn-startstop-html.lsp b/openvpn-startstop-html.lsp index be08c76..0ea2627 100755..120000 --- a/openvpn-startstop-html.lsp +++ b/openvpn-startstop-html.lsp @@ -1,37 +1 @@ -<% local data, viewlibrary, page_info = ... %> -<% ---[[ -io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") -io.write(html.cfe_unpack(data)) -io.write("</span>") ---]] -%> -<H1>Management</H1> -<% ---[[ -%> -<% if data.value.result then %> -<H2>Previous action result</H2> -<% if data.value.result.value ~= "" then %> -<P CLASS='descr'><%= string.gsub(html.html_escape(data.value.result.value), "\n", "<BR>") %></P> -<% end if data.value.result.errtxt then %> -<P CLASS='error'><%= string.gsub(html.html_escape(data.value.result.errtxt), "\n", "<BR>") %></P> -<% end end %> -<% ---]] -%> -<DL> -<DT>Managing process based on</DT> -<DD><%= data.service %>.conf</DD> -</DL> -<DL> -<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action) %>" method="POST"> -<DT>Program control-panel</DT> -<DD> -<% for i,act in ipairs(data.value.actions.value) do %> - <input class="submit" type="submit" name="action" value="<%= act %>"> -<% end %> -<input class="hidden" type="hidden" name="service" value="<%= data.service %>"> -</DD> -</form> -</DL> +../startstop-html.lsp
\ No newline at end of file |