mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-03 23:14:15 +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)
26 lines
762 B
HTML
26 lines
762 B
HTML
<template id="template-channel-control">
|
|
<div>
|
|
<label>Channel #</label>
|
|
<input type="range" min="0" max="255" class="slider pure-input-2-3">
|
|
<span class="slider"></span>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="template-brightness-control">
|
|
<div>
|
|
<label>Brightness</label>
|
|
<input type="range" min="0" max="255" class="slider pure-input-2-3" id="brightness-value">
|
|
<span class="slider"></span>
|
|
</div>
|
|
</template>
|
|
|
|
<template id="template-mireds-control">
|
|
<div>
|
|
<label>Mireds</label>
|
|
<input type="range" class="slider pure-input-2-3" id="mireds-value" list="mired-range">
|
|
<span class="slider"></span>
|
|
<datalist id="mired-range">
|
|
</datalist>
|
|
</div>
|
|
</template>
|