mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24: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)
55 lines
1.9 KiB
HTML
55 lines
1.9 KiB
HTML
<form id="form-domoticz" class="pure-form pure-form-aligned form-settings">
|
|
<div class="panel" id="panel-domoticz">
|
|
|
|
<div class="header">
|
|
<h1>DOMOTICZ</h1>
|
|
<h2>
|
|
Configure the connection to your Domoticz server.
|
|
</h2>
|
|
</div>
|
|
|
|
<div class="page">
|
|
|
|
<fieldset>
|
|
<legend>General</legend>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Enabled</label>
|
|
<input class="checkbox-toggle" type="checkbox" name="dczEnabled">
|
|
</div>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Domoticz IN Topic</label>
|
|
<input class="pure-input-2-3" name="dczTopicIn" type="text">
|
|
</div>
|
|
|
|
<div class="pure-control-group">
|
|
<label>Domoticz OUT Topic</label>
|
|
<input class="pure-input-2-3" name="dczTopicOut" type="text" data-action="reconnect">
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="module module-light">
|
|
<legend>Lights (IN messages only)</legend>
|
|
<div class="pure-control-group">
|
|
<label>Light switch</label>
|
|
<input name="dczLightIdx" type="number" min="0">
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="module module-relay module-sns">
|
|
<legend>Sensors & actuators</legend>
|
|
|
|
<span class="pure-form-message">
|
|
Set IDX to 0 to disable notifications from that component.
|
|
</span>
|
|
|
|
<div id="dcz-relays" class="settings-group module module-relay" data-settings-target="dczRelayIdx" ></div>
|
|
|
|
<div id="dcz-magnitudes" class="settings-group module module-sns" data-settings-target="dczMagnitude" ></div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|