Files
espurna/code/html/src/template-sch.html
Maxim Prokhorov 289fea4f3d webui: separate sources per module
* 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)
2024-06-22 19:49:59 +03:00

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">
<option selected disabled value="0"></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>