summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-05-21 09:03:12 +0000
committerMika Havela <mika.havela@gmail.com>2008-05-21 09:03:12 +0000
commitb4f4174a55e903bf9f903e2d089f9cf8ad097d42 (patch)
tree021aee3fc03f5b188b1a6e38cb12f380860ae54a
parenta3965b138f8c37b32cc28889250d55e20124983f (diff)
downloadacf-shorewall-b4f4174a55e903bf9f903e2d089f9cf8ad097d42.tar.bz2
acf-shorewall-b4f4174a55e903bf9f903e2d089f9cf8ad097d42.tar.xz
Small graphical changes due to change in ice.css
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1136 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--shorewall-config-html.lsp30
-rw-r--r--shorewall-expert-html.lsp8
2 files changed, 13 insertions, 25 deletions
diff --git a/shorewall-config-html.lsp b/shorewall-config-html.lsp
index c644fec..9078f0a 100644
--- a/shorewall-config-html.lsp
+++ b/shorewall-config-html.lsp
@@ -40,7 +40,6 @@ end ?>
<H3>Defince zones</H3>
<? local myform = "zones" ?>
-<DL>
<TABLE>
<TR>
<? for i=1,#descr[myform]['labels'] do ?>
@@ -55,9 +54,9 @@ for i=1, #form.config[myform]['option'] do
<TR>
<? for ii=1,#descr[myform]['labels'] do ?>
- <TD style="padding-right:10px;text-align:left;border-bottom:1px solid #ccc"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
+ <TD style="padding-right:10px"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
<? end ?>
- <TD style="padding-right:0px;text-align:left;border-bottom:1px solid #ccc">
+ <TD style="padding-right:0px;text-align:left;">
<IMG SRC='/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Add item below this record">
<IMG SRC='/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Remove this record">
<IMG SRC='/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit this record">
@@ -67,11 +66,9 @@ for i=1, #form.config[myform]['option'] do
end
?>
</TABLE>
-</DL>
<H3>Interfaces</H3>
<? local myform = "interfaces" ?>
-<DL>
<TABLE>
<TR>
<? for i=1,#descr[myform]['labels'] do ?>
@@ -86,9 +83,9 @@ for i=1, #form.config[myform]['option'] do
<TR>
<? for ii=1,#descr[myform]['labels'] do ?>
- <TD style="padding-right:10px;text-align:left;border-bottom:1px solid #ccc"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
+ <TD style="padding-right:10px;"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
<? end ?>
- <TD style="padding-right:0px;text-align:left;border-bottom:1px solid #ccc">
+ <TD style="padding-right:0px;">
<IMG SRC='/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Add item below this record">
<IMG SRC='/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Remove this record">
<IMG SRC='/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit this record">
@@ -98,12 +95,10 @@ for i=1, #form.config[myform]['option'] do
end
?>
</TABLE>
-</DL>
<h3>Default policy</h3>
<? local myform = "policy" ?>
-<DL>
<TABLE>
<TR>
<? for i=1,#descr[myform]['labels'] do ?>
@@ -118,9 +113,9 @@ for i=1, #form.config[myform]['option'] do
<TR>
<? for ii=1,#descr[myform]['labels'] do ?>
- <TD style="padding-right:10px;text-align:left;border-bottom:1px solid #ccc"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
+ <TD style="padding-right:10px;"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
<? end ?>
- <TD style="padding-right:0px;text-align:left;border-bottom:1px solid #ccc">
+ <TD style="padding-right:0px;text-align:left;">
<IMG SRC='/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Add item below this record">
<IMG SRC='/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Remove this record">
<IMG SRC='/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit this record">
@@ -130,13 +125,11 @@ for i=1, #form.config[myform]['option'] do
end
?>
</TABLE>
-</DL>
<h3>Rules</h3>
<? local myform = "rules"
local val = {1,2,3,4,5,6,7,8,10,}
?>
-<DL>
<TABLE>
<TR>
<? for k,i in pairs(val) do ?>
@@ -151,9 +144,9 @@ for i=1, #form.config[myform]['option'] do
<TR>
<? for ii,vv in pairs(val) do ?>
- <TD style="padding-right:10px;text-align:left;border-bottom:1px solid #ccc"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
+ <TD style="padding-right:10px;"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
<? end ?>
- <TD style="padding-right:0px;text-align:left;border-bottom:1px solid #ccc">
+ <TD style="padding-right:0px;text-align:left;">
<IMG SRC='/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Add item below this record">
<IMG SRC='/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Remove this record">
<IMG SRC='/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit this record">
@@ -163,11 +156,9 @@ for i=1, #form.config[myform]['option'] do
end
?>
</TABLE>
-</DL>
<H3>Masq</H3>
<? local myform = "masq" ?>
-<DL>
<TABLE>
<TR>
<? for i=1,#descr[myform]['labels'] do ?>
@@ -182,9 +173,9 @@ for i=1, #form.config[myform]['option'] do
<TR>
<? for ii=1,#descr[myform]['labels'] do ?>
- <TD style="padding-right:10px;text-align:left;border-bottom:1px solid #ccc"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
+ <TD style="padding-right:10px;"><? io.write(form.config[myform]['option'][i][ii] or "") ?></TD>
<? end ?>
- <TD style="padding-right:0px;text-align:left;border-bottom:1px solid #ccc">
+ <TD style="padding-right:0px;text-align:left;">
<IMG SRC='/static/tango/16x16/actions/list-add.png' width='16' height='16' title="Add item below this record">
<IMG SRC='/static/tango/16x16/actions/list-remove.png' width='16' height='16' title="Remove this record">
<IMG SRC='/static/tango/16x16/actions/document-properties.png' width='16' height='16' title="Edit this record">
@@ -194,6 +185,5 @@ for i=1, #form.config[myform]['option'] do
end
?>
</TABLE>
-</DL>
diff --git a/shorewall-expert-html.lsp b/shorewall-expert-html.lsp
index 1eff27b..645d67c 100644
--- a/shorewall-expert-html.lsp
+++ b/shorewall-expert-html.lsp
@@ -16,7 +16,6 @@ end ?>
<h1>EXPERT CONFIGURATION</h1>
<? local myform = form.config ?>
-<DL>
<TABLE>
<TR style="background:#eee;font-weight:bold;">
<TD style="padding-right:20px;white-space:nowrap;text-align:left;" class="header">File</TD>
@@ -27,11 +26,10 @@ end ?>
<? for i = 1, table.maxn(myform) do ?>
<TR>
- <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>
+ <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>
</TR>
<? end ?>
</TABLE>
-</DL>