mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
UI cleanup
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
var recovery = 0;
|
||||
var commandHeader = 'squeezelite -b 500:2000 -d all=info ';
|
||||
|
||||
// First, checks if it isn't implemented yet.
|
||||
@@ -187,6 +188,16 @@ $(document).ready(function(){
|
||||
selectOutput(this);
|
||||
});
|
||||
|
||||
if (recovery) {
|
||||
$("#recoverydiv").hide();
|
||||
$("#otadiv").show();
|
||||
$("#command_line").hide();
|
||||
$("#wifi").hide();
|
||||
} else {
|
||||
$("#recoverydiv").show();
|
||||
$("#otadiv").hide();
|
||||
}
|
||||
|
||||
//first time the page loads: attempt get the connection status and start the wifi scan
|
||||
refreshAP();
|
||||
startCheckStatusInterval();
|
||||
|
||||
Reference in New Issue
Block a user