Skip to content

Commit

Permalink
webui: missing type="number" required
Browse files Browse the repository at this point in the history
amend de2f96a
  • Loading branch information
mcspr committed Aug 2, 2024
1 parent 492b6e3 commit 08c4cdd
Show file tree
Hide file tree
Showing 12 changed files with 1,252 additions and 1,254 deletions.
424 changes: 212 additions & 212 deletions code/espurna/static/index.all.html.gz.h

Large diffs are not rendered by default.

330 changes: 165 additions & 165 deletions code/espurna/static/index.curtain.html.gz.h

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions code/espurna/static/index.garland.html.gz.h

Large diffs are not rendered by default.

196 changes: 98 additions & 98 deletions code/espurna/static/index.light.html.gz.h

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions code/espurna/static/index.lightfox.html.gz.h

Large diffs are not rendered by default.

190 changes: 95 additions & 95 deletions code/espurna/static/index.rfbridge.html.gz.h

Large diffs are not rendered by default.

190 changes: 95 additions & 95 deletions code/espurna/static/index.rfm69.html.gz.h

Large diffs are not rendered by default.

327 changes: 163 additions & 164 deletions code/espurna/static/index.sensor.html.gz.h

Large diffs are not rendered by default.

244 changes: 122 additions & 122 deletions code/espurna/static/index.small.html.gz.h

Large diffs are not rendered by default.

231 changes: 115 additions & 116 deletions code/espurna/static/index.thermostat.html.gz.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion code/html/src/panel-rpn.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2>

<div class="pure-control-group">
<label for="rpnDelay">Execution delay</label>
<input name="rpnDelay" type="number" min="100">
<input name="rpnDelay" type="number" min="100" required >
<span class="pure-form-message-inline">
(in milliseconds)
</span>
Expand Down
4 changes: 2 additions & 2 deletions code/html/src/panel-sns.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ <h2>

<div class="pure-control-group">
<label>Report aggregated value every</label>
<input name="snsReport" type="number" min="1" step="1" max="60">
<input name="snsReport" type="number" min="1" max="60" step="1" required >
<span>reading(s)</span>
</div>

<div class="pure-control-group module module-emon">
<label>Save aggregated value every</label>
<input name="snsSave" type="number" min="0" step="1" max="200">
<input name="snsSave" type="number" min="0" step="1" required >
<span> report(s)</span>
<span class="pure-form-message-inline">
At this moment, only applies to total energy readings.
Expand Down

0 comments on commit 08c4cdd

Please sign in to comment.