mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 20:17:04 +03:00
enable menu in recovery
This commit is contained in:
@@ -280,7 +280,6 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//first time the page loads: attempt to get the connection status and start the wifi scan
|
//first time the page loads: attempt to get the connection status and start the wifi scan
|
||||||
refreshAP();
|
refreshAP();
|
||||||
getConfig();
|
getConfig();
|
||||||
@@ -478,9 +477,6 @@ function getConfig() {
|
|||||||
if (data.hasOwnProperty('recovery')) {
|
if (data.hasOwnProperty('recovery')) {
|
||||||
if (data["recovery"] === 1) {
|
if (data["recovery"] === 1) {
|
||||||
recovery = true;
|
recovery = true;
|
||||||
$("#tab-wifi").removeClass("active show");
|
|
||||||
$("#tab-system").addClass("active show");
|
|
||||||
$("#navbar").hide();
|
|
||||||
$("#recoverydiv").hide();
|
$("#recoverydiv").hide();
|
||||||
$("#otadiv").show();
|
$("#otadiv").show();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<!-- TODO delete -->
|
<!-- TODO delete -->
|
||||||
<!-- <link rel="stylesheet" href="/test/bootstrap.min.css"> -->
|
<link rel="stylesheet" href="/test/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="/bootstrap.css">
|
<link rel="stylesheet" href="/bootstrap.css">
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<script src="/jquery.js"></script>
|
<script src="/jquery.js"></script>
|
||||||
@@ -13,9 +13,9 @@
|
|||||||
<script src="/popper.js"></script>
|
<script src="/popper.js"></script>
|
||||||
|
|
||||||
<!-- TODO delete -->
|
<!-- TODO delete -->
|
||||||
<!-- <script src="/test/jquery.min.js"></script>
|
<script src="/test/jquery.min.js"></script>
|
||||||
<script src="/test/bootstrap.min.js"></script>
|
<script src="/test/bootstrap.min.js"></script>
|
||||||
<script src="/test/popper.min.js"></script> -->
|
<script src="/test/popper.min.js"></script>
|
||||||
|
|
||||||
<script src="/code.js"></script>
|
<script src="/code.js"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user