mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 07:24:20 +01:00
remove leftover manual template merge, idForContainer() should just use template-id data key group add event now checks that instead, raising alert when number is greater than max ref. #2610
36 lines
1.8 KiB
HTML
36 lines
1.8 KiB
HTML
<template id="template-led-config" >
|
|
<div class="pure-form pure-form-aligned">
|
|
<fieldset>
|
|
<legend>LED #<span data-key="template-id"></span></legend>
|
|
<div class="pure-control-group">
|
|
<label>GPIO</label>
|
|
<select class="pure-input-2-3 enumerable enumerable-gpio-hardware" name="ledGpio" data-action="reboot"></select>
|
|
</div>
|
|
<div class="pure-control-group">
|
|
<label>Inverse logic</label>
|
|
<input class="checkbox-toggle" type="checkbox" name="ledInv">
|
|
</div>
|
|
<div class="pure-control-group">
|
|
<label>Mode</label>
|
|
<select class="pure-input-2-3" name="ledMode">
|
|
<option value="wifi">WiFi status</option>
|
|
<option value="relay">Follow switch</option>
|
|
<option value="relay-inverse">Inverse switch</option>
|
|
<option value="findme">Find me</option>
|
|
<option value="findme-wifi">Find me & WiFi</option>
|
|
<option value="relays">Switch(es) status</option>
|
|
<option value="relays-wifi">Switch(es) & WiFi</option>
|
|
<option value="manual">Manual</option>
|
|
<option value="on">Always ON</option>
|
|
<option value="off">Always OFF</option>
|
|
</select>
|
|
</div>
|
|
<div class="module-relay pure-control-group">
|
|
<label>Relay ID</label>
|
|
<select class="pure-input-2-3 enumerable enumerable-relay" name="ledRelay" ></select>
|
|
</div>
|
|
</fieldset>
|
|
<button class="pure-button button-del-settings-group more" type="button">Delete LED</button>
|
|
</div>
|
|
</template>
|