mirror of https://github.com/aredn/aredn.git
Add support for devices that are 'in testing' to the banner display.
In testing devices should be listed with a -2 status
This commit is contained in:
parent
c59a9e6101
commit
f6d81b25c2
|
@ -1036,6 +1036,9 @@ sub alert_banner
|
|||
if (is_hardware_supported() == 0 ){
|
||||
print "<div style=\"padding:5px;background-color:#FF4719;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\">!!!! UNSUPPORTED DEVICE !!!!</a></div>\n";
|
||||
}
|
||||
elsif ( is_hardware_supported() == -2 ){
|
||||
print "<div style=\"padding:5px;background-color:#FFFF00;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\"> !!!! THIS DEVICE IS STILL BEING TESTED !!!!</a></div>\n";
|
||||
}
|
||||
else {
|
||||
print "<div style=\"padding:5px;background-color:#FFFF00;border:1px solid #ccc;width:600px;\"><a href=\"/cgi-bin/sysinfo\">!!!! UNTESTED HARDWARE !!!!</a></div>\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue