{#
project: Pimcore - Devicenow
User: EBiermann
Year: 2022
#}
{% if editmode %}
<div class="admin-container admin-container--limited-width admin-container--section">
<div class="admin-container__section">
<span class="admin-container__title">{{ 'brick.section.title'|trans({}, 'admin') }}</span>
</div>
<div class="admin-container__configurations">
<div class="admin-config-item">
<span class="admin-config-item__label">{{ 'brick.section.option.no-margin-top'|trans({}, 'admin') }}:</span>
{{
pimcore_checkbox('nmt', { 'reload': true })
}}
<br>
<span class="admin-config-item__label">{{ 'brick.section.option.no-margin-bottom'|trans({}, 'admin') }}:</span>
{{
pimcore_checkbox('nmb', { 'reload': true })
}}
</div>
<div class="admin-config-item">
<span class="admin-config-item__label">{{ 'brick.section.option.jump-id'|trans({}, 'admin') }}:</span>
{{
pimcore_input('jump-id', { 'reload': false })
}}
<br>
<span class="admin-config-item__label">{{ 'brick.section.option.bgc'|trans({}, 'admin') }}:</span>
{{
pimcore_select('bgc', {
'store': [
['', 'None'],
['section--background section--bgc-0', 'brick.general.value.bgc.0'|trans({}, 'admin')],
['section--background section--bgc-1', 'brick.general.value.bgc.1'|trans({}, 'admin')],
['section--background section--bgc-2', 'brick.general.value.bgc.2'|trans({}, 'admin')],
['section--background section--bgc-3', 'brick.general.value.bgc.3'|trans({}, 'admin')],
['section--background section--bgc-4', 'brick.general.value.bgc.4'|trans({}, 'admin')],
],
'defaultValue': '',
'reload': true
})
}}
</div>
</div>
</div>
{% endif %}
<div class="section section--content {{ cssClasses|join(' ') }}" id="{{ jumpid }}" data-bgc="{{ backgroundColorClass|default('') }}">
{%
include 'includes/areabrick.html.twig' with {
'id': id,
'controlsAlign': 'top',
'sectionIndex': info.index,
'allowed': allowed
}
%}
</div>