1 Commits

Author SHA1 Message Date
3a68d5a2c8 home map label 2025-03-01 23:11:49 +01:00
55 changed files with 93 additions and 2402 deletions

View File

@ -1,22 +0,0 @@
uuid: d94e3e27-6ebe-416a-a837-814976df1c48
langcode: fr
status: true
dependencies:
config:
- node.type.ressource
id: node.ressource.promote
field_name: promote
entity_type: node
bundle: ressource
label: "Promu en page d'accueil"
description: ''
required: false
translatable: true
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@ -4,13 +4,10 @@ status: true
dependencies:
config:
- field.field.node.actualite.body
- field.field.node.actualite.field_a_la_une
- field.field.node.actualite.field_date
- field.field.node.actualite.field_fichiers
- field.field.node.actualite.field_images
- field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid
- field.field.node.actualite.field_site
- field.field.node.actualite.field_type_d_actualite
- image.style.thumbnail
- node.type.actualite
@ -28,9 +25,8 @@ third_party_settings:
group_details:
children:
- status
- sticky
- promote
- field_a_la_une
- field_poid
- uid
- created
- path
@ -39,7 +35,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 8
weight: 7
format_type: details_sidebar
format_settings:
classes: ''
@ -49,7 +45,7 @@ third_party_settings:
open: true
description: ''
required_fields: true
weight: -100
weight: 0
id: node.actualite.default
targetEntityType: node
bundle: actualite
@ -57,7 +53,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 4
weight: 3
region: content
settings:
rows: 9
@ -67,33 +63,26 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 13
weight: 12
region: content
settings: { }
third_party_settings: { }
field_a_la_une:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
field_date:
type: daterange_default
weight: 3
weight: 2
region: content
settings: { }
third_party_settings: { }
field_fichiers:
type: file_generic
weight: 5
weight: 4
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_images:
type: image_image
weight: 7
weight: 6
region: content
settings:
progress_indicator: throbber
@ -101,29 +90,12 @@ content:
third_party_settings: { }
field_liens:
type: link_default
weight: 6
weight: 5
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_poid:
type: number
weight: 11
region: content
settings:
placeholder: ''
third_party_settings: { }
field_site:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_type_d_actualite:
type: autocomplete_deluxe
weight: 1
@ -143,24 +115,24 @@ content:
third_party_settings: { }
path:
type: path
weight: 14
weight: 13
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 9
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 15
weight: 14
region: content
settings: { }
third_party_settings: { }
simple_sitemap_index_now:
weight: 16
weight: 15
region: content
settings: { }
third_party_settings: { }
@ -171,6 +143,13 @@ content:
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
@ -179,14 +158,9 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 9
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 12
weight: 11
region: content
settings:
match_operator: CONTAINS
@ -196,4 +170,3 @@ content:
third_party_settings: { }
hidden:
langcode: true
sticky: true

View File

@ -1,172 +0,0 @@
uuid: 5f6514ac-c1c0-4b1b-8937-407908b2ca9d
langcode: fr
status: true
dependencies:
config:
- field.field.node.ressource.body
- field.field.node.ressource.field_author
- field.field.node.ressource.field_date_ressource
- field.field.node.ressource.field_documents
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_type_de_ressource
- image.style.thumbnail
- node.type.ressource
module:
- datetime
- field_group
- file
- image
- link
- path
- text
third_party_settings:
field_group:
group_details:
children:
- field_date_ressource
- field_author
- field_type_de_ressource
- field_mots_clefs
- status
- promote
- path
label: Details
region: content
parent_name: ''
weight: 6
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: false
id: ''
label_as_html: false
open: true
description: ''
required_fields: true
weight: -100
id: node.ressource.default
targetEntityType: node
bundle: ressource
mode: default
content:
body:
type: text_textarea_with_summary
weight: 3
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
field_author:
type: string_textfield
weight: 38
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_date_ressource:
type: datetime_default
weight: 37
region: content
settings: { }
third_party_settings: { }
field_documents:
type: file_generic
weight: 5
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_images:
type: image_image
weight: 4
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_liens:
type: link_default
weight: 6
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_mots_clefs:
type: entity_reference_autocomplete
weight: 40
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_site:
type: entity_reference_autocomplete
weight: 2
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_sous_titre:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_type_de_ressource:
type: options_select
weight: 39
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 43
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 42
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 41
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
hidden:
created: true
langcode: true
simple_sitemap: true
simple_sitemap_index_now: true
sticky: true
translation: true
uid: true

View File

