summaryrefslogtreecommitdiffstats
path: root/shorewall-edit-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-09-22 20:58:06 +0000
committerTed Trask <ttrask01@yahoo.com>2008-09-22 20:58:06 +0000
commitca8952c1a3f5107563020604585ada9f6b088860 (patch)
tree637a8fbe876a688ad45b1b619f24947b3824a1cb /shorewall-edit-html.lsp
parent3f3cf113c69e8fc334ae6c12559a2e5ec8406a0b (diff)
downloadacf-shorewall-ca8952c1a3f5107563020604585ada9f6b088860.tar.bz2
acf-shorewall-ca8952c1a3f5107563020604585ada9f6b088860.tar.xz
Rewrite of shorewall to use new libraries, ... Moved statusbasic to status, status to details, expert to listfiles. Changed check to not have a page. Used links for status, edit, startstop. Didn't change config, so it still doesn't work.
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1480 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-edit-html.lsp')
l---------[-rw-r--r--]shorewall-edit-html.lsp53
1 files changed, 1 insertions, 52 deletions
diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp
index f808a72..15b1930 100644..120000
--- a/shorewall-edit-html.lsp
+++ b/shorewall-edit-html.lsp
@@ -1,52 +1 @@
-<% local form, viewlibrary = ...
-require("viewfunctions")
-%>
-
-<% if viewlibrary and viewlibrary.dispatch_component then
- viewlibrary.dispatch_component("statusbasic")
-end %>
-
-<H1>CONFIGURATION</H1>
-<% local myform = form.config %>
-<form action="<%= form.option.script .. "/" .. form.option.prefix ..
- form.option.controller .. "/" .. form.option.action %>" method="POST">
-
-<H2>EXPERT CONFIGURATION</H2>
-<H3>FILE DETAILS</H3>
-<DL>
-<%
-local tags = { "filename","filesize", "mtime", "sumerrors" }
-displayinfo(myform,tags,"viewonly")
-%>
-</DL>
-
-<% if (form.config.filecontent) then %>
-
-<H3>FILE CONTENT</H3>
-<input type="hidden" value="<%= myform.filename.value %>" name="<%= myform.filename.name %>">
-<%
-io.write(html.form[form.config.filecontent.type](form.config.filecontent))
-%>
-
-<H2>SAVE AND APPLY ABOVE SETTINGS</H2>
-<DL>
-<%
-local tags = { "cmdsave", }
-displayinfo(myform,tags)
-%>
-</DL>
-
-<% end %>
-
-<%
--- Management buttons
-local myform = form.management
-local tags = { "start", "stop", "restart" }
-if (myform) then
- io.write("<H1>MANAGEMENT</H1>\n<DL>")
- displaymanagement(myform,tags)
- io.write("</DL>")
-end
-%>
-</form>
-
+../filedetails-html.lsp \ No newline at end of file