Initial commit
This commit is contained in:
7
client/res/templates/fields/formula/detail.tpl
Normal file
7
client/res/templates/fields/formula/detail.tpl
Normal file
@@ -0,0 +1,7 @@
|
||||
{{#if isNotEmpty}}
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-sm-12 col-xs-12">
|
||||
<div id="{{containerId}}">{{value}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{else}}<span class="none-value">{{translate 'None'}}</span>{{/if}}
|
||||
34
client/res/templates/fields/formula/edit.tpl
Normal file
34
client/res/templates/fields/formula/edit.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
<div class="formula-edit-container clearfix">
|
||||
<div>
|
||||
<div id="{{containerId}}">{{value}}</div>
|
||||
</div>
|
||||
{{#if hasSide}}
|
||||
<div>
|
||||
<div class="button-container">
|
||||
<div class="btn-group pull-right">
|
||||
{{#if hasCheckSyntax}}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-text btn-sm btn-icon"
|
||||
data-action="checkSyntax"
|
||||
title="{{translate 'Check Syntax' scope='Formula'}}"
|
||||
><span class="far fa-circle"></span></button>
|
||||
{{/if}}
|
||||
{{#if hasInsert}}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-text btn-sm dropdown-toggle btn-icon"
|
||||
data-toggle="dropdown"
|
||||
><span class="fas fa-plus"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
{{#if targetEntityType}}
|
||||
<li><a role="button" tabindex="0" data-action="addAttribute">{{translate 'Attribute'}}</a></li>
|
||||
{{/if}}
|
||||
<li><a role="button" tabindex="0" data-action="addFunction">{{translate 'Function'}}</a></li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user