@ -4,13 +4,10 @@ status: true
dependencies:
config:
- field.field.node.actualite.body
- field.field.node.actualite.field_a_la_une
- field.field.node.actualite.field_date
- field.field.node.actualite.field_fichiers
- field.field.node.actualite.field_images
- field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid
- field.field.node.actualite.field_site
- field.field.node.actualite.field_type_d_actualite
- image.style.wide
- node.type.actualite
@ -31,7 +28,7 @@ content:
label: hidden
settings: { }
third_party_settings: { }
weight: 4
weight: 3
region: content
field_date:
type: daterange_default
@ -41,7 +38,7 @@ content:
format_type: jj
separator: '-'
third_party_settings: { }
weight: 6
weight: 5
region: content
field_fichiers:
type: file_default
@ -49,7 +46,7 @@ content:
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 7
weight: 6
region: content
field_images:
type: image_caption
@ -72,15 +69,7 @@ content:
rel: ''
target: ''
third_party_settings: { }
weight: 8
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 2
weight: 7
region: content
field_type_d_actualite:
type: entity_reference_label
@ -88,16 +77,16 @@ content:
settings:
link: true
third_party_settings: { }
weight: 5
weight: 4
region: content
links:
settings: { }
third_party_settings: { }
weight: 3
weight: 2
region: content
title:
type: title
label: visually_hidden
label: hidden
settings:
link_to_entity: true
tag: h2
@ -106,8 +95,6 @@ content:
region: content
hidden:
created: true
field_a_la_une: true
field_poid: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -5,13 +5,10 @@ dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.actualite.body
- field.field.node.actualite.field_a_la_une
- field.field.node.actualite.field_date
- field.field.node.actualite.field_fichiers
- field.field.node.actualite.field_images
- field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid
- field.field.node.actualite.field_site
- field.field.node.actualite.field_type_d_actualite
- image.style.wide
- node.type.actualite
@ -29,7 +26,7 @@ mode: full
content:
body:
type: text_default
label: visually_hidden
label: hidden
settings: { }
third_party_settings: { }
weight: 2
@ -42,7 +39,7 @@ content:
format_type: jj
separator: '-'
third_party_settings: { }
weight: 5
weight: 4
region: content
field_fichiers:
type: file_default
@ -50,7 +47,7 @@ content:
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 6
weight: 5
region: content
field_images:
type: image_caption
@ -73,15 +70,7 @@ content:
rel: '0'
target: _blank
third_party_settings: { }
weight: 7
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 3
weight: 6
region: content
field_type_d_actualite:
type: entity_reference_label
@ -89,11 +78,11 @@ content:
settings:
link: true
third_party_settings: { }
weight: 4
weight: 3
region: content
title:
type: title
label: visually_hidden
label: hidden
settings:
link_to_entity: true
tag: h2
@ -102,8 +91,6 @@ content:
region: content
hidden:
created: true
field_a_la_une: true
field_poid: true
langcode: true
links: true
search_api_excerpt: true

View File

@ -5,13 +5,10 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.actualite.body
- field.field.node.actualite.field_a_la_une
- field.field.node.actualite.field_date
- field.field.node.actualite.field_fichiers
- field.field.node.actualite.field_images
- field.field.node.actualite.field_liens
- field.field.node.actualite.field_poid
- field.field.node.actualite.field_site
- field.field.node.actualite.field_type_d_actualite
- image.style.wide
- node.type.actualite
@ -27,11 +24,11 @@ mode: teaser
content:
body:
type: text_summary_or_trimmed
label: visually_hidden
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 5
weight: 4
region: content
field_date:
type: daterange_default
@ -41,7 +38,7 @@ content:
format_type: jj
separator: '-'
third_party_settings: { }
weight: 3
weight: 2
region: content
field_images:
type: image_delta_formatter
@ -56,14 +53,6 @@ content:
third_party_settings: { }
weight: 0
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 2
region: content
field_type_d_actualite:
type: entity_reference_label
label: visually_hidden
@ -74,19 +63,17 @@ content:
region: content
title:
type: title
label: visually_hidden
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: 4
weight: 3
region: content
hidden:
created: true
field_a_la_une: true
field_fichiers: true
field_liens: true
field_poid: true
langcode: true
links: true
search_api_excerpt: true

View File

@ -1,135 +0,0 @@
uuid: adb8c188-f1f2-4af8-a7d8-b30f7f00bc7e
langcode: fr
status: true
dependencies:
config:
- field.field.node.ressource.body
- field.field.node.ressource.field_author
- field.field.node.ressource.field_date_ressource
- field.field.node.ressource.field_documents
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_type_de_ressource
- image.style.wide
- node.type.ressource
module:
- datetime
- file
- image_field_caption
- link
- manage_display
- text
id: node.ressource.default
targetEntityType: node
bundle: ressource
mode: default
content:
body:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 101
region: content
field_author:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 104
region: content
field_date_ressource:
type: datetime_default
label: above
settings:
timezone_override: ''
format_type: medium
third_party_settings: { }
weight: 105
region: content
field_documents:
type: file_default
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 9
region: content
field_images:
type: image_caption
label: visually_hidden
settings:
image_style: wide
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
field_liens:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 8
region: content
field_mots_clefs:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 103
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 2
region: content
field_sous_titre:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 12
region: content
field_type_de_ressource:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 102
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: visually_hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
created: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -1,84 +0,0 @@
uuid: 45a63a0a-0506-4867-b21f-37b6a3925565
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.ressource.body
- field.field.node.ressource.field_author
- field.field.node.ressource.field_date_ressource
- field.field.node.ressource.field_documents
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_type_de_ressource
- image.style.wide
- node.type.ressource
module:
- image_field_caption
- link
- manage_display
id: node.ressource.full
targetEntityType: node
bundle: ressource
mode: full
content:
field_images:
type: image_caption
label: visually_hidden
settings:
image_style: wide
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
field_liens:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: '0'
target: _blank
third_party_settings: { }
weight: 7
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 3
region: content
links:
settings: { }
third_party_settings: { }
weight: 100
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: -49
region: content
hidden:
body: true
created: true
field_author: true
field_date_ressource: true
field_documents: true
field_mots_clefs: true
field_sous_titre: true
field_type_de_ressource: true
langcode: true
search_api_excerpt: true
uid: true

