mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
color code recovery+sl in status bar
This commit is contained in:
@@ -495,13 +495,17 @@ function checkStatus(){
|
||||
$('a[href^="#tab-audio"]').hide();
|
||||
$('a[href^="#tab-gpio"]').hide();
|
||||
$('a[href^="#tab-nvs"]').show();
|
||||
$( "footer.footer" ).removeClass('sl');
|
||||
$( "footer.footer" ).addClass('recovery');
|
||||
enableStatusTimer = true;
|
||||
} else {
|
||||
recovery = false;
|
||||
$("#otadiv").hide();
|
||||
$('a[href^="#tab-audio"]').show();
|
||||
$('a[href^="#tab-gpio"]').show();
|
||||
//$('a[href^="#tab-nvs"]').hide();
|
||||
//$('a[href^="#tab-nvs"]').hide(); //TODO
|
||||
$( "footer.footer" ).removeClass('recovery');
|
||||
$( "footer.footer" ).addClass('sl');
|
||||
enableStatusTimer = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -316,3 +316,10 @@ span#flash-status {
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sl {
|
||||
background-color: #053c1e;
|
||||
}
|
||||
.recovery {
|
||||
background-color: #3c0505;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user