diff --git a/src/views/ngrest/crud.php b/src/views/ngrest/crud.php index 353e25c5a..293faa91e 100644 --- a/src/views/ngrest/crud.php +++ b/src/views/ngrest/crud.php @@ -1,47 +1,47 @@ -beginPage(); -$this->beginBody(); - - -$groups = []; - -foreach ($config->getPointer('list') as $p) { - if ($this->context->isHiddenInList($p)) { - continue; - } - $groups[$p['name']] = $p['alias']; -} -$filters = ArrayHelper::combine(array_keys($config->getFilters())); -$filters = Angular::optionsArrayInput($filters); -?> -registerAngularControllerScript(); ?> +beginPage(); +$this->beginBody(); + + +$groups = []; + +foreach ($config->getPointer('list') as $p) { + if ($this->context->isHiddenInList($p)) { + continue; + } + $groups[$p['name']] = $p['alias']; +} +$filters = ArrayHelper::combine(array_keys($config->getFilters())); +$filters = Angular::optionsArrayInput($filters); +?> +registerAngularControllerScript(); ?>
- - + +

- - - - Module::t('crud_exportdata_col_format_xlsx'), 'csv' => Module::t('crud_exportdata_col_format_csv')]); ?> - Module::t('button_yes'), 0 => Module::t('button_no')]);?> - true]); ?> + + + + Module::t('crud_exportdata_col_format_xlsx'), 'csv' => Module::t('crud_exportdata_col_format_csv')]); ?> + Module::t('button_yes'), 0 => Module::t('button_no')]);?> + true]); ?>
@@ -63,17 +63,17 @@ visibility_off - context->getSettingButtonDefinitions() as $button): ?> - - + context->getSettingButtonDefinitions() as $button): ?> + +
- context->description): ?> + context->description): ?>

context->description); ?>

- - + + - +
- +
- +
@@ -141,75 +141,75 @@
- getFilters())): ?> + getFilters())): ?>
- +
- +
search {{ tag.name }}
- +
- getPointer('create')): ?> + getPointer('create')): ?> - +
- + - - getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; ?> + + getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; ?> - + - getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; ?> + getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; ?> - + ng-class="{'crud-selected-row': getRowPrimaryValue(item) == }"class="crud-selectable-row"> - + - - getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; - $i++; ?> - context->getColors($item))['cellColor'];?> + + getPointer('list') as $item): if ($this->context->isHiddenInList($item)): continue; endif; + $i++; ?> + context->getColors($item))['cellColor'];?> - +
- getDefaultOrderField() && $this->context->isSortable($item)): ?> + getDefaultOrderField() && $this->context->isSortable($item)): ?>
- context->getIcon($item)): ?> + context->getIcon($item)): ?> context->getIcon($item); ?> - + keyboard_arrow_up
- context->getIcon($item)): ?> + context->getIcon($item)): ?> context->getIcon($item); ?> - + keyboard_arrow_down
- - context->getIcon($item)): ?> + + context->getIcon($item)): ?> context->getIcon($item); ?> - + - +
context->generatePluginHtml($item, RenderCrud::TYPE_LIST); ?> keyboard_arrow_right keyboard_arrow_down
@@ -221,26 +221,26 @@ /> ng-click="parentSelectInline(item)" class="" ng-style='{"background-color": getParsedCellColor(item, )}' > - context->generatePluginHtml($item, RenderCrud::TYPE_LIST); ?> + context->generatePluginHtml($item, RenderCrud::TYPE_LIST); ?> - context->getButtons()) > 0): ?> + context->getButtons()) > 0): ?>
more_vert
- context->getButtons() as $item): ?> + context->getButtons() as $item): ?> - +
- +
lock_outline {{ getLockedName(config.tableName, item[config.pk]) }} @@ -262,35 +262,35 @@
- +
- getActiveSelections() as $buttonIndex => $selectionButtons): ?> + getActiveSelections() as $buttonIndex => $selectionButtons): ?> - +
- +
- getPointer('create')): ?> - render($this->context->crudFormView, ['type' => '1', 'renderer' => RenderCrud::TYPE_CREATE, 'isInline' => $isInline, 'relationCall' => $relationCall]); ?> - - getPointer('update')): ?> - render($this->context->crudFormView, ['type' => '2', 'renderer' => RenderCrud::TYPE_UPDATE, 'isInline' => $isInline, 'relationCall' => $relationCall]); ?> - - render($this->context->awFormView); ?> + getPointer('create')): ?> + render($this->context->crudFormView, ['type' => '1', 'renderer' => RenderCrud::TYPE_CREATE, 'isInline' => $isInline, 'relationCall' => $relationCall]); ?> + + getPointer('update')): ?> + render($this->context->crudFormView, ['type' => '2', 'renderer' => RenderCrud::TYPE_UPDATE, 'isInline' => $isInline, 'relationCall' => $relationCall]); ?> + + render($this->context->awFormView); ?>
-endBody(); ?> -endPage(); ?> +endBody(); ?> +endPage(); ?>