mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 04:57:06 +03:00
show connection info in status bar
This commit is contained in:
@@ -419,6 +419,7 @@ function checkStatus(){
|
|||||||
$("#netmask").text(data["netmask"]);
|
$("#netmask").text(data["netmask"]);
|
||||||
$("#gw").text(data["gw"]);
|
$("#gw").text(data["gw"]);
|
||||||
$("#wifi-status").slideDown( "fast", function() {});
|
$("#wifi-status").slideDown( "fast", function() {});
|
||||||
|
$(".footer").html("connected to SSID "+text(data["ssid"])+" with IP "+text(data["ip"]));
|
||||||
|
|
||||||
//unlock the wait screen if needed
|
//unlock the wait screen if needed
|
||||||
$( "#ok-connect" ).prop("disabled",false);
|
$( "#ok-connect" ).prop("disabled",false);
|
||||||
@@ -464,6 +465,7 @@ function checkStatus(){
|
|||||||
$("#netmask").text(data["netmask"]);
|
$("#netmask").text(data["netmask"]);
|
||||||
$("#gw").text(data["gw"]);
|
$("#gw").text(data["gw"]);
|
||||||
$("#wifi-status").slideDown( "fast", function() {});
|
$("#wifi-status").slideDown( "fast", function() {});
|
||||||
|
$(".footer").html("connected to SSID "+data["ssid"]+" with IP "+data["ip"]);
|
||||||
}
|
}
|
||||||
enableAPTimer = false;
|
enableAPTimer = false;
|
||||||
if (!recovery) enableStatusTimer = false;
|
if (!recovery) enableStatusTimer = false;
|
||||||
|
|||||||
@@ -204,7 +204,7 @@
|
|||||||
<th scope="col">GPIO pin</th>
|
<th scope="col">GPIO pin</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="releaseTable">
|
<tbody id="gpioTable">
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>I2S</strong></td><td></td>
|
<td><strong>I2S</strong></td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -303,5 +303,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<footer class="footer"></footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
body {
|
body {
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
margin-bottom:50px;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: darkblue;
|
color: darkblue;
|
||||||
@@ -305,3 +306,13 @@ input, textarea {
|
|||||||
#mode {
|
#mode {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #555;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user