diff options
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> |