diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-05-21 09:02:53 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-05-21 09:02:53 +0000 |
commit | 4fc15fbf7def782142001061680f187096cdeec6 (patch) | |
tree | 87bfc963c86dd602218c253b9f6de5bbc238d3bf | |
parent | e57b196f1fd82110fe431d33874bf4879475d69c (diff) | |
download | acf-opennhrp-4fc15fbf7def782142001061680f187096cdeec6.tar.bz2 acf-opennhrp-4fc15fbf7def782142001061680f187096cdeec6.tar.xz |
Small graphical changes due to change in ice.css
git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@1135 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | opennhrp-status-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opennhrp-status-html.lsp b/opennhrp-status-html.lsp index 2c1a531..ecd5e4e 100644 --- a/opennhrp-status-html.lsp +++ b/opennhrp-status-html.lsp @@ -29,9 +29,9 @@ io.write(">" .. myform.label .. "</DT>\n") io.write("\t\t<DD>\n") for k,v in pairs(myform.option or {}) do io.write("\t\t\t<TABLE STYLE='margin-bottom:10px;'>") - io.write("\n\t\t\t<TR><TD STYLE='font-weight:bold;'><IMG SRC='/static/tango/16x16/places/network-server.png' width='16' height='16' alt> " .. k .. "</TD><TD></TD></TR>\n") + io.write("\n\t\t\t<TR><TD STYLE='font-weight:bold;border:none;'><IMG SRC='/static/tango/16x16/places/network-server.png' width='16' height='16' alt> " .. k .. "</TD><TD STYLE='border:none;'></TD></TR>\n") for k1,v1 in pairs(v) do - io.write("\n\t\t\t<TR STYLE='padding-bottom:10px;'><TD WIDTH='150px' STYLE='font-weight:bold;padding-left:20px;'><IMG SRC='/static/tango/16x16/status/") + io.write("\n\t\t\t<TR STYLE='padding-bottom:10px;'><TD WIDTH='150px' STYLE='font-weight:bold;padding-left:20px;border:none;'><IMG SRC='/static/tango/16x16/status/") if (v1) and (v1['Type']) and (v1['Type']['value']) and (string.lower(v1['Type']['value']) == "incomplete") then io.write("network-error") @@ -46,13 +46,13 @@ for k,v in pairs(myform.option or {}) do else io.write("network-error") end - io.write(".png' width='16' height='16' title='" .. (v1['Type']['descr'] or "") .. "'> " .. v1["Protocol-Address"]['value'] .. "</TD><TD STYLE='font-weight:bold;'></TD></TR>\n") + io.write(".png' width='16' height='16' title='" .. (v1['Type']['descr'] or "") .. "'> " .. v1["Protocol-Address"]['value'] .. "</TD><TD STYLE='font-weight:bold;border:none;'></TD></TR>\n") for k2,v2 in pairs(v1) do ---[[ if (k2) and not ((string.lower(k2) == "protocol-address") or (string.lower(k2) == "interface")) then - io.write("<TR><TD STYLE='font-weight:bold;padding-left:40px;'>"..k2.."</TD><TD>"..v2['value']) + io.write("<TR><TD STYLE='font-weight:bold;padding-left:40px;border:none;'>"..k2.."</TD><TD STYLE='border:none;'>"..v2['value']) if (v2['descr']) and (#v2['descr'] > 0) then io.write(" <I>(" .. (v2['descr'] or "") .. ")</I>") end |