Skip to content

Commit

Permalink
webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
dkerr64 committed Oct 29, 2024
1 parent a33dcff commit 49fb10d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Binary file modified docs/webpage/webpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/www/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ function setElementsFromStatus(status) {
case "lockedAP":
document.getElementById("lockedAP").style.display = (value) ? "table" : "none";
break;
case "clients":
document.getElementById(key).innerHTML = (value > 0) ? `Yes (${value})` : 'No';
break;
case "localIP":
document.getElementById(key).innerHTML = value;
document.getElementById("IPaddress").placeholder = value;
Expand Down
4 changes: 2 additions & 2 deletions src/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
</tr>
<tr>
<td>HomeKit ID:</td>
<td><span id="accessoryID"></span><br><sup style="font-size: 0.6em;">(clients:<span
id="clients">0</span>)</sup></td>
<td><span id="accessoryID"></span><br><sup style="font-size: 0.6em;">HomeKit connected: <span
id="clients">No</span></sup></td>
</tr>
</table>
</div>
Expand Down

0 comments on commit 49fb10d

Please sign in to comment.