refactor and add the ability to inject custom code

This commit is contained in:
Keegan
2015-10-12 01:49:56 -07:00
parent 8c958f1bae
commit 53e49339b5
12 changed files with 65 additions and 82 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<label class="item">
<span class="label">{{label}}</span>
<input data-manipulator-target type="text" class="item-color item-color-normal" value="{{value}}">
<input data-manipulator-target type="text" class="item-color item-color-normal">
</label>
+1 -3
View File
@@ -1,3 +1 @@
<div data-manipulator-target class="item-container-footer">
{{&content}}
</div>
<div data-manipulator-target class="item-container-footer"></div>
+1 -1
View File
@@ -1,3 +1,3 @@
<div class="item-container-header">
<h1 data-manipulator-target>{{&content}}</h1>
<h1 data-manipulator-target></h1>
</div>
-1
View File
@@ -3,7 +3,6 @@
<div class="item-input-wrapper">
<input data-manipulator-target
class="item-input"
value="{{value}}"
type="text"
{{#attributes}} {{key}}="{{value}}" {{/attributes}}
/>
+1 -1
View File
@@ -2,7 +2,7 @@
<span class="label">{{label}}</span>
<select data-manipulator-target class="item-select">
{{#options}}
<option value="{{value}}" {{selected}} class="item-select-option">{{&label}}</option>
<option value="{{value}}" class="item-select-option">{{&label}}</option>
{{/options}}
</select>
</label>
+1 -1
View File
@@ -1,3 +1,3 @@
<div class="item-container-header">
<h2 data-manipulator-target>{{&content}}</h2>
<h2 data-manipulator-target></h2>
</div>
+1 -1
View File
@@ -1,4 +1,4 @@
<label class="item">
<span class="label">{{label}}</span>
<input data-manipulator-target type="checkbox" class="item-toggle" {{value}}>
<input data-manipulator-target type="checkbox" class="item-toggle">
</label>