diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-05-15 15:12:42 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-05-15 15:12:42 +0000 |
commit | a3965b138f8c37b32cc28889250d55e20124983f (patch) | |
tree | 158a140cab494c92f9a03f3fa953b45465a3ce14 /shorewall-expert-html.lsp | |
parent | 2019d21baffd94e03608d28eba103150fb1ba1cd (diff) | |
download | acf-shorewall-a3965b138f8c37b32cc28889250d55e20124983f.tar.bz2 acf-shorewall-a3965b138f8c37b32cc28889250d55e20124983f.tar.xz |
Saving work for today.
Applying the component functionallity to acf-shorewall.
Cleaning up and rebuilding the view-files.
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1121 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'shorewall-expert-html.lsp')
-rw-r--r-- | shorewall-expert-html.lsp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/shorewall-expert-html.lsp b/shorewall-expert-html.lsp index 522e110..1eff27b 100644 --- a/shorewall-expert-html.lsp +++ b/shorewall-expert-html.lsp @@ -1,4 +1,4 @@ -<? local form = ... +<? local form, viewlibrary = ... require("viewfunctions") ?> <? @@ -9,19 +9,11 @@ io.write("</span>") --]] ?> -<H1>SYSTEM INFO</H1> -<DL> -<? -local myform = form.status -local tags = { "status", "version", "autostart", } -displayinfo(myform,tags,"viewonly") -?> -</DL> - -<h1>CONFIGURATION</h1> +<? if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("statusbasic") +end ?> -<h2>Expert config</h2> -<h3>List of configfiles</h3> +<h1>EXPERT CONFIGURATION</h1> <? local myform = form.config ?> <DL> @@ -35,9 +27,9 @@ displayinfo(myform,tags,"viewonly") <? for i = 1, table.maxn(myform) do ?> <TR> - <TD style="padding-right:20px;white-space:nowrap;"><?= html.link{value = "edit?name=" .. myform[i].value , label=myform[i].value } ?></TD> - <TD style="padding-right:20px;white-space:nowrap;"><?= myform[i].size ?></TD> - <TD style="white-space:nowrap;" width="90%"><?= myform[i].mtime ?></TD> + <TD style="padding-right:20px;white-space:nowrap;border-bottom:1px solid #ccc;"><?= html.link{value = "edit?name=" .. myform[i].value , label=myform[i].value } ?></TD> + <TD style="padding-right:20px;white-space:nowrap;border-bottom:1px solid #ccc;"><?= myform[i].size ?></TD> + <TD style="white-space:nowrap;border-bottom:1px solid #ccc;" width="90%"><?= myform[i].mtime ?></TD> </TR> <? end ?> </TABLE> |