diff options
Diffstat (limited to 'shorewall-config-html.lsp')
-rw-r--r-- | shorewall-config-html.lsp | 30 |
1 files changed, 10 insertions, 20 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> |