View File

@ -1,127 +0,0 @@
uuid: 3f0f8894-1ae2-4505-893d-99821e7539e3
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.ressource.body
- field.field.node.ressource.field_author
- field.field.node.ressource.field_date_ressource
- field.field.node.ressource.field_documents
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_type_de_ressource
- image.style.wide
- node.type.ressource
module:
- datetime
- file
- image_delta_formatter
- link
- manage_display
- text
id: node.ressource.teaser
targetEntityType: node
bundle: ressource
mode: teaser
content:
body:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 5
region: content
field_author:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
region: content
field_date_ressource:
type: datetime_default
label: visually_hidden
settings:
timezone_override: ''
format_type: html_year
third_party_settings: { }
weight: 4
region: content
field_documents:
type: file_default
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 8
region: content
field_images:
type: image_delta_formatter
label: visually_hidden
settings:
deltas: '0'
image_style: wide
image_link: content
image_loading:
attribute: lazy
deltas_reversed: 0
third_party_settings: { }
weight: 0
region: content
field_liens:
type: link
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: nofollow
target: _blank
third_party_settings: { }
weight: 9
region: content
field_mots_clefs:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 6
region: content
field_site:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 7
region: content
field_sous_titre:
type: string
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 2
region: content
title:
type: title
label: visually_hidden
settings:
link_to_entity: false
tag: h2
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
field_type_de_ressource: true
langcode: true
links: true
search_api_excerpt: true
uid: true

View File

@ -1,21 +0,0 @@
uuid: 05b5311c-5cef-418f-a468-1569bb441a09
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_a_la_une
- node.type.actualite
id: node.actualite.field_a_la_une
field_name: field_a_la_une
entity_type: node
bundle: actualite
label: 'À la une'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
on_label: '0'
off_label: '1'
field_type: boolean

View File

@ -1,25 +0,0 @@
uuid: 26ce13e5-43f8-46ad-ac01-f69034d899ee
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_poid
- node.type.actualite
id: node.actualite.field_poid
field_name: field_poid
entity_type: node
bundle: actualite
label: Poid
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
min: -20
max: 20
prefix: ''
suffix: ''
field_type: integer

View File

@ -1,29 +0,0 @@
uuid: d43754c9-8376-45dc-8708-eb8700dc1e40
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_site
- node.type.actualite
- node.type.site
id: node.actualite.field_site
field_name: field_site
entity_type: node
bundle: actualite
label: Site
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
site: site
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -1,24 +0,0 @@
uuid: 66103df0-da1e-41f9-bb32-8318dffd0e31
langcode: fr
status: true
dependencies:
config:
- field.storage.node.body
- node.type.ressource
module:
- text
id: node.ressource.body
field_name: body
entity_type: node
bundle: ressource
label: Body
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary

View File

@ -1,19 +0,0 @@
uuid: f83890ab-aef5-449f-ae4a-4c80663b6b5a
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_author
- node.type.ressource
id: node.ressource.field_author
field_name: field_author
entity_type: node
bundle: ressource
label: Author
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,21 +0,0 @@
uuid: 25475d89-cd91-44e3-b174-148b0c35d5b0
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_date_ressource
- node.type.ressource
module:
- datetime
id: node.ressource.field_date_ressource
field_name: field_date_ressource
entity_type: node
bundle: ressource
label: 'Date ressource'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: datetime

View File

@ -1,27 +0,0 @@
uuid: c4bfd289-0a8f-4c18-9c82-f4eac5404b97
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_documents
- node.type.ressource
module:
- file
id: node.ressource.field_documents
field_name: field_documents
entity_type: node
bundle: ressource
label: Documents
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'pdf doc docx odt zip'
max_filesize: ''
description_field: true
field_type: file

View File

@ -1,41 +0,0 @@
uuid: 98815009-73e8-406f-94f6-c058e183c593
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_images
- node.type.ressource
module:
- image
id: node.ressource.field_images
field_name: field_images
entity_type: node
bundle: ressource
label: Images
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:file'
handler_settings: { }
file_directory: '[date:custom:Y]-[date:custom:m]'
file_extensions: 'png gif jpg jpeg webp'
max_filesize: ''
max_resolution: ''
min_resolution: ''
alt_field: true
alt_field_required: true
title_field: false
title_field_required: false
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
caption_field: true
caption_field_required: false
field_type: image

View File

@ -1,23 +0,0 @@
uuid: 6062cb80-47a5-4e32-82d2-610a423c6417
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_liens
- node.type.ressource
module:
- link
id: node.ressource.field_liens
field_name: field_liens
entity_type: node
bundle: ressource
label: Liens
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 17
field_type: link

View File

@ -1,29 +0,0 @@
uuid: f5f2e2df-951c-44c1-b01b-159fb16476ed
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_mots_clefs
- node.type.ressource
- taxonomy.vocabulary.mots_clefs
id: node.ressource.field_mots_clefs
field_name: field_mots_clefs
entity_type: node
bundle: ressource
label: 'Mots Clefs'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
mots_clefs: mots_clefs
sort:
field: name
direction: asc
auto_create: true
auto_create_bundle: ''
field_type: entity_reference

View File

