mirror of https://github.com/aredn/aredn.git
Fix sysinfo link (#216)
This commit is contained in:
parent
c6c0244d94
commit
73d27f4d13
|
@ -73,11 +73,11 @@ function html.alert_banner()
|
||||||
|
|
||||||
local supported = aredn.hardware.supported()
|
local supported = aredn.hardware.supported()
|
||||||
if supported == 0 then
|
if supported == 0 then
|
||||||
html.print("<div style=\"padding:5px;background-color:#FF4719;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo.lua\">!!!! UNSUPPORTED DEVICE !!!!</a></div>")
|
html.print("<div style=\"padding:5px;background-color:#FF4719;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\">!!!! UNSUPPORTED DEVICE !!!!</a></div>")
|
||||||
elseif supported == -2 then
|
elseif supported == -2 then
|
||||||
html.print("<div style=\"padding:5px;background-color:yellow;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo.lua\"> !!!! THIS DEVICE IS STILL BEING TESTED !!!!</a></div>")
|
html.print("<div style=\"padding:5px;background-color:yellow;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\"> !!!! THIS DEVICE IS STILL BEING TESTED !!!!</a></div>")
|
||||||
elseif supported ~= 1 then
|
elseif supported ~= 1 then
|
||||||
html.print("<div style=\"padding:5px;background-color:yellow;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo.lua\">!!!! UNTESTED HARDWARE !!!!</a></div>")
|
html.print("<div style=\"padding:5px;background-color:yellow;color:black;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\">!!!! UNTESTED HARDWARE !!!!</a></div>")
|
||||||
end
|
end
|
||||||
|
|
||||||
if aredn_message and #aredn_message > 0 then
|
if aredn_message and #aredn_message > 0 then
|
||||||
|
|
Loading…
Reference in New Issue