mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 23:44:20 +01:00
* migrate to esbuild from terser, since now js source needs bundling * (temporary?) hijack inline-source object handling to inline html files * get rid of legacy removeIf comments in source in favour of explicit removal either through bundling tree-shaking and / or manual module-* class element removal w/ jsdom * get rid of multi-layered custom checkboxes in favour of `appearance: none` directly styling the `input` elem also removes scripting part that was supposed to adjust for=... labels * update to html-minifier-terser, up-to-date html-minifier fork * update to iro.js 5.5.x, using npm to manage dependencies * build script can now update resulting html output (called after bundling stage, before minification)
49 lines
1.8 KiB
HTML
49 lines
1.8 KiB
HTML
<form id="form-relay" class="pure-form pure-form-aligned form-settings">
|
|
<div class="panel" id="panel-relay">
|
|
|
|
<div class="header">
|
|
<h1>RELAYS</h1>
|
|
<h2>Relay configuration</h2>
|
|
</div>
|
|
|
|
<div class="page">
|
|
|
|
<fieldset class="module module-multirelay">
|
|
|
|
<legend>Synchronization</legend>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Mode</label>
|
|
<select name="relaySync" class="pure-input-2-3">
|
|
<option value="disabled">Disabled</option>
|
|
<option value="zero-or-one">Zero or just one relay should be ON</option>
|
|
<option value="just-one">Only one relay should be ON</option>
|
|
<option value="all">All relays are synchronised</option>
|
|
<option value="first">Switch #0 controls everything else</option>
|
|
</select>
|
|
<span class="pure-form-message">
|
|
Defines how the multiple relays should be synchronized.
|
|
</span>
|
|
</div>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Interlock delay</label>
|
|
<input name="relayIlkDelay" type="number" min="0">
|
|
<span class="pure-form-message">
|
|
(ms) Wait for the specified time before applying the relay status, when multiple relays change simultaneously.
|
|
</span>
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>Individual relay settings</legend>
|
|
|
|
<div id="relayConfig" class="settings-group">
|
|
</div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|