mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-02 15:17:44 -04:00
Basic build process and transforming json into html
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<label class="item">
|
||||
<span class="label">{{label}}</span>
|
||||
<input data-manipulator-target type="text" class="item-color item-color-normal" value="{{value}}">
|
||||
</label>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div data-manipulator-target class="item-container-footer">
|
||||
{{&content}}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="item-container-header">
|
||||
<h1 data-manipulator-target>{{&content}}</h1>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
<label class="item">
|
||||
<span class="label">{{label}}</span>
|
||||
<div class="item-input-wrapper">
|
||||
<input data-manipulator-target
|
||||
class="item-input"
|
||||
value="{{value}}"
|
||||
type="text"
|
||||
{{#attributes}} {{key}}="{{value}}" {{/attributes}}
|
||||
/>
|
||||
</div>
|
||||
</label>
|
||||
@@ -0,0 +1,8 @@
|
||||
<label class="item">
|
||||
<span class="label">{{label}}</span>
|
||||
<select data-manipulator-target class="item-select">
|
||||
{{#options}}
|
||||
<option value="{{value}}" {{selected}} class="item-select-option">{{&label}}</option>
|
||||
{{/options}}
|
||||
</select>
|
||||
</label>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="item-container-header">
|
||||
<h2 data-manipulator-target>{{&content}}</h2>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="button-container">
|
||||
<input data-manipulator-target type="submit" class="item-button" value="{{label}}">
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<label class="item">
|
||||
<span class="label">{{label}}</span>
|
||||
<input data-manipulator-target type="checkbox" class="item-toggle" {{value}}>
|
||||
</label>
|
||||
Reference in New Issue
Block a user