mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-05 16:04:19 +01:00
revert set:/del: merge, do not allow to miss key pruning allow certain fields to have 'unset' state via 'required' attribute ensure 'unset' fields cannot be added to data payload generate ui tooltip when 'unset' field is created in a group or erased by user ref. #2612
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<template id="template-schedule-config" >
|
|
<div class="schedule">
|
|
<div class="pure-group">
|
|
<input name="schTime" type="text" class="pure-input-1" autocomplete="off" placeholder="*-* 1..7 00:00">
|
|
<input name="schAction" type="text" class="pure-input-1" autocomplete="off" placeholder="Terminal command">
|
|
</div>
|
|
|
|
<div class="pure-g">
|
|
<div class="pure-control-group pure-u-1 pure-u-lg-1-4">
|
|
<select class="pure-input-2-3" name="schType" required>
|
|
<option selected disabled value=""></option>
|
|
<option value="1">Disabled</option>
|
|
<option value="2">Calendar</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="pure-control-group pure-u-1 pure-u-lg-1-4">
|
|
<label>Restore on boot</label>
|
|
<input class="checkbox-toggle" type="checkbox" name="schRestore">
|
|
</div>
|
|
|
|
<button class="pure-button button-del-settings-group pure-u-1 pure-u-lg-1-8" type="button">
|
|
Delete
|
|
</button>
|
|
</div>
|
|
|
|
</div>
|
|
</template>
|