Browse Source

Clean HTML layout

fastled
Xose Pérez 7 years ago
parent
commit
a45d253a7e
4 changed files with 2379 additions and 2379 deletions
  1. BIN
      code/espurna/data/index.html.gz
  2. +2
    -2
      code/espurna/mqtt.ino
  3. +2374
    -2373
      code/espurna/static/index.html.gz.h
  4. +3
    -4
      code/html/index.html

BIN
code/espurna/data/index.html.gz View File


+ 2
- 2
code/espurna/mqtt.ino View File

@ -219,7 +219,7 @@ void _mqttWebSocketOnSend(JsonObject& root) {
root["mqttPassword"] = getSetting("mqttPassword"); root["mqttPassword"] = getSetting("mqttPassword");
root["mqttKeep"] = _mqtt_keepalive; root["mqttKeep"] = _mqtt_keepalive;
root["mqttRetain"] = _mqtt_retain; root["mqttRetain"] = _mqtt_retain;
root["mqttQOS"] = _mqtt_qos;
root["mqttQoS"] = _mqtt_qos;
#if ASYNC_TCP_SSL_ENABLED #if ASYNC_TCP_SSL_ENABLED
root["mqttsslVisible"] = 1; root["mqttsslVisible"] = 1;
root["mqttUseSSL"] = getSetting("mqttUseSSL", 0).toInt() == 1; root["mqttUseSSL"] = getSetting("mqttUseSSL", 0).toInt() == 1;
@ -501,7 +501,7 @@ void mqttConfigure() {
_mqtt_forward = !_mqtt_getter.equals(_mqtt_setter); _mqtt_forward = !_mqtt_getter.equals(_mqtt_setter);
// MQTT options // MQTT options
_mqtt_qos = getSetting("mqttQOS", MQTT_QOS).toInt();
_mqtt_qos = getSetting("mqttQoS", MQTT_QOS).toInt();
_mqtt_retain = getSetting("mqttRetain", MQTT_RETAIN).toInt() == 1; _mqtt_retain = getSetting("mqttRetain", MQTT_RETAIN).toInt() == 1;
_mqtt_keepalive = getSetting("mqttKeep", MQTT_KEEPALIVE).toInt(); _mqtt_keepalive = getSetting("mqttKeep", MQTT_KEEPALIVE).toInt();


+ 2374
- 2373
code/espurna/static/index.html.gz.h
File diff suppressed because it is too large
View File


+ 3
- 4
code/html/index.html View File

@ -562,8 +562,8 @@
</div> </div>
<div class="pure-g"> <div class="pure-g">
<label class="pure-u-1 pure-u-lg-1-4">MQTT QOS</label>
<select class="pure-u-1 pure-u-lg-1-4" name="mqttQOS">
<label class="pure-u-1 pure-u-lg-1-4">MQTT QoS</label>
<select class="pure-u-1 pure-u-lg-1-4" name="mqttQoS">
<option value="0">0: At most once</option> <option value="0">0: At most once</option>
<option value="1">1: At least once</option> <option value="1">1: At least once</option>
<option value="2">2: Exactly once</option> <option value="2">2: Exactly once</option>
@ -575,10 +575,9 @@
<div class="pure-u-1 pure-u-lg-1-4"><input type="checkbox" name="mqttRetain" tabindex="25" /></div> <div class="pure-u-1 pure-u-lg-1-4"><input type="checkbox" name="mqttRetain" tabindex="25" /></div>
</div> </div>
<div class="pure-g"> <div class="pure-g">
<label class="pure-u-1 pure-u-lg-1-4">MQTT Keep Alive</label> <label class="pure-u-1 pure-u-lg-1-4">MQTT Keep Alive</label>
<div class="pure-u-1 pure-u-lg-1-4"><input type="number" name="mqttKeep" min="10" max="60" tabindex="25" /></div>
<input class="pure-u-1 pure-u-lg-1-4" type="number" name="mqttKeep" min="10" max="60" tabindex="25" />
</div> </div>
<div class="pure-g module module-mqttssl"> <div class="pure-g module module-mqttssl">


Loading…
Cancel
Save