Browse Source

web: check sch_last existence (#2050)

master
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
15accf8090
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 20044 additions and 20042 deletions
  1. BIN
      code/espurna/data/index.all.html.gz
  2. BIN
      code/espurna/data/index.light.html.gz
  3. BIN
      code/espurna/data/index.lightfox.html.gz
  4. BIN
      code/espurna/data/index.rfbridge.html.gz
  5. BIN
      code/espurna/data/index.rfm69.html.gz
  6. BIN
      code/espurna/data/index.sensor.html.gz
  7. BIN
      code/espurna/data/index.small.html.gz
  8. BIN
      code/espurna/data/index.thermostat.html.gz
  9. +3016
    -3016
      code/espurna/static/index.all.html.gz.h
  10. +2846
    -2847
      code/espurna/static/index.light.html.gz.h
  11. +1950
    -1950
      code/espurna/static/index.lightfox.html.gz.h
  12. +2438
    -2438
      code/espurna/static/index.rfbridge.html.gz.h
  13. +3907
    -3908
      code/espurna/static/index.rfm69.html.gz.h
  14. +1940
    -1940
      code/espurna/static/index.sensor.html.gz.h
  15. +1950
    -1950
      code/espurna/static/index.small.html.gz.h
  16. +1987
    -1987
      code/espurna/static/index.thermostat.html.gz.h
  17. +8
    -4
      code/html/custom.js
  18. +2
    -2
      code/html/index.html

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


+ 8
- 4
code/html/custom.js View File

@ -1075,10 +1075,14 @@ function initRelayConfig(data) {
$("select[name='relayBoot']", line).val(data.boot[i]);
$("select[name='relayPulse']", line).val(data.pulse[i]);
$("input[name='relayTime']", line).val(data.pulse_time[i]);
$("input[name='relayLastSch']", line).prop('checked', data.sch_last[i]);
$("input[name='relayLastSch']", line).attr("id", "relayLastSch" + i);
$("input[name='relayLastSch']", line).attr("name", "relayLastSch" + i);
$("input[name='relayLastSch" + i + "']", line).next().attr("for","relayLastSch" + (i));
if ("sch_last" in data) {
$("input[name='relayLastSch']", line)
.prop('checked', data.sch_last[i])
.attr("id", "relayLastSch" + i)
.attr("name", "relayLastSch" + i)
.next().attr("for","relayLastSch" + (i));
}
if ("group" in data) {
$("input[name='mqttGroup']", line).val(data.group[i]);


+ 2
- 2
code/html/index.html View File

@ -1417,7 +1417,7 @@
<div class="header">
<h1>RULES</h1>
<h2>
Here you can configure advanced rules based on RPN expressions. Check the <a href="https://github.com/xoseperez/espurna/wiki/RPN-Rules" target="_blank">wiki page about the RPN Rules module</a> to know how to use them.
Here you can configure advanced rules based on RPN expressions. Check the <a href="https://github.com/xoseperez/espurna/wiki/RPN-Rules" rel="noopener" target="_blank">wiki page about the RPN Rules module</a> to know how to use them.
</h2>
</div>
@ -1438,7 +1438,7 @@
Mind that calling a non-existing variable from a rule will make it silently fail.
</div>
</div>
<div class="pure-g">
<label class="pure-u-1 pure-u-lg-1-4" for="rpnDelay">Execution delay (ms)</label>
<input class="pure-u-1 pure-u-lg-1-4" name="rpnDelay" type="number" min="100" tabindex="101" />


Loading…
Cancel
Save