mirror of
https://github.com/lumapu/ahoy.git
synced 2025-08-06 01:48:19 +02:00
Feature: debug (settings)
This commit is contained in:
parent
0ca2eb8287
commit
737308ebe6
5 changed files with 17 additions and 0 deletions
|
@ -318,6 +318,8 @@
|
|||
<div class="col-12 col-sm-9"><input type="checkbox" name="ze_log_over_webserial"/></div>
|
||||
<div class="col-12 col-sm-3 my-2">{#ZE_LOG_OVER_MQTT}</div>
|
||||
<div class="col-12 col-sm-9"><input type="checkbox" name="ze_log_over_mqtt"/></div>
|
||||
<div class="col-12 col-sm-3 my-2">{#ZE_DEBUG}</div>
|
||||
<div class="col-12 col-sm-9"><input type="checkbox" name="ze_debug"/></div>
|
||||
</div>
|
||||
<div id="ze_groups"></div>
|
||||
</fieldset>
|
||||
|
@ -1638,6 +1640,9 @@
|
|||
// log_over_mqtt
|
||||
document.getElementsByName("ze_log_over_mqtt")[0].checked = obj["log_over_mqtt"];
|
||||
|
||||
// debug
|
||||
document.getElementsByName("ze_debug")[0].checked = obj["debug"];
|
||||
|
||||
// groups
|
||||
maxGroups = obj["max_groups"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue