mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-29 21:36:54 -04:00
26 lines
658 B
Smarty
26 lines
658 B
Smarty
<div class="component component-slider">
|
|
<label class="tap-highlight">
|
|
<span class="label-container">
|
|
<span class="label">{{{label}}}</span>
|
|
<span class="value-wrap">
|
|
<span class="value-pad"></span>
|
|
<input type="text" class="value" />
|
|
</span>
|
|
</span>
|
|
<span class="input">
|
|
<input
|
|
data-manipulator-target
|
|
class="slider"
|
|
type="range"
|
|
min="{{min}}"
|
|
max="{{max}}"
|
|
step="{{step}}"
|
|
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
|
|
/>
|
|
</span>
|
|
</label>
|
|
{{if description}}
|
|
<div class="description">{{{description}}}</div>
|
|
{{/if}}
|
|
</div>
|