Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
caco3 authored Oct 18, 2024
1 parent 38b6320 commit 95aa929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sd-card/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h2>An ESP32 all inclusive neural network recognition system for meter Digitizat
<li id="ManualControl" style="display:none;"><a>Manual Control <i class="arrow down"></i></a> <!-- Workaround: Hide menu if no entry is available -->
<ul class="submenu">
<!--<li><a href="#" onclick="flow_start()">Start Round</a></li>--> <!-- Needs to be adapted on code side first to ensure proper user feedback -->
<li id="HASendDiscovery" style="display:none;"><a href="#" onclick="HA_send_discovery()">Resend HA Discovery</a></li>
<li id="HASendDiscovery" style="display:none;"><a href="#" onclick="HA_send_discovery()">Resend Homeassistant Discovery</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -189,7 +189,7 @@ <h2>An ESP32 all inclusive neural network recognition system for meter Digitizat

if (category["MQTT"]["enabled"] && param["MQTT"]["HomeassistantDiscovery"].value1 == "true") {
document.getElementById("ManualControl").style.display="";
document.getElementById("HASendDiscovery").style.display="";
document.getElementById("HASendDiscovery").style.display="width: 300px;";
}
}

Expand Down

0 comments on commit 95aa929

Please sign in to comment.