From ca8952c1a3f5107563020604585ada9f6b088860 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 22 Sep 2008 20:58:06 +0000 Subject: 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 --- shorewall-edit-html.lsp | 53 +------------------------------------------------ 1 file changed, 1 insertion(+), 52 deletions(-) mode change 100644 => 120000 shorewall-edit-html.lsp (limited to 'shorewall-edit-html.lsp') diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp deleted file mode 100644 index f808a72..0000000 --- a/shorewall-edit-html.lsp +++ /dev/null @@ -1,52 +0,0 @@ -<% local form, viewlibrary = ... -require("viewfunctions") -%> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("statusbasic") -end %> - -

CONFIGURATION

-<% local myform = form.config %> -
" method="POST"> - -

EXPERT CONFIGURATION

-

FILE DETAILS

-
-<% -local tags = { "filename","filesize", "mtime", "sumerrors" } -displayinfo(myform,tags,"viewonly") -%> -
- -<% if (form.config.filecontent) then %> - -

FILE CONTENT

- -<% -io.write(html.form[form.config.filecontent.type](form.config.filecontent)) -%> - -

SAVE AND APPLY ABOVE SETTINGS

-
-<% -local tags = { "cmdsave", } -displayinfo(myform,tags) -%> -
- -<% end %> - -<% --- Management buttons -local myform = form.management -local tags = { "start", "stop", "restart" } -if (myform) then - io.write("

MANAGEMENT

\n
") - displaymanagement(myform,tags) - io.write("
") -end -%> -
- diff --git a/shorewall-edit-html.lsp b/shorewall-edit-html.lsp new file mode 120000 index 0000000..15b1930 --- /dev/null +++ b/shorewall-edit-html.lsp @@ -0,0 +1 @@ +../filedetails-html.lsp \ No newline at end of file -- cgit v1.2.3