SmartIT_Extensions/BMC/smart-it-full/views/layout-configuration/layout-renderer/layout-renderer.html

33 lines
2.2 KiB
HTML

<div class="layout-renderer">
<div ng-repeat="parentPanel in screenLayout.panels" ng-if="parentPanel.layout !== 'fixed' && !parentPanel.emptyPanel" class="row layout-renderer__parent-row" aria-label="{{parentPanel.name}}" role="region" tabindex="0">
<div ng-if="parentPanel.layout == 'column'" ng-repeat="columnPanel in parentPanel.panels"
data-panel-id="{{columnPanel.name}}" class="col-sm-{{columnPanel.span}} layout-renderer__column">
<div ng-if="columnPanel.layout == 'row'" ng-repeat="childRowPanel in columnPanel.panels" class="row layout-renderer__child-row">
<div ng-if="childRowPanel.layout == 'column'" ng-repeat="childColumnPanel in childRowPanel.panels"
data-panel-id="{{childColumnPanel.name}}" class="col-sm-{{childColumnPanel.span}} layout-renderer__child-column">
<custom-field-area ticket="ticket"
metadata="metadata"
ng-if="panelChildrenCount(childColumnPanel.name) > 0"
panel-id="{{screenLayout.name}}.{{childColumnPanel.name}}"
stacked="true"
edit-mode="editMode"
is-new="isNew"
class="editable-content-section-block panel-field-area"
update-is-handled-by-parent="true">
</custom-field-area>
</div>
</div>
<custom-field-area ticket="ticket"
metadata="metadata"
ng-if="panelChildrenCount(columnPanel.name) > 0"
panel-id="{{screenLayout.name}}.{{columnPanel.name}}"
stacked="true"
edit-mode="editMode"
is-new="isNew"
class="editable-content-section-block panel-field-area"
update-is-handled-by-parent="true">
</custom-field-area>
</div>
</div>
</div>