@ -1,29 +0,0 @@
uuid: 9e9e9ad3-dedd-4f7f-af77-7ae535fe1df2
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_site
- node.type.ressource
- node.type.site
id: node.ressource.field_site
field_name: field_site
entity_type: node
bundle: ressource
label: Site
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:node'
handler_settings:
target_bundles:
site: site
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -1,19 +0,0 @@
uuid: 3b233ce4-e6a7-444c-9067-442f3baa2015
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_sous_titre
- node.type.ressource
id: node.ressource.field_sous_titre
field_name: field_sous_titre
entity_type: node
bundle: ressource
label: Sous-titre
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@ -1,29 +0,0 @@
uuid: 83e348de-356e-4b22-a7ba-42202e0f0bc9
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_type_de_ressource
- node.type.ressource
- taxonomy.vocabulary.type_de_ressources
id: node.ressource.field_type_de_ressource
field_name: field_type_de_ressource
entity_type: node
bundle: ressource
label: 'Type de ressource'
description: ''
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
type_de_ressources: type_de_ressources
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -1,18 +0,0 @@
uuid: b0424fee-54df-43ee-8d54-7013ab406b7c
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_a_la_une
field_name: field_a_la_une
entity_type: node
type: boolean
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,21 +0,0 @@
uuid: 852e6be3-3c1d-4485-a000-876397be9b45
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_author
field_name: field_author
entity_type: node
type: string
settings:
max_length: 255
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,20 +0,0 @@
uuid: 43d164f6-4501-48cc-a2e5-eb701e6c6d21
langcode: fr
status: true
dependencies:
module:
- datetime
- node
id: node.field_date_ressource
field_name: field_date_ressource
entity_type: node
type: datetime
settings:
datetime_type: date
module: datetime
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,20 +0,0 @@
uuid: f5777a85-570b-4649-810b-01ed076a81a8
langcode: fr
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_mots_clefs
field_name: field_mots_clefs
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,19 +0,0 @@
uuid: 24bbcef2-8dbc-44ed-a7e3-4d900a29c248
langcode: fr
status: true
dependencies:
module:
- node
id: node.field_site
field_name: field_site
entity_type: node
type: entity_reference
settings:
target_type: node
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,20 +0,0 @@
uuid: e3a010c9-5d30-46bc-b727-24c487a15c41
langcode: fr
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_type_de_ressource
field_name: field_type_de_ressource
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -1,16 +0,0 @@
uuid: 6ec62191-6645-4b71-ac91-eb6f0c51b697
langcode: fr
status: true
dependencies:
config:
- node.type.ressource
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
id: node.ressource
target_entity_type_id: node
target_bundle: ressource
default_langcode: site_default
language_alterable: false

View File

@ -1,16 +0,0 @@
uuid: 1ccfb483-1baf-4187-b11a-2c66bfcf539e
langcode: fr
status: true
dependencies:
config:
- taxonomy.vocabulary.type_de_ressources
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
id: taxonomy_term.type_de_ressources
target_entity_type_id: taxonomy_term
target_bundle: type_de_ressources
default_langcode: site_default
language_alterable: false

View File

@ -3,7 +3,3 @@ display:
default:
display_options:
title: Partners
page_1:
display_options:
menu:
title: Partners

View File

@ -1,17 +0,0 @@
uuid: fd0b8b19-53d7-45f9-8b56-ec766e0c8315
langcode: fr
status: true
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus: { }
parent: ''
name: Ressource
type: ressource
description: ''
help: ''
new_revision: true
preview_mode: 0
display_submitted: true

View File

@ -69,20 +69,11 @@ variant_settings:
context_mapping:
entity: node
formatter:
type: formatter_suite_general_file_link
type: file_default
weight: 0
label: visually_hidden
settings:
titleStyle: text_from_link
titleCustomText: ''
showSize: 0
showIcon: 0
classes: ''
showLink: 1
openLinkIn: _blank
linkTopic: any
listStyle: span
listSeparator: ', '
use_description_as_link_text: true
third_party_settings: { }
region: third
weight: -5

View File

@ -1 +1 @@
index_now: true
index_now: false

View File

@ -1 +1 @@
index_now: true
index_now: false

View File

@ -1,8 +0,0 @@
uuid: 60fb2e60-a1b5-4be9-ad00-63d8cccd03c9
langcode: fr
status: true
dependencies: { }
name: 'Type de ressources'
vid: type_de_ressources
description: ''
weight: 0

View File

@ -7,7 +7,6 @@ dependencies:
- filter.format.wysiwyg
- node.type.actualite
- node.type.partenaire
- node.type.ressource
- node.type.site
- node.type.static
module:
@ -46,21 +45,17 @@ permissions:
- 'create actualite content'
- 'create content translations'
- 'create partenaire content'
- 'create ressource content'
- 'create site content'
- 'create static content'
- 'delete any actualite content'
- 'delete any partenaire content'
- 'delete any ressource content'
- 'delete any site content'
- 'delete any static content'
- 'delete partenaire revisions'
- 'delete ressource revisions'
- 'delete site revisions'
- 'edit any actualite content'
- 'edit any logo_link block content'
- 'edit any partenaire content'
- 'edit any ressource content'
- 'edit any site content'
- 'edit any static content'
- 'edit deroulement config page entity'
@ -82,7 +77,6 @@ permissions:
- 'execute views_bulk_edit all'
- 'revert actualite revisions'
- 'revert partenaire revisions'
- 'revert ressource revisions'
- 'revert site revisions'
- 'revert static revisions'
- 'translate editable entities'
@ -94,7 +88,6 @@ permissions:
- 'view any logo_link block content history'
- 'view own unpublished content'
- 'view partenaire revisions'
- 'view ressource revisions'
- 'view site revisions'
- 'view static revisions'
- 'view the administration theme'

