This commit is contained in:
Maurice Grönwoldt 2020-08-06 23:44:37 +02:00
commit 25fcefcb50
68 changed files with 2982 additions and 307 deletions

6
out/tpl/inputs/color.tpl Normal file
View file

@ -0,0 +1,6 @@
<label class="input floating-label color-picker" for="$name$">
<span class="colorBlob" style="background-color: $value$"></span>
<input data-type="$dataType$" type="color" id="$name$" name="$name$" value="$value$">
<span class="input-label">$showName$</span>
<span class="focus"></span>
</label>

5
out/tpl/inputs/input.tpl Normal file
View file

@ -0,0 +1,5 @@
<label class="input floating-label" for="$name$">
<input data-type="$dataType$" type="$type$" id="$name$" value="$value$">
<span class="input-label">$showName$</span>
<span class="focus"></span>
</label>

View file

@ -0,0 +1,3 @@
<custom-option data-value="$value$">
$value$
</custom-option>

View file

@ -0,0 +1,8 @@
<custom-select data-event="$event$" data-conf="$conf$">
<label>$showName$</label>
<main class="label">$value$</main>
<input data-type="$dataType$" type="text" name="$name$" value="$value$" required>
<custom-options>
$options$
</custom-options>
</custom-select>

View file

@ -0,0 +1,7 @@
<label class="input floating-label input-range">
<input data-type="$dataType$" class="range" type="range" name="$name$" min="$min$" max="$max$" value="$value$" step="$stepSize$">
<span class="input-label">$showName$</span>
<span class="min">$min$</span>
<span class="current">$value$</span>
<span class="max">$max$</span>
</label>

View file

@ -0,0 +1,5 @@
<switch>
<input id="$name$" name="$name$" type="checkbox" $value$>
<label for="$name$"></label>
<span>$showName$</span>
</switch>