mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
some cleanup
This commit is contained in:
@@ -800,21 +800,23 @@ function checkStatus(){
|
||||
$("#otadiv").show();
|
||||
$('a[href^="#tab-audio"]').hide();
|
||||
$('a[href^="#tab-gpio"]').show();
|
||||
$('#uploaddiv').show();
|
||||
$("footer.footer").removeClass('sl');
|
||||
$("footer.footer").addClass('recovery');
|
||||
$("#boot-button").html('Reboot');
|
||||
$("#boot-form").attr('action', '/reboot_ota.json');
|
||||
|
||||
enableStatusTimer = true;
|
||||
} else {
|
||||
recovery = false;
|
||||
$("#otadiv").hide();
|
||||
$('a[href^="#tab-audio"]').show();
|
||||
$('a[href^="#tab-gpio"]').hide();
|
||||
$('#uploaddiv').hide();
|
||||
$("footer.footer").removeClass('recovery');
|
||||
$("footer.footer").addClass('sl');
|
||||
$("#boot-button").html('Recovery');
|
||||
$("#boot-form").attr('action', '/recovery.json');
|
||||
$('#uploaddiv"]').hide();
|
||||
|
||||
enableStatusTimer = false;
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<script src="/res/test/bootstrap.min.js"></script> <!-- TODO delete -->
|
||||
|
||||
<script src="/res/code.js"></script>
|
||||
<script src="code.js"></script> <!-- TODO delete -->
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user