View File

@ -6,7 +6,6 @@ dependencies:
- filter.format.wysiwyg
- node.type.actualite
- node.type.partenaire
- node.type.ressource
- node.type.site
- node.type.static
module:
@ -35,15 +34,12 @@ permissions:
- 'create actualite content'
- 'create content translations'
- 'create partenaire content'
- 'create ressource content'
- 'create site content'
- 'create static content'
- 'delete partenaire revisions'
- 'delete ressource revisions'
- 'delete site revisions'
- 'edit any actualite content'
- 'edit any partenaire content'
- 'edit any ressource content'
- 'edit any site content'
- 'edit any static content'
- 'edit deroulement config page entity'
@ -56,7 +52,6 @@ permissions:
- 'execute node_unpromote_action node'
- 'revert actualite revisions'
- 'revert partenaire revisions'
- 'revert ressource revisions'
- 'revert site revisions'
- 'revert static revisions'
- 'translate editable entities'
@ -67,7 +62,6 @@ permissions:
- 'view actualite revisions'
- 'view own unpublished content'
- 'view partenaire revisions'
- 'view ressource revisions'
- 'view site revisions'
- 'view static revisions'
- 'view the administration theme'

View File

@ -3,11 +3,9 @@ langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.full
- core.entity_view_mode.node.teaser
- node.type.actualite
- system.menu.entete
module:
- datetime
- node
- user
id: actus
@ -96,7 +94,23 @@ display:
type: tag
options: { }
empty: { }
sorts: { }
sorts:
created:
id: created
table: node_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
arguments: { }
filters:
status:
@ -166,8 +180,7 @@ display:
row:
type: 'entity:node'
options:
relationship: none
view_mode: full
view_mode: teaser
query:
type: views_query
options:
@ -190,121 +203,10 @@ display:
tags: { }
block_1:
id: block_1
display_title: 'Block Home'
display_title: Block
display_plugin: block
position: 1
display_options:
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: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
actualite: actualite
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
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
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
promote:
id: promote
table: node_field_data
field: promote
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: promote
plugin_id: boolean
operator: '='
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
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:
filters: false
filter_groups: false
display_description: ''
display_extenders:
matomo:
enabled: false
@ -326,335 +228,3 @@ display:
- 'user.node_grants:view'
- user.permissions
tags: { }
block_2:
id: block_2
display_title: 'Block Archives'
display_plugin: block
position: 3
display_options:
title: Archives
sorts:
field_date_end_value:
id: field_date_end_value
table: node__field_date
field: field_date_end_value
relationship: none
group_type: group
admin_label: ''
plugin_id: datetime
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
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: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
actualite: actualite
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
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
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
field_a_la_une_value:
id: field_a_la_une_value
table: node__field_a_la_une
field: field_a_la_une_value
relationship: none
group_type: group
admin_label: ''
plugin_id: boolean
operator: '='
value: '0'
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
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
sorts: false
filters: false
filter_groups: false
display_description: ''
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
simple_sitemap_display_extender: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1:
id: page_1
display_title: 'Page à la une'
display_plugin: page
position: 2
display_options:
title: 'À la une'
sorts:
field_date_end_value:
id: field_date_end_value
table: node__field_date
field: field_date_end_value
relationship: none
group_type: group
admin_label: ''
plugin_id: datetime
order: DESC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
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: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
actualite: actualite
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_interface***': '***LANGUAGE_language_interface***'
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
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
field_a_la_une_value:
id: field_a_la_une_value
table: node__field_a_la_une
field: field_a_la_une_value
relationship: none
group_type: group
admin_label: ''
plugin_id: boolean
operator: '='
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
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
sorts: false
filters: false
filter_groups: false
footer: false
display_description: ''
footer:
view:
id: view
table: views
field: view
relationship: none
group_type: group
admin_label: ''
plugin_id: view
empty: false
view_to_insert: 'actus:block_2'
inherit_arguments: false
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
simple_sitemap_display_extender:
variants: { }
path: actualites
menu:
type: normal
title: Actualites
description: ''
weight: -47
expanded: false
menu_name: entete
parent: ''
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }

View File

@ -1,236 +0,0 @@
uuid: 654fc199-3308-4596-9416-82650cc9301a
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.storage.node.field_type_de_ressource
- node.type.ressource
- system.menu.entete
module:
- node
- taxonomy
- user
id: ressources
label: Ressources
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: Ressources
fields:
field_type_de_ressource:
id: field_type_de_ressource
table: node__field_type_de_ressource
field: field_type_de_ressource
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: target_id
type: entity_reference_entity_view
settings:
view_mode: default
group_column: target_id
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: none
options:
offset: 0
items_per_page: 0
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:
field_type_de_ressource_target_id:
id: field_type_de_ressource_target_id
table: node__field_type_de_ressource
field: field_type_de_ressource_target_id
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
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: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
ressource: ressource
style:
type: default
options:
grouping:
-
field: field_type_de_ressource
rendered: true
rendered_strip: false
row_class: ''
default_row_class: true
uses_fields: true
row:
type: 'entity:node'
options:
relationship: none
view_mode: teaser
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships:
field_type_de_ressource:
id: field_type_de_ressource
table: node__field_type_de_ressource
field: field_type_de_ressource
relationship: none
group_type: group
admin_label: 'field_type_de_ressource : Terme de taxonomie'
plugin_id: standard
required: true
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.field_type_de_ressource'
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders:
matomo:
enabled: false
keyword_gets: ''
keyword_behavior: first
keyword_concat_separator: ' '
category_behavior: none
category_gets: ''
category_concat_separator: ' '
category_fallback: ''
category_facets: { }
category_facets_concat_separator: ', '
simple_sitemap_display_extender:
variants: { }
path: ressources
menu:
type: normal
title: Ressources
description: ''
weight: -46
expanded: false
menu_name: entete
parent: ''
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_type_de_ressource'

