new: [UI] brought up to date with factory changes
parent
e9e13ba2ad
commit
a0570d853e
|
@ -73,8 +73,8 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'pull' => 'right',
|
'pull' => 'right',
|
||||||
'actions' => [
|
'actions' => [
|
||||||
[
|
[
|
||||||
'url' => '/endcrpyionKeys/view',
|
'onclick' => 'populateAndLoadModal(\'/encryptionKeys/edit/[onclick_params_data_path]\');',
|
||||||
'url_params_data_paths' => ['id'],
|
'onclick_params_data_path' => 'id',
|
||||||
'icon' => 'eye'
|
'icon' => 'eye'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -5,6 +5,17 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'top_bar' => [
|
'top_bar' => [
|
||||||
'pull' => 'right',
|
'pull' => 'right',
|
||||||
'children' => [
|
'children' => [
|
||||||
|
[
|
||||||
|
'type' => 'simple',
|
||||||
|
'children' => [
|
||||||
|
'data' => [
|
||||||
|
'type' => 'simple',
|
||||||
|
'text' => __('Add individual'),
|
||||||
|
'class' => 'btn btn-primary',
|
||||||
|
'popover_url' => '/individuals/add'
|
||||||
|
]
|
||||||
|
]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'type' => 'search',
|
'type' => 'search',
|
||||||
'button' => __('Filter'),
|
'button' => __('Filter'),
|
||||||
|
@ -58,8 +69,8 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'icon' => 'eye'
|
'icon' => 'eye'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'url' => '/individuals/edit',
|
'onclick' => 'populateAndLoadModal(\'/individuals/edit/[onclick_params_data_path]\');',
|
||||||
'url_params_data_paths' => ['id'],
|
'onclick_params_data_path' => 'id',
|
||||||
'icon' => 'edit'
|
'icon' => 'edit'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
echo $this->element(
|
echo $this->element(
|
||||||
'/genericElements/SingleViews/single_view',
|
'/genericElements/SingleViews/single_view',
|
||||||
[
|
[
|
||||||
'title' => __('Individual View'),
|
|
||||||
'data' => $entity,
|
'data' => $entity,
|
||||||
'fields' => [
|
'fields' => [
|
||||||
[
|
[
|
||||||
|
@ -32,7 +31,7 @@ echo $this->element(
|
||||||
[
|
[
|
||||||
'key' => __('Alignments'),
|
'key' => __('Alignments'),
|
||||||
'type' => 'alignment',
|
'type' => 'alignment',
|
||||||
'path' => 'alignments',
|
'path' => '',
|
||||||
'scope' => 'individuals'
|
'scope' => 'individuals'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,6 +5,17 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'top_bar' => [
|
'top_bar' => [
|
||||||
'pull' => 'right',
|
'pull' => 'right',
|
||||||
'children' => [
|
'children' => [
|
||||||
|
[
|
||||||
|
'type' => 'simple',
|
||||||
|
'children' => [
|
||||||
|
'data' => [
|
||||||
|
'type' => 'simple',
|
||||||
|
'text' => __('Add organisation'),
|
||||||
|
'class' => 'btn btn-primary',
|
||||||
|
'popover_url' => '/organisations/add'
|
||||||
|
]
|
||||||
|
]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'type' => 'search',
|
'type' => 'search',
|
||||||
'button' => __('Filter'),
|
'button' => __('Filter'),
|
||||||
|
@ -68,8 +79,8 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'icon' => 'eye'
|
'icon' => 'eye'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'url' => '/organisations/edit',
|
'onclick' => 'populateAndLoadModal(\'/organisations/edit/[onclick_params_data_path]\');',
|
||||||
'url_params_data_paths' => ['id'],
|
'onclick_params_data_path' => 'id',
|
||||||
'icon' => 'edit'
|
'icon' => 'edit'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
|
@ -40,7 +40,7 @@ echo $this->element(
|
||||||
[
|
[
|
||||||
'key' => __('Alignments'),
|
'key' => __('Alignments'),
|
||||||
'type' => 'alignment',
|
'type' => 'alignment',
|
||||||
'path' => 'alignments',
|
'path' => '',
|
||||||
'scope' => 'organisations'
|
'scope' => 'organisations'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
|
@ -5,6 +5,17 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'top_bar' => [
|
'top_bar' => [
|
||||||
'pull' => 'right',
|
'pull' => 'right',
|
||||||
'children' => [
|
'children' => [
|
||||||
|
[
|
||||||
|
'type' => 'simple',
|
||||||
|
'children' => [
|
||||||
|
'data' => [
|
||||||
|
'type' => 'simple',
|
||||||
|
'text' => __('Add role'),
|
||||||
|
'class' => 'btn btn-primary',
|
||||||
|
'popover_url' => '/roles/add'
|
||||||
|
]
|
||||||
|
]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'type' => 'search',
|
'type' => 'search',
|
||||||
'button' => __('Filter'),
|
'button' => __('Filter'),
|
||||||
|
@ -54,9 +65,9 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
||||||
'icon' => 'eye'
|
'icon' => 'eye'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'url' => '/roles/edit',
|
'onclick' => 'populateAndLoadModal(\'/roles/edit/[onclick_params_data_path]\');',
|
||||||
'url_params_data_paths' => ['id'],
|
'onclick_params_data_path' => 'id',
|
||||||
'icon' => 'edit'
|
'icon' => 'edit',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'onclick' => 'populateAndLoadModal(\'/roles/delete/[onclick_params_data_path]\');',
|
'onclick' => 'populateAndLoadModal(\'/roles/delete/[onclick_params_data_path]\');',
|
||||||
|
|
Loading…
Reference in New Issue