Initial commit
This commit is contained in:
35
client/res/templates/modals/array-field-add.tpl
Normal file
35
client/res/templates/modals/array-field-add.tpl
Normal file
@@ -0,0 +1,35 @@
|
||||
{{#unless optionDataList}}
|
||||
{{translate 'No Data'}}
|
||||
{{/unless}}
|
||||
|
||||
{{#if optionDataList}}
|
||||
<div class="margin-bottom-2x margin-top">
|
||||
<input
|
||||
type="text"
|
||||
maxlength="64"
|
||||
placeholder="{{translate 'Search'}}"
|
||||
data-name="quick-search"
|
||||
class="form-control"
|
||||
spellcheck="false"
|
||||
>
|
||||
</div>
|
||||
<ul class="list-group list-group-panel array-add-list-group no-side-margin">
|
||||
{{#each optionDataList}}
|
||||
<li class="list-group-item clearfix" data-name="{{value}}">
|
||||
<input
|
||||
class="cell form-checkbox form-checkbox-small"
|
||||
type="checkbox"
|
||||
data-value="{{value}}"
|
||||
>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
class="add text-bold"
|
||||
data-value="{{value}}"
|
||||
>{{label}}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
<div class="no-data hidden">{{translate 'No Data'}}</div>
|
||||
Reference in New Issue
Block a user