mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
ui impr
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<th style="width: 35%">{{translate 'Name' scope='FieldManager'}}</th>
|
||||
<th style="width: 35%">{{translate 'Label' scope='FieldManager'}}</th>
|
||||
<th style="width: 20%">{{translate 'Type' scope='FieldManager'}}</th>
|
||||
<th style="width: 10%; text-align: right;"></th>
|
||||
<th style="width: 8%; text-align: right;"></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each fieldDefsArray}}
|
||||
@@ -47,7 +47,22 @@
|
||||
<td>{{translate type category='fieldTypes' scope='Admin'}}</td>
|
||||
<td style="text-align: right">
|
||||
{{#if isCustom}}
|
||||
<a role="button" tabindex="0" data-action="removeField" data-name="{{name}}">{{translate 'Remove'}}</a>
|
||||
<div class="btn-group row-dropdown-group">
|
||||
<button
|
||||
class="btn btn-link btn-sm dropdown-toggle"
|
||||
data-toggle="dropdown"
|
||||
><span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="removeField"
|
||||
data-name="{{name}}"
|
||||
>{{translate 'Remove'}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -88,11 +88,24 @@
|
||||
</a>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td style="width: 10%; ; text-align: right">
|
||||
<td style="width: 10%; ; text-align: right" class="">
|
||||
{{#if isRemovable}}
|
||||
<a role="button" tabindex="0" data-action="removeLink" data-link="{{link}}">
|
||||
{{translate 'Remove'}}
|
||||
</a>
|
||||
<div class="btn-group row-dropdown-group">
|
||||
<button
|
||||
class="btn btn-link btn-sm dropdown-toggle"
|
||||
data-toggle="dropdown"
|
||||
><span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li>
|
||||
<a
|
||||
role="button"
|
||||
tabindex="0"
|
||||
data-action="removeLink"
|
||||
data-link="{{link}}"
|
||||
>{{translate 'Remove'}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -136,3 +136,17 @@ table th.cell-nowrap {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
table td {
|
||||
> .btn-group.row-dropdown-group {
|
||||
> .btn.dropdown-toggle {
|
||||
margin-top: -6px;
|
||||
margin-bottom: -6px;
|
||||
|
||||
> .caret {
|
||||
top: -1px;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user