mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-05 16:04:19 +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)
46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
<form id="form-curtain" class="pure-form pure-form-aligned form-settings">
|
|
<div class="panel" id="panel-curtain">
|
|
|
|
<div class="header">
|
|
<h1>CURTAIN</h1>
|
|
<h2>Curtain configuration</h2>
|
|
</div>
|
|
|
|
<div class="page">
|
|
|
|
<fieldset>
|
|
<legend>General</legend>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Curtain type</label>
|
|
<select class="pure-input-2-3" name="curtainType">
|
|
<option value="0">Roller</option>
|
|
<option value="1">Closing right</option>
|
|
<option value="2">Closing left</option>
|
|
<option value="3">Two sides</option>
|
|
</select>
|
|
<span class="pure-form-message">
|
|
Define your curtain type. It adapts the graphical view in status menu.
|
|
</span>
|
|
</div>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Curtain bootup position</label>
|
|
<select class="pure-input-2-3" name="curtainBoot" >
|
|
<option value="0">Do nothing</option>
|
|
<option value="1">Closed</option>
|
|
<option value="2">Opened</option>
|
|
<option value="3">Last set position</option>
|
|
</select>
|
|
<span class="pure-form-message">
|
|
Define the initial position of the curtain after a reboot or power loss.
|
|
</span>
|
|
</div>
|
|
|
|
<div id="curtainConfig" class="settings-group"></div>
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|