diff options
Diffstat (limited to 'interfaces-config-html.lsp')
-rw-r--r-- | interfaces-config-html.lsp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interfaces-config-html.lsp b/interfaces-config-html.lsp index f0cc8ef..8800577 100644 --- a/interfaces-config-html.lsp +++ b/interfaces-config-html.lsp @@ -22,11 +22,11 @@ for k,v in pairs(myform) do local tags = { "edit", "method", "address", "netmask", "gateway", "provider", "hostname", "pre-up", "up", "down", "post-down", "comment", } for k1,v1 in pairs(tags) do if (myform[v1]['value'] ~= "") then - io.write("<TR><TD WIDTH='120px' STYLE='font-weight:bold;'>" .. myform[v1]['label'] .. "</TD>") + io.write("<TR><TD WIDTH='120px' STYLE='font-weight:bold;border:none;'>" .. myform[v1]['label'] .. "</TD>") if (myform[v1]['type'] == "link") then - io.write("<TD>[ <A HREF='update?iface=" .. myform.name.value .. "'>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</A> ]</TD></TR>") + io.write("<TD STYLE='border:none;'>[ <A HREF='update?iface=" .. myform.name.value .. "'>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</A> ]</TD></TR>") else - io.write("<TD>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</TD></TR>") + io.write("<TD STYLE='border:none;'>" .. string.gsub(myform[v1]['value'], "\n", "<BR>") .. "</TD></TR>") end end end |