Initial commit
This commit is contained in:
3
client/res/templates/fields/array/detail.tpl
Normal file
3
client/res/templates/fields/array/detail.tpl
Normal file
@@ -0,0 +1,3 @@
|
||||
{{#unless isEmpty}}{{{value}}}{{else}}
|
||||
{{#if valueIsSet}}<span class="none-value">{{translate 'None'}}</span>{{else}}<span class="loading-value"></span>{{/if}}
|
||||
{{/unless}}
|
||||
32
client/res/templates/fields/array/edit.tpl
Normal file
32
client/res/templates/fields/array/edit.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
<div
|
||||
class="link-container list-group{{#if keepItems}} no-input{{/if}}"
|
||||
>{{#each itemHtmlList}}{{{./this}}}{{/each}}</div>
|
||||
<div class="array-control-container">
|
||||
{{#if hasAdd}}
|
||||
<button
|
||||
class="btn btn-default btn-block"
|
||||
type="button"
|
||||
data-action="showAddModal"
|
||||
>{{translate 'Add'}}</button>
|
||||
{{/if}}
|
||||
{{#if allowCustomOptions}}
|
||||
<div class="input-group">
|
||||
<input
|
||||
class="main-element form-control select"
|
||||
type="text"
|
||||
autocomplete="espo-{{name}}"
|
||||
placeholder="{{#if this.options}}{{translate 'Select'}}{{else}}{{translate 'typeAndPressEnter' category='messages'}}{{/if}}"
|
||||
{{#if maxItemLength}} maxlength="{{maxItemLength}}"{{/if}}
|
||||
>
|
||||
<span class="input-group-btn">
|
||||
<button
|
||||
data-action="addItem"
|
||||
class="btn btn-default btn-icon"
|
||||
type="button"
|
||||
tabindex="-1"
|
||||
title="{{translate 'Add Item'}}"
|
||||
><span class="fas fa-plus"></span></button>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
6
client/res/templates/fields/array/list-link.tpl
Normal file
6
client/res/templates/fields/array/list-link.tpl
Normal file
@@ -0,0 +1,6 @@
|
||||
<a
|
||||
href="#{{scope}}/view/{{model.id}}"
|
||||
class="link"
|
||||
data-id="{{model.id}}"
|
||||
title="{{value}}"
|
||||
>{{#if value}}{{{value}}}{{else}}{{translate 'None'}}{{/if}}</a>
|
||||
1
client/res/templates/fields/array/list.tpl
Normal file
1
client/res/templates/fields/array/list.tpl
Normal file
@@ -0,0 +1 @@
|
||||
{{#unless isEmpty}}{{{value}}}{{/unless}}
|
||||
7
client/res/templates/fields/array/search.tpl
Normal file
7
client/res/templates/fields/array/search.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
<select class="form-control search-type input-sm">
|
||||
{{options searchTypeList searchType field='searchRanges'}}
|
||||
</select>
|
||||
<div class="input-container">
|
||||
<input class="main-element" type="text" autocomplete="espo-off">
|
||||
</div>
|
||||
Reference in New Issue
Block a user