Files
espurna/code/html/src/panel-garland.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

31 lines
1.1 KiB
HTML

<form id="form-garland" class="pure-form pure-form-aligned form-settings">
<div class="panel" id="panel-garland">
<div class="header">
<h1>GARLAND</h1>
<h2>Garland configuration</h2>
</div>
<div class="page">
<div class="pure-control-group">
<label>Enabled</label>
<input class="checkbox-toggle checkbox-garland-enable" type="checkbox" name="garlandEnabled">
</div>
<div class="pure-control-group">
<label>Brightness</label>
<input class="slider slider-garland-brightness pure-input-3-4" type="range" min="12" max="254" step="22" id="garlandBrightness">
</div>
<div class="pure-control-group">
<label>Speed</label>
<input class="slider slider-garland-speed pure-input-3-4" type="range" min="10" max="70" id="garlandSpeed">
</div>
<button type="button" class="pure-button button-garland-set-default">Set default</button>
</div>
</div>
</form>