some small changes
This commit is contained in:
parent
b723a80d46
commit
059b693889
@ -441,7 +441,7 @@
|
||||
<label for="wifi-pass" class="control-label col-4">WiFi Passwort</label>
|
||||
<div class="col-8">
|
||||
<div class="input-group" id="show_hide_password">
|
||||
<input id="wifi-pass" type="password" minlength="8" maxlength="63" class="set-wsevent data-pulserev form-control">
|
||||
<input id="wifi-pass" type="password" minlength="8" maxlength="63" class="set-wsevent data-wifi-pass form-control">
|
||||
<div class="input-group-addon">
|
||||
<a href=""><i class="fa fa-eye-slash" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
@ -454,7 +454,7 @@
|
||||
<div class="form-check">
|
||||
<input class="set-wsevent data-wifi-conavailable form-check-input" type="checkbox" id="wifi-conavailable">
|
||||
<label class="form-check-label" for="wifi-conavailable">
|
||||
LED blinken
|
||||
verbinden wenn verfügbar
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -91,6 +91,7 @@ function onMessage(event) {
|
||||
} else if (data.startsWith("MAPPING_STATIC:")) {
|
||||
const data_sliced = data.slice(15);
|
||||
staticMapping = createMapping(data_sliced);
|
||||
console.log(staticMapping);
|
||||
} else if (data.startsWith("STATUS:")) {
|
||||
const data_sliced = data.slice(7);
|
||||
const result = processDataString(data_sliced, statusMapping);
|
||||
@ -99,6 +100,7 @@ function onMessage(event) {
|
||||
const data_sliced = data.slice(7);
|
||||
const result = processDataString(data_sliced, staticMapping);
|
||||
fillValuesToHTML(result);
|
||||
console.log(result);
|
||||
overlay.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
@ -718,7 +718,7 @@ void Websocket_RefreshClientData_Static(uint32_t client_id, bool send_mapping)
|
||||
"showcan;"
|
||||
"bleedingpulses;"
|
||||
"wifi-ssid;"
|
||||
"wifi-password;";
|
||||
"wifi-pass;";
|
||||
|
||||
if (client_id > 0)
|
||||
webSocket.text(client_id, mapping);
|
||||
|
Loading…
x
Reference in New Issue
Block a user