Initial commit
This commit is contained in:
20
client/res/templates/fields/text/detail.tpl
Normal file
20
client/res/templates/fields/text/detail.tpl
Normal file
@@ -0,0 +1,20 @@
|
||||
{{#if isNotEmpty}}
|
||||
<div
|
||||
class="complex-text-container{{#if isCut}} cut{{/if}}"
|
||||
{{#if cutHeight}} style="max-height: {{cutHeight}}px;"{{/if}}
|
||||
>
|
||||
<div class="complex-text">{{#unless displayRawText}}{{#if htmlValue}}{{{htmlValue}}}{{else}}{{complexText value}}{{/if}}{{else}}{{breaklines value}}{{/unless}}</div>
|
||||
</div>
|
||||
{{#if isCut}}
|
||||
<div class="see-more-container hidden">
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="seeMoreText"
|
||||
><span class="fas fa-sm fa-chevron-down"></span> <span class="text">{{translate 'See more'}}</span></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if valueIsSet}}<span class="none-value">{{translate 'None'}}</span>{{else}}
|
||||
<span class="loading-value"></span>{{/if}}
|
||||
{{/if}}
|
||||
18
client/res/templates/fields/text/edit.tpl
Normal file
18
client/res/templates/fields/text/edit.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<textarea
|
||||
class="main-element form-control auto-height"
|
||||
data-name="{{name}}"
|
||||
{{#if params.maxLength}}maxlength="{{params.maxLength}}"{{/if}}
|
||||
rows="{{rows}}"
|
||||
autocomplete="espo-{{name}}"
|
||||
style="resize: {{#unless noResize}} vertical{{else}}none{{/unless}};"
|
||||
>{{value}}</textarea>
|
||||
{{#if preview}}
|
||||
<div>
|
||||
<a
|
||||
role="button"
|
||||
class="text-muted pull-right stream-post-preview{{#unless isNotEmpty}} hidden{{/unless}}"
|
||||
data-action="previewText"
|
||||
title="{{translate 'Preview'}}"
|
||||
><span class="fas fa-eye"></span></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
15
client/res/templates/fields/text/list.tpl
Normal file
15
client/res/templates/fields/text/list.tpl
Normal file
@@ -0,0 +1,15 @@
|
||||
{{#if isNotEmpty}}
|
||||
<div
|
||||
class="complex-text-container{{#if isCut}} cut{{/if}}"
|
||||
{{#if cutHeight}} style="max-height: {{cutHeight}}px;"{{/if}}
|
||||
><div
|
||||
class="complex-text"
|
||||
>{{#unless displayRawText}}{{#if htmlValue}}{{{htmlValue}}}{{else}}{{complexText value}}{{/if}}{{else}}{{breaklines value}}{{/unless}}</div></div>
|
||||
{{#if isCut}}<div
|
||||
class="see-more-container hidden"
|
||||
><a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="seeMoreText"
|
||||
><span class="fas fa-sm fa-chevron-down"></span> <span class="text">{{translate 'See more'}}</span></a></div>{{/if}}
|
||||
{{/if}}
|
||||
13
client/res/templates/fields/text/search.tpl
Normal file
13
client/res/templates/fields/text/search.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
<select class="form-control search-type input-sm">
|
||||
{{options searchTypeList searchType field='varcharSearchRanges'}}
|
||||
</select>
|
||||
<input
|
||||
type="text"
|
||||
class="main-element form-control input-sm"
|
||||
data-name="{{name}}"
|
||||
value="{{searchData.value}}"
|
||||
{{#if params.maxLength}}maxlength="{{params.maxLength}}"{{/if}}
|
||||
{{#if params.size}} size="{{params.size}}"{{/if}}
|
||||
autocomplete="espo-{{name}}"
|
||||
placeholder="{{translate 'Value'}}"
|
||||
>
|
||||
Reference in New Issue
Block a user