mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
display improvement
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
/* SCSS variables (can be overloaded) */
|
||||
$ipb-object-brick--url-to-clipboard--opacity: 0.5 !default;
|
||||
$ipb-object-brick--url-to-clipboard-tooltip-copied--margin-right: $common-spacing-200!default;
|
||||
$ipb-object-brick--padding-small-horizontal: 10px!default;
|
||||
|
||||
|
||||
.url-to-clipboard{
|
||||
@@ -21,4 +22,16 @@ $ipb-object-brick--url-to-clipboard-tooltip-copied--margin-right: $common-spacin
|
||||
// Used for clipboard's tooltip, which is not part of .url-to-clipboard element
|
||||
.url-to-clipboard-tooltip-copied {
|
||||
margin-right: $ipb-object-brick--url-to-clipboard-tooltip-copied--margin-right;
|
||||
}
|
||||
}
|
||||
|
||||
.form_filter_container{
|
||||
position: relative;
|
||||
height: 2.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form_filter_class{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
padding-right: $ipb-object-brick--padding-small-horizontal;
|
||||
}
|
||||
|
||||
@@ -1096,6 +1096,7 @@ class ObjectController extends BrickController
|
||||
foreach ($aEnumChildClasses as $sClassName) {
|
||||
$aChildClasses[$sClassName] = MetaModel::GetName($sClassName);
|
||||
}
|
||||
asort($aChildClasses);
|
||||
$aData = $aData + [
|
||||
'bHasSubClasses' => true,
|
||||
'aSubClasses' => $aChildClasses,
|
||||
|
||||
@@ -9,14 +9,16 @@
|
||||
<div id="{{ sFormId }}">
|
||||
{#<div class="form_alerts"></div>#}
|
||||
{% if bHasSubClasses %}
|
||||
<div class="form_field_label">
|
||||
<label>{{ 'UI:SearchFor_Class'|dict_format('') }}</label>
|
||||
<select id="finalclass{{ sFormId }}">
|
||||
<option value="">{{ sParentClassName }}</option>
|
||||
{% for key, sClassName in aSubClasses %}
|
||||
<option value="{{ key }}">{{ sClassName }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="form_filter_container">
|
||||
<div class="form_filter_class dataTables_filter">
|
||||
<label class="dataTables_filter">{{ 'UI:SearchFor_Class'|dict_format('') }}</label>
|
||||
<select id="finalclass{{ sFormId }}">
|
||||
<option value="">{{ sParentClassName }}</option>
|
||||
{% for key, sClassName in aSubClasses %}
|
||||
<option value="{{ key }}">{{ sClassName }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="form_fields">
|
||||
|
||||
Reference in New Issue
Block a user