View File

@ -11,7 +11,7 @@
function q2d_mod_theme() {
return array(
'svg_mapsites' => array(
'variables' => array('vpw' => null, 'vph' => null, 'sites' => []),
'variables' => array('vpw' => null, 'vph' => null, 'sites' => [], 'label' => null),
),
);
}

View File

@ -101,6 +101,7 @@ class SitesMap extends BlockBase {
],
'svg_mapsites' => [
'#theme' => 'svg_mapsites',
'#label' => "Les 10 sites de projet",
'#sites' => $sites_paths,
'#vpw' => $vp_w,
'#vph' => $vp_h,
@ -117,6 +118,7 @@ class SitesMap extends BlockBase {
// '#markup' => $this->t('Hello, Sites Map!'),
// ];
}
public function getCacheMaxAge() {
return 0;
}

View File

@ -1,4 +1,7 @@
<div id="sites-map-container">
<h2>{{label}}</h2>
{# <svg {{ svg_attributes }}>
<path {{ path_attributes }}></path>
</svg> #}

File diff suppressed because one or more lines are too long

View File

@ -3467,7 +3467,6 @@ body {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div {
display: flex;
flex-direction: row;
margin-bottom: 1rem;
}
@media (max-width: 500px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div {
@ -3509,20 +3508,17 @@ body {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .documents-liens-wrapper .field_field_documents {
margin-bottom: 0.3rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site,
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site {
display: flex;
flex-direction: column !important;
}
@media (max-width: 810px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site,
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site {
max-width: 50%;
margin: auto;
}
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a,
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a {
display: inline-flex;
align-items: center;
color: white;
@ -3532,12 +3528,10 @@ body {
font-size: 0.6rem;
margin-bottom: 0.3rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a svg,
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a svg {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a svg {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a::after,
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field--type-file a::after {
.node-type-site .layout--threecol-25-50-25 .layout__region--third .field_field_liens_site a::after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
@ -3577,6 +3571,10 @@ body {
flex-direction: column;
}
.html.js.sr body.node-type-site.node-id-40 div.dialog-off-canvas-main-canvas div#page-node.layout-container main div.layout-content div.content_container div.layout.layout--threecol-25-50-25 div.layout__region.layout__region--third div.block-region-third div div.field_field_documents div div span {
visibility: hidden;
}
main {
background-color: #f6f7f3;
}
@ -3696,135 +3694,4 @@ main {
height: auto;
aspect-ratio: 1/1;
object-fit: cover;
}
#ressources {
background-color: #f6f7f3;
}
#ressources .layout-content .content_container {
display: flex;
flex-direction: column;
align-items: center;
}
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 1rem;
width: fit-content;
}
@media (max-width: 810px) {
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 14rem;
}
}
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
text-transform: none;
color: black;
font-size: 2rem;
font-family: "gilroy-medium";
}
#ressources .layout-content .content_container .views-element-container {
margin-left: 15%;
width: 70%;
}
#ressources .layout-content .content_container .views-element-container .group-content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
#ressources .layout-content .content_container .views-element-container .group-content h3 {
text-align: center;
flex: 0 0 100%;
}
#ressources .layout-content .content_container .views-element-container .group-content h3::before {
content: "";
display: block;
border-bottom: solid 2px rgb(7, 50, 194);
margin: auto;
}
#ressources .layout-content .content_container .views-element-container .group-content h3 div .field_name h2 a {
font-family: "gilroy-light";
color: rgb(7, 50, 194);
font-size: 2rem;
}
#ressources .layout-content .content_container .views-element-container .group-content h3 div .field_description {
font-family: "gilroy-light";
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row {
width: 30%;
font-size: 0.5rem;
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row h2 {
font-family: "gilroy-semibold";
color: rgb(7, 50, 194);
font-size: 0.6rem;
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row p {
font-size: 0.5rem;
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row .field_field_mots_clefs div {
display: flex;
flex-direction: row;
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row .field_field_mots_clefs div div {
border: solid 1px rgb(7, 50, 194);
margin-right: 0.2rem;
padding: 1.3%;
padding-bottom: 0.2%;
padding-top: 0.2%;
font-size: 0.4rem;
font-family: "gilroy-semibold";
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row .field_field_mots_clefs div div a {
color: rgb(7, 50, 194);
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row .field_field_site div a {
position: relative;
padding-left: 20px;
color: rgb(247, 0, 43);
font-family: "gilroy-semibold";
}
#ressources .layout-content .content_container .views-element-container .group-content .views-row .field_field_site div a:before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 1em;
height: 1em;
background-image: url("../img/map_pointer.svg");
background-size: contain;
background-repeat: no-repeat;
}
#ressources .group-content {
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
}
#ressources .views-row {
padding: 8px;
margin: 2px 0;
border-radius: 4px;
transition: max-height 0.5s ease, opacity 0.5s ease;
}
#ressources .hidden {
max-height: 0;
overflow: hidden;
opacity: 0;
}
#ressources .toggle-btn {
background: none;
color: rgb(7, 50, 194);
border: solid rgb(7, 50, 194) 1px;
padding: 8px 12px;
cursor: pointer;
margin-top: 5px;
display: block;
margin: auto;
width: 20%;
text-align: center;
transition: background 0.3s;
}
#ressources .toggle-btn:hover {
background: rgb(7, 50, 194);
color: white;
}

View File

@ -62,7 +62,6 @@ function quartiers_de_demain_preprocess_field(&$variables) {
}
}
/**
* Prepares variables for block templates.
*

View File

@ -358,33 +358,17 @@
/////////////////// caracteres body actus/////////////////////////
document.addEventListener('DOMContentLoaded', function() {
// Nombre maximum de caractères à afficher
const maxChars = 140; // Ajustez cette valeur selon vos besoins
document.querySelectorAll('#actus-caroussel .node-type-actualite').forEach(function(node) {
let paragraphs = node.querySelectorAll('.field_body p');
let fullText = "";
// Concaténer tous les paragraphes
paragraphs.forEach(p => fullText += p.textContent.trim() + " ");
fullText = fullText.trim();
// Vérifier si le texte dépasse la limite
if (fullText.length > maxChars) {
let truncatedText = fullText.slice(0, maxChars) + '...';
// Vider tout le contenu et insérer seulement le texte tronqué
let firstParagraph = paragraphs[0];
firstParagraph.textContent = truncatedText;
// Masquer les autres paragraphes
for (let i = 1; i < paragraphs.length; i++) {
paragraphs[i].style.display = "none";
}
}
// Maximum number of characters to display
const maxChars = 140; // Adjust this value as needed
document.querySelectorAll('#actus-caroussel .node-type-actualite .field_body p').forEach(function(paragraph) {
let text = paragraph.textContent.trim();
if (text.length > maxChars) {
let truncatedText = text.slice(0, maxChars) + '...';
paragraph.textContent = truncatedText;
}
});
});
//////////// start slideshow home //////////////////////////
@ -701,91 +685,6 @@ document.addEventListener("DOMContentLoaded", function () {
});
//////////////////////////////////////////
/////////// Start script ressources ////////////////////////////////
document.addEventListener("DOMContentLoaded", () => {
const view = document.querySelector(".view");
const elements = Array.from(view.children);
let newView = document.createElement("div");
newView.classList.add("view");
let group = null;
let groupContent = null;
elements.forEach((el) => {
if (el.tagName === "H3") {
if (group) {
newView.appendChild(group);
}
group = document.createElement("div");
group.classList.add("group");
groupContent = document.createElement("div");
groupContent.classList.add("group-content");
groupContent.appendChild(el);
group.appendChild(groupContent);
} else if (el.classList.contains("views-row")) {
groupContent.appendChild(el);
}
});
if (group) {
newView.appendChild(group);
}
view.replaceWith(newView);
// Ajouter un bouton "Voir plus" dans chaque groupe
document.querySelectorAll(".group").forEach((group) => {
const rows = group.querySelectorAll(".views-row");
const button = document.createElement("button");
button.classList.add("toggle-btn");
button.textContent = "Voir plus de";
rows.forEach((row, index) => {
if (index >= 3) {
row.classList.add("hidden");
row.style.maxHeight = "0";
row.style.opacity = "0";
}
});
button.addEventListener("click", () => {
const isExpanded = button.textContent === "Voir moins de";
const hiddenRows = group.querySelectorAll(".views-row.hidden");
if (isExpanded) {
// Cacher les lignes avec un délai pour l'effet de transition
hiddenRows.forEach((row) => {
row.style.maxHeight = "0";
row.style.opacity = "0";
setTimeout(() => row.classList.add("hidden"), 500); // Délai pour la transition
});
} else {
// Afficher les lignes
hiddenRows.forEach((row) => {
row.classList.remove("hidden");
row.style.maxHeight = row.scrollHeight + "px";
row.style.opacity = "1";
});
}
button.textContent = isExpanded ? "Voir plus de" : "Voir moins de";
});
group.appendChild(button);
});
});
/////////// end script ressources ////////////////////////////////
})(jQuery, window);

View File

@ -1,42 +0,0 @@
#ressources{
.group-content {
// background: #f9f9f9;
padding: 10px;
border-radius: 8px;
margin-bottom: 10px;
// box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.views-row {
padding: 8px;
// background: #f3f3f3;
margin: 2px 0;
border-radius: 4px;
transition: max-height 0.5s ease, opacity 0.5s ease;
}
.hidden {
max-height: 0;
overflow: hidden;
opacity: 0;
}
.toggle-btn {
background: none;
color: $blue_QDD;
border: solid $blue_QDD 1px;
padding: 8px 12px;
cursor: pointer;
margin-top: 5px;
display: block;
margin: auto;
width: 20%;
text-align: center;
transition: background 0.3s;
}
.toggle-btn:hover {
background: $blue_QDD;
color:white;
}
}

View File

@ -340,7 +340,6 @@
div{
display: flex;
flex-direction: row;
margin-bottom: 1rem;
@media(max-width: 500px){
justify-content: center;
}
@ -386,8 +385,7 @@
margin-bottom: 0.3rem;
}
}
.field_field_liens_site,
.field--type-file{
.field_field_liens_site{
display: flex;
flex-direction: column !important;
@ -462,3 +460,6 @@
display: flex;
flex-direction: column;
}
.html.js.sr body.node-type-site.node-id-40 div.dialog-off-canvas-main-canvas div#page-node.layout-container main div.layout-content div.content_container div.layout.layout--threecol-25-50-25 div.layout__region.layout__region--third div.block-region-third div div.field_field_documents div div span{
visibility: hidden;
}

View File

@ -1,128 +0,0 @@
#ressources{
background-color: #f6f7f3;
.layout-content{
// padding-top: 1rem;
.content_container{
display: flex;
flex-direction: column;
align-items: center;
#block-quartiers-de-demain-titredepage{
margin-top: 1rem;
width: fit-content;
@media(max-width: 810px){
margin-top: 14rem;
}
h1{
text-transform: none;
color: black;
font-size: 2rem;
font-family: "gilroy-medium"
}
}
.views-element-container{
margin-left: 15%;
width: 70%;
.group-content{
display: flex;
flex-direction: row;
flex-wrap: wrap;
h3{
&::before{
content:"";
display: block;
border-bottom: solid 2px $blue_QDD;
// width: 80% ;
margin: auto;
}
text-align: center;
// width: 100%;
flex: 0 0 100%;
div{
.field_name{
h2{
a{
font-family: "gilroy-light";
color: $blue_QDD;
font-size: 2rem;
}
}
}
.field_description{
font-family: "gilroy-light";
}
}
}
.views-row{
width: 30%;
font-size: 0.5rem;
h2{
font-family: "gilroy-semibold";
color: $blue_QDD;
font-size: 00.6rem;
}
p{
font-size: 0.5rem;
}
.field_field_mots_clefs{
div{
display: flex;
flex-direction: row;
div{
border: solid 1px $blue_QDD;
margin-right: 0.2rem;
padding: 1.3%;
padding-bottom: 0.2%;
padding-top: 0.2%;
font-size: 0.4rem;
font-family: "gilroy-semibold";
a{
color: $blue_QDD;
}
}
}
}
.field_field_site{
div {
a {
position: relative;
padding-left: 20px; // Ajuster selon la taille de l'icône
&:before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 1em;
height: 1em;
background-image: url("../img/map_pointer.svg");
background-size: contain;
background-repeat: no-repeat;
}
color: $red_QDD;
font-family: "gilroy-semibold";
}
}
}
}
}
}
}
}
}

View File

@ -48,8 +48,6 @@
@import "pages/actualite";
@import "pages/node-type-site";
@import "pages/lessites.scss";
@import "pages/ressources";
@import "pages/bouton-ressources";
@import "/home/ouidade/Developer/docker-quartiersdedemain/src/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.css";

View File

@ -1,97 +0,0 @@
{#
/**
* @file
* Claro's theme implementation to display a single Drupal page.
*
* The doctype, html, head, and body tags are not in this template. Instead
* they can be found in the html.html.twig template normally located in the
* core/modules/system directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* "/" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.pre_content: Items for the pre-content region.
* - page.breadcrumb: Items for the breadcrumb region.
* - page.highlighted: Items for the highlighted region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
<div class="layout-container" id="ressources">
<header role="banner">
{{ page.header_left }}
{{ page.header_right }}
{{ page.header_nav }}
</header>
{{ page.primary_menu }}
{{ page.secondary_menu }}
{{ page.breadcrumb }}
{{ page.highlighted }}
{{ page.help }}
<main role="main">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<div class="layout-content">
{{ page.content }}
</div>{# /.layout-content #}
{% if page.sidebar_first %}
<aside class="layout-sidebar-first" role="complementary">
{{ page.sidebar_first }}
</aside>
{% endif %}
{% if page.sidebar_second %}
<aside class="layout-sidebar-second" role="complementary">
{{ page.sidebar_second }}
</aside>
{% endif %}
</main>
{# {% if page.footer_top or page.footer_left or page.footer_middle or page.footer_right or page.footer_bottom %} #}
<footer role="contentinfo">
{# <section id="footer-top"> #}
<span class="totop"><a href="#" id="toTop"><i class="arrow-up"></i></a></span>
{# </section> #}
<div class="footer">
<section id="footer-left">{{ page.footer_left }}</section>
<div class='first-row'>
<section id="footer-middle">{{ page.footer_middle }}</section>
<section id="footer-right">{{ page.footer_right }}</section>
</div>
</div>
{# <section id="footer-bottom">{{ page.footer_bottom }}</section> #}
</footer>
{# {% endif %} #}
</div>{# /.layout-container #}

View File

@ -7,7 +7,7 @@ let config = {
"./src/assets/js/quartiers_de_demain.js",
// "./src/assets/js/animated_logo.js",
"./src/assets/js/animated_formes.js",
"./src/assets/scss/quartiers_de_demain.scss",
"./src/assets/scss/quartiers_de_demain.scss",
// "./src/assets/fonts/*",
// "./src/assets/css/animated_logo.css",