diff --git a/files/www/alert-circle-outline.png b/files/www/alert-circle-outline.png new file mode 100644 index 00000000..87b2d1ab Binary files /dev/null and b/files/www/alert-circle-outline.png differ diff --git a/files/www/cgi-bin/ports b/files/www/cgi-bin/ports index 0324f8cd..ac132ca4 100755 --- a/files/www/cgi-bin/ports +++ b/files/www/cgi-bin/ports @@ -360,7 +360,7 @@ if f then break end end - + if val == "_add" and parms.button_save then porterr(val .. " this rule must be added or cleared out before saving changes") break @@ -401,7 +401,7 @@ if f then end f:write(_intf .. ":" .. _type .. ":" .. _out .. ":" .. _ip .. ":" .. _in .. ":" .. _enable .. "\n") - + for _, var in ipairs(vars) do parms["port" .. port_num .. var] = _G[var] @@ -829,7 +829,7 @@ if parms.button_save and not (#port_err > 0 or #dhcp_err > 0 or #dmz_err > 0 or filecopy(tmpdir .. "/dhcp", dhcpfile) filecopy(tmpdir .. "/services", servfile) filecopy(tmpdir .. "/aliases", aliasfile) - + if os.execute("/usr/local/bin/node-setup -a -p mesh") ~= 0 then err("problem with configuration") end @@ -891,7 +891,7 @@ function print_reservations() html.print("") html.print("") html.print("") - + if dmz_mode ~= 0 then html.print("") else @@ -1209,7 +1209,7 @@ function print_services() end local svc = string.format([[PlParam "service" "%s://%s:%s/%s|tcp|%s"]], (_link == "1" and _proto or "http"), _host, (_link == "1" and _port or "0"), _suffix, _name) if val ~= "_add" and activesvc and not activesvc[svc] then - html.print("") + html.print("") end html.print("") @@ -1298,7 +1298,7 @@ print_services() html.print("") html.print("
DHCP Address Reservations
HostnameIP AddressMAC AddressDo Not
Propagate
") html.print(" ") -html.print("
") +html.print("
") html.print("") html.print("
") if dmz_mode ~= 0 then