Initial commit
This commit is contained in:
2
client/res/templates/fields/bool/detail.tpl
Normal file
2
client/res/templates/fields/bool/detail.tpl
Normal file
@@ -0,0 +1,2 @@
|
||||
{{#if valueIsSet}}<input class="form-checkbox" type="checkbox"{{#if value}} checked{{/if}} disabled>{{else}}
|
||||
<span class="loading-value"></span>{{/if}}
|
||||
1
client/res/templates/fields/bool/edit.tpl
Normal file
1
client/res/templates/fields/bool/edit.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<input type="checkbox"{{#if value}} checked{{/if}} data-name="{{name}}" class="main-element form-checkbox">
|
||||
1
client/res/templates/fields/bool/list.tpl
Normal file
1
client/res/templates/fields/bool/list.tpl
Normal file
@@ -0,0 +1 @@
|
||||
<input type="checkbox" class="form-checkbox form-checkbox-simple"{{#if value}} checked{{/if}} disabled>
|
||||
5
client/res/templates/fields/bool/search.tpl
Normal file
5
client/res/templates/fields/bool/search.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
<select data-name="{{name}}" class="main-element form-control input-sm">
|
||||
<option value="isTrue" {{#ifEqual searchType 'isTrue'}} selected{{/ifEqual}}>{{translate 'Yes'}}</option>
|
||||
<option value="isFalse" {{#ifEqual searchType 'isFalse'}} selected{{/ifEqual}}>{{translate 'No'}}</option>
|
||||
<option value="any" {{#ifEqual searchType 'any'}} selected{{/ifEqual}}>{{translateOption 'any' field='searchRanges'}}</option>
|
||||
</select>
|
||||
Reference in New Issue
Block a user