started home page panels

This commit is contained in:
2023-11-20 22:01:14 +01:00
parent c491aeba5a
commit b1ac1338fb
15 changed files with 610 additions and 10 deletions
@@ -0,0 +1,8 @@
uuid: 372cb172-d6e3-4b27-a761-e76e266b5b45
langcode: fr
status: true
dependencies: { }
id: node_link
label: 'node link'
revision: 0
description: ''
@@ -58,3 +58,29 @@ bc48e271-75cf-4c3f-a4aa-ecc3c573c060:
title: ''
width: '313'
height: '181'
1ca95211-9fa2-4ef2-a460-8184d1eaf20f:
uuid: 1ca95211-9fa2-4ef2-a460-8184d1eaf20f
id: '7'
info: 'Cahier des charges P1'
langcode: fr
type: node_link
reusable: '1'
fields:
field_node_link:
-
uri: 'internal:/node/4'
title: 'Voir le cahier des charges'
options: { }
1dd151e8-8a8b-4586-9e62-8905ba0c93e0:
uuid: 1dd151e8-8a8b-4586-9e62-8905ba0c93e0
id: '8'
info: 'Fiche Candidature P1'
langcode: fr
type: node_link
reusable: '1'
fields:
field_node_link:
-
uri: 'internal:/node/5'
title: 'Voir la fiche candidature'
options: { }
@@ -0,0 +1,38 @@
uuid: fb07595a-ee5d-4b30-a5df-1a8d5c757fb4
langcode: fr
status: true
dependencies:
config:
- block_content.type.node_link
- field.field.block_content.node_link.field_node_link
module:
- link
id: block_content.node_link.default
targetEntityType: block_content
bundle: node_link
mode: default
content:
field_node_link:
type: link_default
weight: 26
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
info:
type: string_textfield
weight: -5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
hidden: { }
@@ -0,0 +1,29 @@
uuid: 1b51854c-ade4-450a-a561-5c81ddff75ea
langcode: fr
status: true
dependencies:
config:
- block_content.type.node_link
- field.field.block_content.node_link.field_node_link
module:
- link
id: block_content.node_link.default
targetEntityType: block_content
bundle: node_link
mode: default
content:
field_node_link:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 0
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -0,0 +1,33 @@
uuid: ccd015fc-3642-4994-9801-f1aad9dca6bd
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.content_no_title
- field.field.node.static.body
- node.type.static
module:
- text
- user
_core:
default_config_hash: 9mgezio6-8HiMYhQHSfouZjKyY4BFKR71Yh4kbSmAYU
id: node.static.content_no_title
targetEntityType: node
bundle: static
mode: content_no_title
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -22,11 +22,7 @@ content:
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
langcode: true
links: true
search_api_excerpt: true
@@ -0,0 +1,33 @@
uuid: 36806a45-77cb-4e9d-ac6c-df6aecb7e789
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.static.body
- node.type.static
module:
- text
- user
_core:
default_config_hash: 9mgezio6-8HiMYhQHSfouZjKyY4BFKR71Yh4kbSmAYU
id: node.static.teaser
targetEntityType: node
bundle: static
mode: teaser
content:
body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
langcode: true
search_api_excerpt: true
@@ -0,0 +1,10 @@
uuid: b94aacba-39f7-4534-a4f0-61e7bde474bc
langcode: fr
status: true
dependencies:
module:
- node
id: node.content_no_title
label: 'Content no title'
targetEntityType: node
cache: true
@@ -0,0 +1,10 @@
uuid: ae57d4ba-b78a-401e-a1cc-a5e793550b19
langcode: fr
status: true
dependencies:
module:
- node
id: node.home_block
label: 'Home block'
targetEntityType: node
cache: true
@@ -0,0 +1,10 @@
uuid: 8dc4889f-60dc-4a58-a2dc-5a28e9060fb7
langcode: fr
status: true
dependencies:
module:
- node
id: node.panel
label: Panel
targetEntityType: node
cache: true
@@ -0,0 +1,23 @@
uuid: 8eef9238-646f-456b-9141-4d1207c4afe7
langcode: fr
status: true
dependencies:
config:
- block_content.type.node_link
- field.storage.block_content.field_node_link
module:
- link
id: block_content.node_link.field_node_link
field_name: field_node_link
entity_type: block_content
bundle: node_link
label: 'node link'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 2
link_type: 1
field_type: link
@@ -0,0 +1,19 @@
uuid: 60f49517-0843-43d9-8014-c587ddf6ee7a
langcode: fr
status: true
dependencies:
module:
- block_content
- link
id: block_content.field_node_link
field_name: field_node_link
entity_type: block_content
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,11 @@
uuid: b3265fd3-36cc-4111-b7e0-33bcf0e7ab6f
langcode: fr
status: true
dependencies:
config:
- block_content.type.node_link
id: block_content.node_link
target_entity_type_id: block_content
target_bundle: node_link
default_langcode: site_default
language_alterable: false
@@ -4,8 +4,12 @@ status: true
dependencies:
config:
- page_manager.page.home
- views.view.content_recent
- views.view.home
content:
- 'block_content:node_link:1ca95211-9fa2-4ef2-a460-8184d1eaf20f'
- 'block_content:node_link:1dd151e8-8a8b-4586-9e62-8905ba0c93e0'
module:
- block_content
- panels
- views
id: home-panels_variant-0
@@ -18,18 +22,54 @@ variant_settings:
weight: 0
uuid: 0fbd2adb-0261-47c0-a511-0ab1385ae1ae
blocks:
05363fa0-5849-4ffc-8ac5-c37613e5eeaa:
id: 'views_block:content_recent-block_1'
b297a6d7-a9c6-43a6-9010-3b5cd59ae3a8:
id: 'views_block:home-block_1'
label: ''
label_display: visible
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
region: content
weight: -1
uuid: b297a6d7-a9c6-43a6-9010-3b5cd59ae3a8
2335ebb2-2264-44b5-abfb-a0b7a925ff8f:
id: 'views_block:home-block_2'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
region: content
weight: 2
uuid: 2335ebb2-2264-44b5-abfb-a0b7a925ff8f
09241090-e75c-452c-b169-a7d78b57650e:
id: 'block_content:1ca95211-9fa2-4ef2-a460-8184d1eaf20f'
label: 'Cahier des charges P1'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
context_mapping: { }
region: content
weight: 0
uuid: 05363fa0-5849-4ffc-8ac5-c37613e5eeaa
uuid: 09241090-e75c-452c-b169-a7d78b57650e
366eef03-4014-46f7-9a07-988feb447ae2:
id: 'block_content:1dd151e8-8a8b-4586-9e62-8905ba0c93e0'
label: 'Fiche Candidature P1'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
context_mapping: { }
region: content
weight: 1
uuid: 366eef03-4014-46f7-9a07-988feb447ae2
page_title: ''
layout: layout_onecol
layout_settings:
+314
View File
@@ -0,0 +1,314 @@
uuid: 894ef913-8c1c-4474-a77f-583de066b66b
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
module:
- node
- text
- user
id: home
label: Home
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: Présentation
fields:
body:
id: body
table: node__body
field: body
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: text_default
settings: { }
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: some
options:
offset: 0
items_per_page: 1
exposed_form:
type: basic
options:
submit_button: Appliquer
reset_button: false
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: numeric
operator: '='
value:
min: ''
max: ''
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: default
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.body'
block_1:
id: block_1
display_title: Presentation
display_plugin: block
position: 1
display_options:
display_description: ''
display_extenders: { }
block_description: 'home node block présentation'
block_category: 'Node (Views)'
allow:
items_per_page: false
offset: '0'
pager: '0'
hide_fields: '0'
sort_fields: '0'
configure_filters: '0'
disable_filters: '0'
configure_sorts: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.body'
block_2:
id: block_2
display_title: 'Phase 1'
display_plugin: block
position: 2
display_options:
title: 'Phase 1'
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: numeric
operator: '='
value:
min: ''
max: ''
value: '3'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
min_placeholder: ''
max_placeholder: ''
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups:
operator: AND
groups:
1: AND
defaults:
title: false
filters: false
filter_groups: false
display_description: ''
display_extenders: { }
block_category: 'Node (Views)'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.body'