185 Commits

Author SHA1 Message Date
0f233d9309 header sans animation 2025-12-09 13:15:40 +01:00
9986179153 header sans animation 2025-12-09 12:54:21 +01:00
ee51632b85 initial slide timeline 2025-12-01 23:40:54 +01:00
04a47789f7 anim header 2025-12-01 23:29:54 +01:00
ff4fabba70 toggle actu sur H2 2025-12-01 22:09:06 +01:00
fa2352b00f animation header plus rappide 2025-12-01 21:45:16 +01:00
6fe9fe1a54 animation header plus rappide 2025-12-01 20:38:17 +01:00
4e8fe4fb2d carte ressources va directement sur mission photo 2025-12-01 14:04:26 +01:00
ad9c0349c7 new fichier ressuorces.je 2025-12-01 13:35:51 +01:00
b266b73176 responsive node site 2025-12-01 12:54:44 +01:00
b1d2acd246 responsive node site 2025-12-01 12:52:32 +01:00
1f0f540268 responsive force presenteaiton femré 2025-12-01 12:29:02 +01:00
5edb071b35 responsive node projet 2025-12-01 12:16:35 +01:00
1f377f9b60 responsive node projet 2025-12-01 12:14:39 +01:00
446a8f2288 responsive node projet 2025-12-01 12:03:02 +01:00
53b935bd07 responsive node projet 2025-12-01 11:44:53 +01:00
c53e9461dd responsive /lesprojets 2025-12-01 10:47:35 +01:00
8a8ecbb3e4 responsive node ressource 2025-12-01 10:43:44 +01:00
cbc0053467 equipe panel toggle en js 2025-12-01 10:02:04 +01:00
02231b8e17 annule max-height presentation en js 2025-12-01 09:50:04 +01:00
811e6b5ca8 max-height presentation en js 2025-12-01 09:37:55 +01:00
fa8e32bef9 max-height presentation laureat 1500px 2025-12-01 09:19:12 +01:00
ebabc21095 css .islaureat 2025-11-28 11:44:52 +01:00
2b03838407 twig /lesprojets .islaureat 2025-11-28 11:43:45 +01:00
863f248656 fix bug ouverture actu home 2025-11-28 11:30:47 +01:00
66fe1c4adf position top badge 2025-11-28 10:57:00 +01:00
30b82fd22b Merge branch 'master' into stage 2025-11-28 10:52:10 +01:00
0b2ba2e1fd agrandir zone lien 2025-11-28 10:51:58 +01:00
ee2f83324c agrandir zone lien 2025-11-28 10:39:40 +01:00
50de82d79c Merge branch 'master' of gitea-figureslibres.io:bachir/drupal-quartiersdedemain into stage 2025-11-28 10:30:34 +01:00
3eb54aae88 badge laureat css 2025-11-28 10:29:46 +01:00
c3874cfee6 Merge branch 'master' of gitea-figureslibres.io:bachir/drupal-quartiersdedemain into stage 2025-11-28 10:24:56 +01:00
1e02cc5587 badge laureat twig et css 2025-11-28 10:22:43 +01:00
d58970f7d7 Merge branch 'master' into stage 2025-11-27 22:21:04 +01:00
bdeacad925 Home node actu cliquable pur toggle 2025-11-27 22:11:33 +01:00
ecb40418aa En savoir + clicable entièrement 2025-11-27 22:11:33 +01:00
dc661c6139 padding buton liens home 2025-11-27 22:11:33 +01:00
3641c9feff margin et padding bottom top ressources 2025-11-27 22:09:47 +01:00
45d6f1ba04 Home node actu cliquable pur toggle 2025-11-27 22:09:47 +01:00
b68b573e94 En savoir + clicable entièrement 2025-11-27 22:09:47 +01:00
7251762137 padding buton liens home 2025-11-27 22:09:47 +01:00
fb590bfee2 poid videos 2025-11-27 22:01:28 +01:00
eab3cabde3 ponderation sites 2025-11-27 21:54:22 +01:00
c0ccf25959 projets finalistes 2025-11-27 21:42:36 +01:00
a85122bbc7 Sur le même site de projet 2025-11-27 21:40:25 +01:00
21e92aee1d lauréat 2025-11-27 21:39:11 +01:00
a26f9140ce intro ressources 2025-11-27 21:34:30 +01:00
c94ec553eb interactivité carte ressource 2025-11-27 19:04:38 +01:00
7ba0a0ec05 js timelin et header séparé 2025-11-27 18:43:33 +01:00
e3a31427d3 js lightbox séparé 2025-11-27 18:11:14 +01:00
7a8abd9b5e taille et légende img lightbox 2025-11-27 17:42:02 +01:00
fd8584a9a6 change class mission photo 2025-11-27 17:15:40 +01:00
2cb4716015 header right langue switcher hidden 2025-11-27 17:04:29 +01:00
2666e046a9 enlever 2 dernière formes bleu dan shome 2025-11-27 16:57:47 +01:00
d947fa7aab desactive 2e partie enjeux sur home 2025-11-27 16:23:25 +01:00
15778d737d fleche ouverture presentation equipe 2025-11-25 19:02:26 +01:00
9c873c3b67 fleche ouverture presentation equipe 2025-11-25 18:58:06 +01:00
d7026f45e7 fleche ouverture presentation equipe 2025-11-25 18:55:24 +01:00
6272ac893c homogénéisation link ressources 2025-11-25 18:42:45 +01:00
fabad3ca5b bug js 2025-11-25 17:42:30 +01:00
6715b83031 bug js 2025-11-25 17:39:58 +01:00
c5748a9a30 webpack 2025-11-25 17:35:52 +01:00
3bfcc5e288 webpack 2025-11-25 17:26:05 +01:00
f05fee5e4c carte interactive sur page node projet 2025-11-25 17:04:11 +01:00
ed3e38a2ce flex element node site tableau et autre 2025-11-25 16:11:02 +01:00
df649e92f8 font size 2025-11-25 15:55:45 +01:00
facf991325 #3531 2025-11-25 15:51:41 +01:00
5e74afc829 #3528 block third node site 2025-11-25 15:47:58 +01:00
534497eed2 #3526 block third node projet 2025-11-25 15:33:29 +01:00
b745de55f2 #3533 nom equip euppercase 2025-11-25 15:22:27 +01:00
d77cfbb9e3 #3525 margin legend 2025-11-25 15:17:46 +01:00
bf71300dfe #3523 2025-11-25 15:03:21 +01:00
f0f9ad9455 tâche #3522 2025-11-25 14:55:29 +01:00
a48f97ed45 tâche #3521 home map 2025-11-25 14:46:43 +01:00
8586386637 css blockquote 2025-11-24 23:15:23 +01:00
c22e4e8d9d scroll reveal node-type-projet elements desactive 2025-11-24 22:58:26 +01:00
fa81c5ad9a scroll reveal node-type-projet elements 2025-11-24 22:53:44 +01:00
597501f29e /nope projet badge laureat only 2025-11-24 22:35:23 +01:00
0e1679fccd photo equipe caption 2025-11-24 22:11:24 +01:00
c25e8bdd06 site image blured fix 2025-11-24 21:15:54 +01:00
9c10542a1c editor can delete contents 2025-11-24 21:14:20 +01:00
396892f939 deactivated vistor acount creation 2025-11-24 21:11:08 +01:00
f4933f6c45 30 projet order by poid 2025-11-24 21:07:18 +01:00
97af3e2945 chemin map .css 2025-11-24 20:22:53 +01:00
5c99cdd665 revert to [200~ 2025-11-24 20:12:26 +01:00
2686bc5f4a js 2025-11-24 19:52:52 +01:00
9a6938d231 remove js carte point rouge car bug 2025-11-24 19:04:55 +01:00
cdb0d15a43 point rouge carte node ressource 2025-11-24 15:26:00 +01:00
3f2eb70271 point rouge carte node projet 2025-11-24 15:16:07 +01:00
cfa90f9bcb décalage tieline sur décembre 2025-11-24 14:17:36 +01:00
f3ad0386ee margin infos equipes 2025-11-24 14:06:54 +01:00
e53a8ac4e7 toggle partenaires without srcollreveal 2025-11-24 13:52:43 +01:00
ac219a3d83 toggle partenaires 2025-11-24 13:39:34 +01:00
b28ebc5438 size site map dasn node projet et margin/padding block first et second 2025-11-24 13:11:23 +01:00
b2265482d2 size site map dasn node projet et margin/padding block first et second 2025-11-24 12:56:13 +01:00
ede64a7b73 #3510 hover effet zoom sur page node projet aside right 2025-11-24 12:34:18 +01:00
9a57827acd #3506 ajustement width logo QDD / aisde left 2025-11-24 12:30:39 +01:00
61cdbe6114 #3507 font style /lesprojets 2025-11-24 12:14:32 +01:00
d9f370e1fa btn toggle border 2025-11-24 12:12:16 +01:00
a4a031100f margin top node projet 2025-11-24 12:08:00 +01:00
aa386780bf debrousaillage node projet responsive 2025-11-24 11:35:23 +01:00
f85a68b9af merge 2025-11-24 10:28:16 +01:00
db5ddbcd27 Merge branch 'stage' 2025-11-18 10:22:58 +01:00
f72c779266 traduction projet 2025-11-18 10:21:20 +01:00
c3e4e9f4ec bouton retours ressources 2025-11-18 10:21:17 +01:00
6b59c0babb traduction projet 2025-11-18 10:13:57 +01:00
fbf0f74bc2 bouton retours ressources 2025-11-18 09:55:47 +01:00
413df5f8e9 bouton retours ressources 2025-11-18 09:53:24 +01:00
2e228484db width map node projet 2025-11-17 23:25:23 +01:00
7b687d2bae with map nnode projet 2025-11-17 23:08:12 +01:00
c169bbd3fb merge 2025-11-17 23:02:34 +01:00
ed77181289 css & js galerie photo 2025-11-17 21:56:31 +01:00
31769ed721 display none bouton voir equipe 2025-11-17 16:03:39 +01:00
6dbf6696c8 bouton togle présentation équipe 2025-11-17 16:03:38 +01:00
c3ef6663cf display none bouton voir equipe 2025-11-17 16:03:09 +01:00
a2b238504f bouton togle présentation équipe 2025-11-17 16:03:09 +01:00
6c82eafd3d Merge branch 'master' into stage 2025-11-17 15:26:40 +01:00
11b87d5ac9 galeries photo retour aux ressources 2025-11-17 15:26:27 +01:00
6d930bc116 galeries photo retour aux ressources 2025-11-17 15:25:55 +01:00
e35b681b69 css node projet présentation équipe 2025-11-17 14:44:02 +01:00
e7db8a850e css node projet présentation équipe 2025-11-17 14:38:48 +01:00
bd7cae209c region third width /node projet 2025-11-17 14:23:23 +01:00
a15b423749 badge lauréat node site 2025-11-17 14:10:59 +01:00
78e44cd2c1 font size colone droite page projet 2025-11-17 12:24:08 +01:00
e02e16e8a1 css carte node site idem a node projet 2025-11-17 12:20:30 +01:00
415efe611c css carte home corrections Maud 2025-11-17 11:54:05 +01:00
4424c853d1 equipe photo et pres. 2025-11-17 10:24:37 +01:00
d92d5d4acb homogéénéistion css bouton noir 2025-11-13 11:39:40 +01:00
5f68e33f3d homogéénéistion css bouton noir 2025-11-13 11:09:54 +01:00
442fc4431a margin top map node site 2025-11-13 10:44:31 +01:00
b04abf5304 mots clefs mode site 2025-11-13 10:32:52 +01:00
bef6c77738 twig projet lié 2025-11-13 09:31:25 +01:00
f9cb1f2800 css node projet 2025-11-12 17:39:55 +01:00
7bb8776228 node-type-projetlié /esprojets 2025-11-12 16:55:09 +01:00
9dc42ba58c picto laureat block third node site 2025-11-12 16:32:14 +01:00
d013d3e45f block third position pas fixed 2025-11-12 16:26:53 +01:00
86ce675e66 twig et css /node-site block third projet lié 2025-11-12 12:32:20 +01:00
cd8e0b5154 site mots clefs 2025-11-12 10:52:10 +01:00
ba4116a084 galerie photo map + link 2025-11-12 10:45:21 +01:00
8355722092 sitemap_block on projet node page 2025-11-12 10:11:14 +01:00
c8ce112674 page site, liste projets fix 2025-11-12 10:03:45 +01:00
b07fcaf4b2 page projet, autres projets liste fixing 2025-11-12 09:56:04 +01:00
ad9156a110 css home carte responsive 2025-11-11 00:43:48 +01:00
4c821bc1b3 css home carte 2025-11-10 23:31:11 +01:00
b882d0ec87 home projets map block bottom link 2025-11-10 17:04:55 +01:00
f73d86d81a home projets map block 2025-11-10 16:59:31 +01:00
11c4c6d454 /lesprojets responsive 2025-11-07 23:01:32 +01:00
b6f1de83ff /lesprojets pictos sur nodesites clean css 2025-11-07 16:19:58 +01:00
59e4008541 /lesprojets pictos sur nodesite dans /lesprojets 2025-11-07 16:12:38 +01:00
5ba2e6ef8a /lesprojets création class enleve js 2025-11-07 15:42:18 +01:00
75d991c7b0 /lesprojets création class d'après titre node-site 2025-11-07 15:41:20 +01:00
81fa7dd7bf badge lauréat sur /lesprojets 2025-11-07 15:22:40 +01:00
8b8f8945ed badge lauréat sur page site 2025-11-07 15:06:37 +01:00
a614f52cdf /lesprojets :hover css 2025-11-05 10:27:16 +01:00
df5048bad8 css node-type-ressources lightbox 2025-11-05 01:13:42 +01:00
35bedc622b css node-type-ressource 2025-11-05 01:09:18 +01:00
77b82ce054 order link node site et projet 2025-11-04 23:45:43 +01:00
2ca0ea9c50 padding bottom :after link 2025-11-04 23:16:21 +01:00
e313c4520e node projet diapo et lightbox 2025-11-04 23:09:51 +01:00
6cd60f5a08 node projet height infos equipe 2025-11-04 22:48:56 +01:00
708c3d8369 node projet teaser homogénéisation typo et margin avec node site teaser 2025-11-04 22:41:49 +01:00
a19d7b0edb node projet teaser order 2025-11-04 22:25:19 +01:00
38d99d69c0 les 30 projets 2025-11-04 18:54:29 +01:00
2bcae2c604 projet image 2025-11-04 18:52:39 +01:00
9d8a7c7827 Merge branch 'master' into stage 2025-11-04 16:05:53 +01:00
90246ba4ef page ressource galerie photo 2025-11-04 16:04:17 +01:00
76ce3c6da9 page ressource galerie photo 2025-11-04 16:01:30 +01:00
8b519a148f typo margin css /ressources et /lesprojets 2025-11-04 15:57:06 +01:00
71e5b38119 typo margin css /ressources et /lesprojets 2025-11-04 15:52:34 +01:00
c51308b74a /ressources css conditionel field 2025-11-04 15:12:23 +01:00
fede161647 /ressources css conditionel field 2025-11-04 15:08:56 +01:00
37a7517443 ressource conditionnal link if gallerie photo 2025-11-04 12:46:54 +01:00
9066c1d2f9 /ressources display none sous titre & doc 2025-11-04 11:58:20 +01:00
48e0f6d389 /ressources display none sous titre & doc 2025-11-04 11:57:25 +01:00
a259f3d999 /ressources display none body 2025-11-04 11:54:43 +01:00
a9471dff8e css & js galerie photo /ressources 2025-11-04 10:39:29 +01:00
6487b65f42 /lesprojets 2025-11-03 23:48:58 +01:00
725e55fd1e /lesprojets 2025-11-03 23:46:26 +01:00
34430c49ef /lesprojets 2025-11-03 23:44:06 +01:00
ff6b3b4bd5 /lesprojets 2025-11-03 23:39:11 +01:00
fb8660c0e2 /lesprojets 2025-11-03 23:01:32 +01:00
622927f405 /lesprojets 2025-11-03 22:47:04 +01:00
3739306af1 /lesprojets et page projet 2025-11-03 22:42:26 +01:00
67cf13da9d Page Projet 2025-10-21 20:32:53 +02:00
6043bf823a patched page_manager 2025-10-21 16:56:05 +02:00
155 changed files with 10853 additions and 2537 deletions

View File

@@ -41,9 +41,11 @@
"drupal/social_media_links": "^2.9",
"drupal/structure_sync": "^2.0",
"drupal/verf": "^2.1",
"drupal/views_argument_token": "^2.0",
"drupal/views_autocomplete_filters": "^2.0",
"drupal/views_block_area": "^1.0@beta",
"drupal/views_bulk_operations": "^4.4",
"drupal/views_conditional": "^1.10",
"drupal/views_year_filter": "^2.1",
"drupal/viewsreference": "^2.0@beta",
"drupal/yaml_editor": "^1.2",
@@ -142,6 +144,9 @@
},
"drupal/video_embed_field":{
"Support Youtube Live urls https://www.drupal.org/project/video_embed_field/issues/3417567":"https://www.drupal.org/files/issues/2024-01-27/video_embed_field--support-live--3417567--2.patch"
},
"drupal/page_manager":{
"Some mandatory parameters are missing (machine_name, step) to generate a URL for route entity.page.devel_load https://www.drupal.org/project/page_manager/issues/3438993": "https://www.drupal.org/files/issues/2024-08-14/page-manager-3438993-MR34-24.patch"
}
},
"oldpatches": {

132
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b30f53b1f8d4db7819e89530f16ad5e3",
"content-hash": "537f939f0abf640dece13d2f934eb6ee",
"packages": [
{
"name": "asm89/stack-cors",
@@ -7872,6 +7872,80 @@
"source": "https://git.drupalcode.org/project/video_embed_field"
}
},
{
"name": "drupal/views_argument_token",
"version": "2.0.3",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/views_argument_token.git",
"reference": "2.0.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/views_argument_token-2.0.3.zip",
"reference": "2.0.3",
"shasum": "91a4cc65e4864971133525c3e79a4c84ef46d688"
},
"require": {
"drupal/core": "^8 || ^9 || ^10 || ^11",
"drupal/token": "^1.9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "2.0.3",
"datestamp": "1742556708",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "eme",
"homepage": "https://www.drupal.org/u/eme"
},
{
"name": "Mohamed Anis Taktak",
"homepage": "https://www.drupal.org/u/matio89"
},
{
"name": "Dakwamine",
"homepage": "https://www.drupal.org/u/dakwamine"
},
{
"name": "Stephen Mulvihill",
"homepage": "https://www.drupal.org/u/smulvih2"
},
{
"name": "mh.marouan",
"homepage": "https://www.drupal.org/user/3203501"
},
{
"name": "MichaelB",
"homepage": "https://www.drupal.org/user/2309046"
},
{
"name": "smulvih2",
"homepage": "https://www.drupal.org/user/795442"
},
{
"name": "snake_plissken",
"homepage": "https://www.drupal.org/user/3624793"
}
],
"description": "Views Token Argument allows you to use token as contextual filter for Views.",
"homepage": "http://drupal.org/project/views_argument_token",
"support": {
"source": "https://git.drupalcode.org/project/views_argument_token",
"issues": "https://www.drupal.org/project/issues/views_argument_token"
}
},
{
"name": "drupal/views_autocomplete_filters",
"version": "2.0.3",
@@ -8123,6 +8197,62 @@
"docs": "https://www.drupal.org/docs/contributed-modules/views-bulk-operations-vbo"
}
},
{
"name": "drupal/views_conditional",
"version": "1.10.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/views_conditional.git",
"reference": "8.x-1.10"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/views_conditional-8.x-1.10.zip",
"reference": "8.x-1.10",
"shasum": "54997357c05b7f08b87411018eed3aafd3e65547"
},
"require": {
"drupal/core": "^9 || ^10 || ^11"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.10",
"datestamp": "1727901408",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "anand.toshniwal93",
"homepage": "https://www.drupal.org/user/3345088"
},
{
"name": "joelpittet",
"homepage": "https://www.drupal.org/user/160302"
},
{
"name": "MChittenden",
"homepage": "https://www.drupal.org/user/2288348"
},
{
"name": "shelane",
"homepage": "https://www.drupal.org/user/2674989"
}
],
"description": "Allows conditional views output.",
"homepage": "https://www.drupal.org/project/views_conditional",
"support": {
"source": "https://git.drupalcode.org/project/views_conditional"
}
},
{
"name": "drupal/views_year_filter",
"version": "2.1.6",

View File

@@ -0,0 +1,17 @@
uuid: 480abc89-4c77-4260-a432-043c122cc0de
langcode: fr
status: true
dependencies: { }
id: intro_ressources
label: 'Intro ressources'
token: true
context:
show_warning: true
group:
language: true
fallback:
language: ''
menu:
path: /edit/ressources
weight: 0
description: ''

View File

@@ -0,0 +1,18 @@
uuid: d92dd104-030a-4e96-9932-4607371f7551
langcode: fr
status: true
dependencies:
config:
- block_content.type.link
id: block_content.link.changed
field_name: changed
entity_type: block_content
bundle: link
label: Modifié
description: "L'heure à laquelle le bloc de contenu a été modifié pour la dernière fois."
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

View File

@@ -0,0 +1,18 @@
uuid: 85cc2a14-7008-4248-82bf-503226d66d8c
langcode: fr
status: true
dependencies:
config:
- block_content.type.link
id: block_content.link.info
field_name: info
entity_type: block_content
bundle: link
label: 'Description du bloc'
description: 'Une brève description de votre bloc.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -0,0 +1,20 @@
uuid: 120b2f25-e7b2-4f66-bcdf-acbf7669f597
langcode: fr
status: true
dependencies:
config:
- block_content.type.link
module:
- metatag
id: block_content.link.metatag
field_name: metatag
entity_type: block_content
bundle: link
label: 'Metatags (Hidden field for JSON support)'
description: 'The computed meta tags for the entity.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag_computed

View File

@@ -0,0 +1,22 @@
uuid: 889fcb21-234f-4911-a70d-f7391535b8ea
langcode: fr
status: true
dependencies:
config:
- block_content.type.link
id: block_content.link.status
field_name: status
entity_type: block_content
bundle: link
label: Publié
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@@ -0,0 +1,18 @@
uuid: 45bdc104-a814-4de3-92d7-c25d2c2bfb13
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
id: block_content.live_youtube.changed
field_name: changed
entity_type: block_content
bundle: live_youtube
label: Modifié
description: "L'heure à laquelle le bloc de contenu a été modifié pour la dernière fois."
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

View File

@@ -0,0 +1,18 @@
uuid: d04e24e6-8cea-46f6-8e57-1ec72beb3f6c
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
id: block_content.live_youtube.info
field_name: info
entity_type: block_content
bundle: live_youtube
label: 'Description du bloc'
description: 'Une brève description de votre bloc.'
required: true
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string

View File

@@ -0,0 +1,20 @@
uuid: efc48857-a4cc-43cc-8687-75fb316b4009
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
module:
- metatag
id: block_content.live_youtube.metatag
field_name: metatag
entity_type: block_content
bundle: live_youtube
label: 'Metatags (Hidden field for JSON support)'
description: 'The computed meta tags for the entity.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: metatag_computed

View File

@@ -0,0 +1,22 @@
uuid: 243ea018-54d0-421c-bbb5-fa3eb51f15de
langcode: fr
status: true
dependencies:
config:
- block_content.type.live_youtube
id: block_content.live_youtube.status
field_name: status
entity_type: block_content
bundle: live_youtube
label: Publié
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@@ -0,0 +1,18 @@
uuid: 99816590-8aca-481f-9acb-78f627c048c4
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_diapo
id: paragraph.projet_diapo.created
field_name: created
entity_type: paragraph
bundle: projet_diapo
label: 'Écrit le'
description: 'Heure de création du paragraphe.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created

View File

@@ -0,0 +1,22 @@
uuid: 95f833dc-2c91-419d-be8a-3a8992776459
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_diapo
id: paragraph.projet_diapo.status
field_name: status
entity_type: paragraph
bundle: projet_diapo
label: Publié
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@@ -0,0 +1,18 @@
uuid: 89e0b4cb-3467-43dd-ac7d-c204a42a5c37
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_info
id: paragraph.projet_info.created
field_name: created
entity_type: paragraph
bundle: projet_info
label: 'Écrit le'
description: 'Heure de création du paragraphe.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created

View File

@@ -0,0 +1,22 @@
uuid: a5d583a1-4104-4129-952b-be04093864c4
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_info
id: paragraph.projet_info.status
field_name: status
entity_type: paragraph
bundle: projet_info
label: Publié
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@@ -0,0 +1,18 @@
uuid: 460c5e92-f134-4e12-a66c-0d748623ba10
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_partie_texte
id: paragraph.projet_partie_texte.created
field_name: created
entity_type: paragraph
bundle: projet_partie_texte
label: 'Écrit le'
description: 'Heure de création du paragraphe.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created

View File

@@ -0,0 +1,22 @@
uuid: 4cc6a442-5e28-4ad2-89ee-4542e940f2e2
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_partie_texte
id: paragraph.projet_partie_texte.status
field_name: status
entity_type: paragraph
bundle: projet_partie_texte
label: Publié
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Activé
off_label: Désactivé
field_type: boolean

View File

@@ -0,0 +1,24 @@
uuid: dcde5806-938b-46b8-80f5-ce7e8b065dfc
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_ressources
- field.field.config_pages.intro_ressources.field_intro
module:
- text
id: config_pages.intro_ressources.default
targetEntityType: config_pages
bundle: intro_ressources
mode: default
content:
field_intro:
type: text_textarea
weight: 0
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
hidden:
label: true

View File

@@ -4,6 +4,9 @@ status: true
dependencies:
config:
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -11,10 +14,12 @@ dependencies:
- field.field.node.projet.field_nom_de_l_equipe
- field.field.node.projet.field_parties_projet
- field.field.node.projet.field_site_projet
- image.style.thumbnail
- node.type.projet
module:
- field_group
- file
- image
- link
- paragraphs
- path
@@ -29,7 +34,7 @@ third_party_settings:
label: Tabs
region: content
parent_name: ''
weight: 3
weight: 2
format_type: tabs
format_settings:
classes: ''
@@ -40,12 +45,13 @@ third_party_settings:
width_breakpoint: 640
group_parties:
children:
- field_image
- field_intro
- field_parties_projet
label: Contenus
region: hidden
parent_name: group_tabs
weight: 13
weight: 4
format_type: tab
format_settings:
classes: ''
@@ -57,11 +63,13 @@ third_party_settings:
required_fields: true
group_infos:
children:
- field_equipe_photo
- field_equipe_presentation
- field_infos
label: Infos
region: hidden
parent_name: group_tabs
weight: 12
weight: 3
format_type: tab
format_settings:
classes: ''
@@ -87,7 +95,7 @@ third_party_settings:
label: Details
region: content
parent_name: ''
weight: 4
weight: 6
format_type: details_sidebar
format_settings:
classes: ''
@@ -100,12 +108,12 @@ third_party_settings:
weight: -100
group_docs_liens:
children:
- field_documents
- field_liens
- field_documents
label: 'Docs & Liens'
region: hidden
parent_name: group_tabs
weight: 14
weight: 5
format_type: tab
format_settings:
classes: ''
@@ -122,20 +130,44 @@ mode: default
content:
created:
type: datetime_timestamp
weight: 30
weight: 32
region: content
settings: { }
third_party_settings: { }
field_documents:
type: file_generic
weight: 5
weight: 7
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
field_equipe_photo:
type: image_image
weight: 10
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_equipe_presentation:
type: text_textarea
weight: 11
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_image:
type: image_image
weight: 28
region: content
settings:
progress_indicator: throbber
preview_image_style: thumbnail
third_party_settings: { }
field_infos:
type: paragraphs
weight: 8
weight: 12
region: content
settings:
title: Paragraphe
@@ -153,7 +185,7 @@ content:
third_party_settings: { }
field_intro:
type: text_textarea
weight: 37
weight: 29
region: content
settings:
rows: 5
@@ -184,7 +216,7 @@ content:
third_party_settings: { }
field_parties_projet:
type: paragraphs
weight: 38
weight: 30
region: content
settings:
title: Paragraphe
@@ -202,7 +234,7 @@ content:
third_party_settings: { }
field_site_projet:
type: entity_reference_autocomplete
weight: 27
weight: 29
region: content
settings:
match_operator: CONTAINS
@@ -212,44 +244,44 @@ content:
third_party_settings: { }
langcode:
type: language_select
weight: 28
weight: 30
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 35
weight: 37
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 32
weight: 34
region: content
settings:
display_label: true
third_party_settings: { }
simple_sitemap:
weight: 36
weight: 38
region: content
settings: { }
third_party_settings: { }
simple_sitemap_index_now:
weight: 34
weight: 36
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 31
weight: 33
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 33
weight: 35
region: content
settings:
display_label: true
@@ -262,9 +294,14 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
translation:
weight: 10
region: content
settings: { }
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 29
weight: 31
region: content
settings:
match_operator: CONTAINS

View File

@@ -10,6 +10,7 @@ dependencies:
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_poid
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
@@ -34,6 +35,7 @@ third_party_settings:
- field_author
- field_type_de_ressource
- field_mots_clefs
- field_poid
- status
- promote
- path
@@ -183,6 +185,13 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
field_poid:
type: number
weight: 41
region: content
settings:
placeholder: ''
third_party_settings: { }
field_site:
type: entity_reference_autocomplete
weight: 45
@@ -222,20 +231,20 @@ content:
third_party_settings: { }
path:
type: path
weight: 43
weight: 44
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 42
weight: 43
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 41
weight: 42
region: content
settings:
display_label: true

View File

@@ -8,6 +8,7 @@ dependencies:
- field.field.node.site.field_geofield
- field.field.node.site.field_images
- field.field.node.site.field_liens_site
- field.field.node.site.field_mots_clefs
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
- field.field.node.site.field_nom_du_qpv_nb_d_hab
- field.field.node.site.field_parties
@@ -107,7 +108,8 @@ third_party_settings:
required_fields: true
weight: -100
group_mots_clefs:
children: { }
children:
- field_mots_clefs
label: 'Mots Clefs'
region: content
parent_name: group_tabs
@@ -267,6 +269,16 @@ content:
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_nom_de_la_commune_nb_d_hab:
type: string_textfield
weight: 19

View File

@@ -0,0 +1,23 @@
uuid: d7ddf5cc-556b-4b0e-9b4d-be805337b385
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_ressources
- field.field.config_pages.intro_ressources.field_intro
module:
- text
id: config_pages.intro_ressources.default
targetEntityType: config_pages
bundle: intro_ressources
mode: default
content:
field_intro:
type: text_default
label: visually_hidden
settings: { }
third_party_settings: { }
weight: 0
region: content
hidden:
search_api_excerpt: true

View File

@@ -4,6 +4,9 @@ status: true
dependencies:
config:
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -15,6 +18,7 @@ dependencies:
module:
- entity_reference_revisions
- file
- image
- link
- manage_display
- text
@@ -31,6 +35,35 @@ content:
third_party_settings: { }
weight: 9
region: content
field_equipe_photo:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 14
region: content
field_equipe_presentation:
type: text_default
label: above
settings: { }
third_party_settings: { }
weight: 15
region: content
field_image:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 13
region: content
field_infos:
type: entity_reference_revisions_entity_view
label: visually_hidden

View File

@@ -5,6 +5,9 @@ dependencies:
config:
- core.entity_view_mode.node.full
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -50,6 +53,9 @@ content:
hidden:
created: true
field_documents: true
field_equipe_photo: true
field_equipe_presentation: true
field_image: true
field_infos: true
field_intro: true
field_laureats: true

View File

@@ -0,0 +1,75 @@
uuid: 00c3ff8f-1e7f-4a7f-ade9-55cc24f0bc69
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.projets_lies
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
- field.field.node.projet.field_liens
- field.field.node.projet.field_nom_de_l_equipe
- field.field.node.projet.field_parties_projet
- field.field.node.projet.field_site_projet
- node.type.projet
module:
- smart_trim
id: node.projet.projets_lies
targetEntityType: node
bundle: projet
mode: projets_lies
content:
field_laureats:
type: boolean
label: visually_hidden
settings:
format: custom
format_custom_false: ''
format_custom_true: Lauréat
third_party_settings: { }
weight: 0
region: content
field_nom_de_l_equipe:
type: smart_trim
label: visually_hidden
settings:
trim_length: 600
trim_type: chars
trim_suffix: ''
wrap_output: false
wrap_class: trimmed
more:
display_link: true
target_blank: false
link_trim_only: false
class: more-link
text: 'voir le projet'
aria_label: 'Read more about [node:title]'
summary_handler: full
trim_options:
text: false
trim_zero: false
replace_tokens: false
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
field_documents: true
field_equipe_photo: true
field_equipe_presentation: true
field_image: true
field_infos: true
field_intro: true
field_liens: true
field_parties_projet: true
field_site_projet: true
langcode: true
links: true
search_api_excerpt: true
title: true
uid: true

View File

@@ -5,6 +5,9 @@ dependencies:
config:
- core.entity_view_mode.node.tableau_projets_de_site
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -15,12 +18,24 @@ dependencies:
- node.type.projet
module:
- advanced_text_formatter
- image
- manage_display
id: node.projet.tableau_projets_de_site
targetEntityType: node
bundle: projet
mode: tableau_projets_de_site
content:
field_image:
type: image
label: above
settings:
image_link: ''
image_style: ''
image_loading:
attribute: lazy
third_party_settings: { }
weight: 0
region: content
field_intro:
type: advanced_text
label: visually_hidden
@@ -50,7 +65,7 @@ content:
token_replace: 0
autop: 0
third_party_settings: { }
weight: 2
weight: 3
region: content
field_laureats:
type: boolean
@@ -60,7 +75,7 @@ content:
format_custom_false: ''
format_custom_true: Lauréats
third_party_settings: { }
weight: 0
weight: 1
region: content
field_nom_de_l_equipe:
type: title
@@ -69,16 +84,18 @@ content:
link_to_entity: false
tag: h2
third_party_settings: { }
weight: 1
weight: 2
region: content
links:
settings: { }
third_party_settings: { }
weight: 3
weight: 4
region: content
hidden:
created: true
field_documents: true
field_equipe_photo: true
field_equipe_presentation: true
field_infos: true
field_liens: true
field_parties_projet: true

View File

@@ -5,6 +5,9 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.projet.field_documents
- field.field.node.projet.field_equipe_photo
- field.field.node.projet.field_equipe_presentation
- field.field.node.projet.field_image
- field.field.node.projet.field_infos
- field.field.node.projet.field_intro
- field.field.node.projet.field_laureats
@@ -12,38 +15,26 @@ dependencies:
- field.field.node.projet.field_nom_de_l_equipe
- field.field.node.projet.field_parties_projet
- field.field.node.projet.field_site_projet
- image.style.large
- node.type.projet
module:
- image_field_caption
- manage_display
- smart_trim
id: node.projet.teaser
targetEntityType: node
bundle: projet
mode: teaser
content:
field_intro:
type: smart_trim
field_image:
type: image_caption
label: visually_hidden
settings:
trim_length: 200
trim_type: chars
trim_suffix: ''
wrap_output: false
wrap_class: trimmed
more:
display_link: true
target_blank: false
link_trim_only: false
class: more-link
text: "voir l'équipe"
aria_label: 'Read more about [node:title]'
summary_handler: full
trim_options:
text: false
trim_zero: false
replace_tokens: false
image_style: large
image_link: content
image_loading:
attribute: lazy
third_party_settings: { }
weight: 2
weight: 0
region: content
field_laureats:
type: boolean
@@ -53,7 +44,7 @@ content:
format_custom_false: ''
format_custom_true: Lauréat
third_party_settings: { }
weight: 0
weight: 1
region: content
field_nom_de_l_equipe:
type: title
@@ -62,12 +53,15 @@ content:
link_to_entity: true
tag: h3
third_party_settings: { }
weight: 1
weight: 2
region: content
hidden:
created: true
field_documents: true
field_equipe_photo: true
field_equipe_presentation: true
field_infos: true
field_intro: true
field_liens: true
field_parties_projet: true
field_site_projet: true

View File

@@ -10,6 +10,7 @@ dependencies:
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_poid
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
@@ -93,6 +94,15 @@ content:
third_party_settings: { }
weight: 103
region: content
field_poid:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 108
region: content
field_site:
type: entity_reference_label
label: visually_hidden

View File

@@ -11,6 +11,7 @@ dependencies:
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_poid
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
@@ -79,6 +80,7 @@ hidden:
field_date_ressource: true
field_documents: true
field_mots_clefs: true
field_poid: true
field_sous_titre: true
field_tous_les_sites: true
field_type_de_ressource: true

View File

@@ -11,6 +11,7 @@ dependencies:
- field.field.node.ressource.field_images
- field.field.node.ressource.field_liens
- field.field.node.ressource.field_mots_clefs
- field.field.node.ressource.field_poid
- field.field.node.ressource.field_site
- field.field.node.ressource.field_sous_titre
- field.field.node.ressource.field_tous_les_sites
@@ -67,11 +68,11 @@ content:
label: visually_hidden
settings:
deltas: '0'
image_style: wide
deltas_reversed: false
image_link: content
image_style: wide
image_loading:
attribute: lazy
deltas_reversed: 0
third_party_settings: { }
weight: 0
region: content
@@ -122,6 +123,7 @@ content:
region: content
hidden:
created: true
field_poid: true
field_tous_les_sites: true
field_type_de_ressource: true
field_video: true

View File

@@ -8,6 +8,7 @@ dependencies:
- field.field.node.site.field_geofield
- field.field.node.site.field_images
- field.field.node.site.field_liens_site
- field.field.node.site.field_mots_clefs
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
- field.field.node.site.field_nom_du_qpv_nb_d_hab
- field.field.node.site.field_parties
@@ -79,6 +80,14 @@ content:
third_party_settings: { }
weight: 10
region: content
field_mots_clefs:
type: entity_reference_label
label: visually_hidden
settings:
link: true
third_party_settings: { }
weight: 103
region: content
field_nom_de_la_commune_nb_d_hab:
type: string
label: above

View File

@@ -9,6 +9,7 @@ dependencies:
- field.field.node.site.field_geofield
- field.field.node.site.field_images
- field.field.node.site.field_liens_site
- field.field.node.site.field_mots_clefs
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
- field.field.node.site.field_nom_du_qpv_nb_d_hab
- field.field.node.site.field_parties
@@ -59,6 +60,7 @@ hidden:
field_documents: true
field_geofield: true
field_liens_site: true
field_mots_clefs: true
field_nom_de_la_commune_nb_d_hab: true
field_nom_du_qpv_nb_d_hab: true
field_parties: true

View File

@@ -0,0 +1,87 @@
uuid: 647d64e8-38a7-46ba-b037-42fe8f6c7b57
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.site_du_projet
- field.field.node.site.field_departement_s
- field.field.node.site.field_documents
- field.field.node.site.field_geofield
- field.field.node.site.field_images
- field.field.node.site.field_liens_site
- field.field.node.site.field_mots_clefs
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
- field.field.node.site.field_nom_du_qpv_nb_d_hab
- field.field.node.site.field_parties
- field.field.node.site.field_poid
- field.field.node.site.field_porteur_s_de_site
- field.field.node.site.field_programme_de_l_etat
- field.field.node.site.field_projets_lie
- field.field.node.site.field_region
- field.field.node.site.field_sous_titre
- node.type.site
module:
- manage_display
- smart_trim
id: node.site.site_du_projet
targetEntityType: node
bundle: site
mode: site_du_projet
content:
field_sous_titre:
type: smart_trim
label: visually_hidden
settings:
trim_length: 600
trim_type: chars
trim_suffix: ''
wrap_output: false
wrap_class: trimmed
more:
display_link: true
target_blank: false
link_trim_only: false
class: more-link
text: 'Voir le site'
aria_label: 'Read more about [node:title]'
summary_handler: full
trim_options:
text: false
trim_zero: false
replace_tokens: false
third_party_settings: { }
weight: 1
region: content
links:
settings: { }
third_party_settings: { }
weight: 2
region: content
title:
type: title
label: hidden
settings:
link_to_entity: true
tag: h2
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_departement_s: true
field_documents: true
field_geofield: true
field_images: true
field_liens_site: true
field_mots_clefs: true
field_nom_de_la_commune_nb_d_hab: true
field_nom_du_qpv_nb_d_hab: true
field_parties: true
field_poid: true
field_porteur_s_de_site: true
field_programme_de_l_etat: true
field_projets_lie: true
field_region: true
langcode: true
search_api_excerpt: true
uid: true

View File

@@ -9,6 +9,7 @@ dependencies:
- field.field.node.site.field_geofield
- field.field.node.site.field_images
- field.field.node.site.field_liens_site
- field.field.node.site.field_mots_clefs
- field.field.node.site.field_nom_de_la_commune_nb_d_hab
- field.field.node.site.field_nom_du_qpv_nb_d_hab
- field.field.node.site.field_parties
@@ -41,6 +42,14 @@ content:
third_party_settings: { }
weight: 0
region: content
field_mots_clefs:
type: entity_reference_label
label: visually_hidden
settings:
link: false
third_party_settings: { }
weight: 6
region: content
links:
settings: { }
third_party_settings: { }

View File

@@ -0,0 +1,11 @@
uuid: a23ed13e-8f15-4bc6-b38f-4162aea8c54e
langcode: fr
status: true
dependencies:
module:
- node
id: node.projets_lies
label: 'Projets liés'
description: ''
targetEntityType: node
cache: true

View File

@@ -0,0 +1,11 @@
uuid: ca728d87-603b-454e-b6ee-f176576b2630
langcode: fr
status: true
dependencies:
module:
- node
id: node.site_du_projet
label: 'Site du projet'
description: ''
targetEntityType: node
cache: true

View File

@@ -121,10 +121,12 @@ module:
user: 0
verf: 0
video_embed_field: 0
views_argument_token: 0
views_autocomplete_filters: 0
views_block_area: 0
views_bulk_edit: 0
views_bulk_operations: 0
views_conditional: 0
views_ui: 0
views_year_filter: 0
viewsreference: 0

View File

@@ -1,3 +1,4 @@
_core:
default_config_hash: k024s6lEcCjGqAq_82KNi-RRCCc37Jxo5frFNChAqao
login_with_username: false
require_username_on_registration: false

View File

@@ -0,0 +1,24 @@
uuid: 8b9c2799-90e2-4409-93fd-a087cf0b33d3
langcode: fr
status: true
dependencies:
config:
- config_pages.type.intro_ressources
- field.storage.config_pages.field_intro
- filter.format.wysiwyg
module:
- text
id: config_pages.intro_ressources.field_intro
field_name: field_intro
entity_type: config_pages
bundle: intro_ressources
label: Intro
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -6,7 +6,14 @@ dependencies:
- field.storage.node.field_fichiers
- node.type.actualite
module:
- content_translation
- file
third_party_settings:
content_translation:
translation_sync:
target_id: target_id
display: display
description: description
id: node.actualite.field_fichiers
field_name: field_fichiers
entity_type: node

View File

@@ -14,6 +14,7 @@ third_party_settings:
alt: alt
title: title
file: '0'
caption: '0'
id: node.partenaire.field_logo
field_name: field_logo
entity_type: node

View File

@@ -0,0 +1,41 @@
uuid: 7132431f-eef6-49ee-b2a3-531a5241f246
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_equipe_photo
- node.type.projet
module:
- image
id: node.projet.field_equipe_photo
field_name: field_equipe_photo
entity_type: node
bundle: projet
label: 'Photo équipe'
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: false
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

@@ -0,0 +1,24 @@
uuid: 363302d5-cc57-45ce-9134-a9deccde54b0
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_equipe_presentation
- filter.format.wysiwyg
- node.type.projet
module:
- text
id: node.projet.field_equipe_presentation
field_name: field_equipe_presentation
entity_type: node
bundle: projet
label: 'Présentation équipe'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
allowed_formats:
- wysiwyg
field_type: text_long

View File

@@ -0,0 +1,41 @@
uuid: ced725a5-638f-4ccc-a3aa-cb154f21f455
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_image
- node.type.projet
module:
- image
id: node.projet.field_image
field_name: field_image
entity_type: node
bundle: projet
label: image
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: false
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

@@ -0,0 +1,25 @@
uuid: 9f3c0cbe-5562-4660-b4bc-fc9787491962
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_poid
- node.type.ressource
id: node.ressource.field_poid
field_name: field_poid
entity_type: node
bundle: ressource
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

@@ -6,7 +6,14 @@ dependencies:
- field.storage.node.field_documents
- node.type.site
module:
- content_translation
- file
third_party_settings:
content_translation:
translation_sync:
target_id: target_id
display: display
description: description
id: node.site.field_documents
field_name: field_documents
entity_type: node

View File

@@ -36,6 +36,6 @@ settings:
width: null
height: null
caption: ''
caption_field: 1
caption_field_required: 0
caption_field: true
caption_field_required: false
field_type: image

View File

@@ -0,0 +1,29 @@
uuid: b8355f49-7331-4aad-a2dd-d0d17bd881a1
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_mots_clefs
- node.type.site
- taxonomy.vocabulary.mots_clefs
id: node.site.field_mots_clefs
field_name: field_mots_clefs
entity_type: node
bundle: site
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

@@ -21,5 +21,6 @@ settings:
selection: blocks
selection_settings:
plugin_ids:
projetsmap_block: projetsmap_block
sitesmap_block: sitesmap_block
field_type: block_field

View File

@@ -6,7 +6,14 @@ dependencies:
- field.storage.node.field_pieces_jointes
- node.type.static
module:
- content_translation
- file
third_party_settings:
content_translation:
translation_sync:
target_id: target_id
display: display
description: description
id: node.static.field_pieces_jointes
field_name: field_pieces_jointes
entity_type: node

View File

@@ -12,7 +12,7 @@ bundle: projet_info
label: Contenu
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -12,7 +12,7 @@ bundle: projet_info
label: Label
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -15,7 +15,7 @@ bundle: projet_partie_texte
label: 'Texte partie texte projet'
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings:

View File

@@ -12,7 +12,7 @@ bundle: projet_partie_texte
label: 'Titre partie texte projet'
description: ''
required: false
translatable: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }

View File

@@ -14,6 +14,7 @@ third_party_settings:
alt: alt
title: title
file: '0'
caption: '0'
id: paragraph.static_parts.field_picto
field_name: field_picto
entity_type: paragraph
@@ -43,6 +44,6 @@ settings:
width: null
height: null
caption: ''
caption_field: 0
caption_field_required: 0
caption_field: false
caption_field_required: false
field_type: image

View File

@@ -0,0 +1,31 @@
uuid: 1caf1cce-f5e1-4b7a-9dfc-e32d9b12fa1d
langcode: fr
status: true
dependencies:
module:
- file
- image
- node
id: node.field_equipe_photo
field_name: field_equipe_photo
entity_type: node
type: image
settings:
target_type: file
display_field: false
display_default: true
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,19 @@
uuid: b9b7c6ac-a0dd-4497-b4ca-795c14999565
langcode: fr
status: true
dependencies:
module:
- node
- text
id: node.field_equipe_presentation
field_name: field_equipe_presentation
entity_type: node
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -0,0 +1,31 @@
uuid: 4bd07a20-5afc-4fcb-ba40-1cd7285ffe80
langcode: fr
status: true
dependencies:
module:
- file
- image
- node
id: node.field_image
field_name: field_image
entity_type: node
type: image
settings:
target_type: file
display_field: false
display_default: true
uri_scheme: public
default_image:
uuid: ''
alt: ''
title: ''
width: null
height: null
caption: ''
module: image
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -4,6 +4,13 @@ status: true
dependencies:
config:
- block_content.type.link
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: block_content.link
target_entity_type_id: block_content
target_bundle: link

View File

@@ -4,6 +4,13 @@ status: true
dependencies:
config:
- block_content.type.live_youtube
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: block_content.live_youtube
target_entity_type_id: block_content
target_bundle: live_youtube

View File

@@ -4,6 +4,13 @@ status: true
dependencies:
config:
- node.type.projet
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: node.projet
target_entity_type_id: node
target_bundle: projet

View File

@@ -9,6 +9,8 @@ dependencies:
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: node.ressource
target_entity_type_id: node
target_bundle: ressource

View File

@@ -0,0 +1,18 @@
uuid: ef5ff94b-e3b2-4d1f-adfc-36730ad9c2b0
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_diapo
module:
- content_translation
third_party_settings:
content_translation:
enabled: false
bundle_settings:
untranslatable_fields_hide: '0'
id: paragraph.projet_diapo
target_entity_type_id: paragraph
target_bundle: projet_diapo
default_langcode: site_default
language_alterable: false

View File

@@ -0,0 +1,18 @@
uuid: aebb649a-e1e4-4f07-b2f1-6c8ce7250592
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_info
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: paragraph.projet_info
target_entity_type_id: paragraph
target_bundle: projet_info
default_langcode: site_default
language_alterable: true

View File

@@ -0,0 +1,18 @@
uuid: 2af531bf-0a98-407a-9255-9c6dca393d37
langcode: fr
status: true
dependencies:
config:
- paragraphs.paragraphs_type.projet_partie_texte
module:
- content_translation
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: paragraph.projet_partie_texte
target_entity_type_id: paragraph
target_bundle: projet_partie_texte
default_langcode: site_default
language_alterable: true

View File

@@ -9,6 +9,8 @@ dependencies:
third_party_settings:
content_translation:
enabled: true
bundle_settings:
untranslatable_fields_hide: '0'
id: taxonomy_term.type_de_ressources
target_entity_type_id: taxonomy_term
target_bundle: type_de_ressources

View File

@@ -34,7 +34,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -6
weight: -7
uuid: bf8e10f4-ccca-4386-92ed-e092ea9c366d
css_classes:
- ''
@@ -55,7 +55,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -5
weight: -6
uuid: cf830889-0479-4858-9af4-71930dbb3b6d
css_classes:
- ''
@@ -84,8 +84,8 @@ variant_settings:
listStyle: span
listSeparator: ', '
third_party_settings: { }
region: third
weight: -5
region: second
weight: 3
uuid: 0f521934-a0b6-49c7-9dd0-b984c8d80ef3
css_classes:
- ''
@@ -109,8 +109,8 @@ variant_settings:
rel: nofollow
target: _blank
third_party_settings: { }
region: third
weight: -4
region: second
weight: 4
uuid: caf72351-9011-41f0-9bf1-d12eb70903c7
css_classes:
- ''
@@ -177,7 +177,7 @@ variant_settings:
settings: { }
third_party_settings: { }
region: second
weight: 0
weight: -1
uuid: 2f4a8a1a-2071-44f7-b725-bbe79798df48
css_classes:
- ''
@@ -198,7 +198,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -4
weight: -5
uuid: 3e40ac9a-e27e-4faf-b129-451d5ae0e742
css_classes:
- ''
@@ -219,7 +219,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -3
weight: -4
uuid: 68368738-0e9b-43f5-a553-cd19390bfbbc
css_classes:
- ''
@@ -240,7 +240,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -2
weight: -3
uuid: 63a45085-391f-403b-934e-bc47a2fc76ed
css_classes:
- ''
@@ -261,7 +261,7 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -1
weight: -2
uuid: e048da61-ac83-4a80-9112-f06a22b5cc34
css_classes:
- ''
@@ -282,12 +282,54 @@ variant_settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: 1
weight: 0
uuid: bdf10817-0225-4bba-9fea-0c779f18c9af
css_classes:
- ''
html_id: ''
css_styles: ''
0e71ab04-a5cc-4eca-a7c2-a18fc9d0b7e1:
id: 'entity_field:node:field_projets_lie'
label: 'Projets finalistes'
label_display: visible
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_entity_view
weight: 0
label: visually_hidden
settings:
view_mode: projets_lies
third_party_settings: { }
region: third
weight: -5
uuid: 0e71ab04-a5cc-4eca-a7c2-a18fc9d0b7e1
css_classes:
- ''
html_id: ''
css_styles: ''
cc7382b2-0bd3-43ab-8220-a506726ecf23:
id: 'entity_field:node:field_mots_clefs'
label: 'Mots Clefs'
label_display: visible
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_label
weight: 0
label: visually_hidden
settings:
link: false
third_party_settings: { }
region: second
weight: 1
uuid: cc7382b2-0bd3-43ab-8220-a506726ecf23
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: ''
layout: layout_threecol_25_50_25
layout_settings:

View File

@@ -0,0 +1,305 @@
uuid: bc3f6ee1-42bf-4035-9506-e9199f9793c6
langcode: fr
status: true
dependencies:
config:
- page_manager.page.node_view
- views.view.projets
module:
- ctools_block
- node
- panels
- q2d_mod
- views
id: node_view-panels_variant-1
label: Projets
weight: 0
variant: panels_variant
variant_settings:
id: panels_variant
label: null
weight: 0
uuid: ff1301d6-7ca7-44b9-86ac-6142f1c6d76c
blocks:
3a70031f-a0e8-452f-8683-75be73c1ed8c:
id: 'entity_field:node:title'
label: Titre
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: title
weight: 0
label: visually_hidden
settings:
link_to_entity: false
tag: h2
third_party_settings: { }
region: second
weight: -4
uuid: 3a70031f-a0e8-452f-8683-75be73c1ed8c
css_classes:
- ''
html_id: ''
css_styles: ''
68a34c64-8824-43aa-8621-e373ff8816bb:
id: 'entity_field:node:field_nom_de_l_equipe'
label: "Nom de l'équipe"
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: title
weight: 0
label: visually_hidden
settings:
link_to_entity: false
tag: h3
third_party_settings: { }
region: second
weight: -3
uuid: 68a34c64-8824-43aa-8621-e373ff8816bb
css_classes:
- ''
html_id: ''
css_styles: ''
679e5933-ef21-4484-a2f2-57cc28f295a9:
id: 'entity_field:node:field_infos'
label: Infos
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_revisions_entity_view
weight: 0
label: visually_hidden
settings:
view_mode: default
third_party_settings: { }
region: second
weight: -2
uuid: 679e5933-ef21-4484-a2f2-57cc28f295a9
css_classes:
- ''
html_id: ''
css_styles: ''
97e005cf-3312-45c2-bc0c-bc458288dce2:
id: 'entity_field:node:field_parties_projet'
label: Parties
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_revisions_entity_view
weight: 0
label: visually_hidden
settings:
view_mode: default
third_party_settings: { }
region: second
weight: 1
uuid: 97e005cf-3312-45c2-bc0c-bc458288dce2
css_classes:
- ''
html_id: ''
css_styles: ''
6bc17db2-ea4c-41c7-88ba-b18fd008f4dd:
id: 'entity_field:node:field_site_projet'
label: 'Site lié'
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_entity_view
weight: 0
label: visually_hidden
settings:
view_mode: site_du_projet
third_party_settings: { }
region: first
weight: -3
uuid: 6bc17db2-ea4c-41c7-88ba-b18fd008f4dd
css_classes:
- ''
html_id: ''
css_styles: ''
cc0aaf68-3351-44d0-8209-f46194675e5c:
id: 'entity_field:node:field_documents'
label: Documents
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: file_default
weight: 0
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
region: second
weight: 2
uuid: cc0aaf68-3351-44d0-8209-f46194675e5c
css_classes:
- ''
html_id: ''
css_styles: ''
e6b95080-f986-461f-bf85-b1296574dd70:
id: 'entity_field:node:field_liens'
label: Liens
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: link
weight: 0
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: nofollow
target: _blank
third_party_settings: { }
region: second
weight: 3
uuid: e6b95080-f986-461f-bf85-b1296574dd70
css_classes:
- ''
html_id: ''
css_styles: ''
9fbc6f5e-4173-4ea7-a977-e776decb15ed:
id: 'views_block:projets-block_1'
label: ''
label_display: visible
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
fields:
field_nom_de_l_equipe:
hide: false
view_node:
hide: false
exposed:
filter-field_site_projet_target_id:
plugin_id: numeric
value: '[node:field_site_projet:target_id]'
exposed: false
expose:
use_operator: false
region: third
weight: 0
uuid: 9fbc6f5e-4173-4ea7-a977-e776decb15ed
css_classes:
- ''
html_id: ''
css_styles: ''
7ee587d4-bfff-4b10-b59c-f5bc64bbd1d7:
id: 'entity_field:node:field_laureats'
label: Lauréats
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: boolean
weight: 0
label: visually_hidden
settings:
format: custom
format_custom_false: ''
format_custom_true: Lauréats
third_party_settings: { }
region: second
weight: -5
uuid: 7ee587d4-bfff-4b10-b59c-f5bc64bbd1d7
css_classes:
- ''
html_id: ''
css_styles: ''
05bf897b-dec4-425c-ba66-dd1a1ccfb3e6:
id: sitesmap_block
label: 'Sites map Block'
label_display: '0'
provider: q2d_mod
context_mapping: { }
region: first
weight: -4
uuid: 05bf897b-dec4-425c-ba66-dd1a1ccfb3e6
css_classes:
- ''
html_id: ''
css_styles: ''
eab0e009-1e60-4c53-a83a-7ad1697e5b21:
id: 'entity_field:node:field_equipe_photo'
label: equipe_photo
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: image_caption
weight: 0
label: visually_hidden
settings:
image_style: wide
image_link: ''
image_loading:
attribute: lazy
third_party_settings: { }
region: second
weight: -1
uuid: eab0e009-1e60-4c53-a83a-7ad1697e5b21
css_classes:
- ''
html_id: ''
css_styles: ''
fd03b206-6c49-478c-8087-5b8c5596d6da:
id: 'entity_field:node:field_equipe_presentation'
label: equipe_presentation
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: text_default
weight: 0
label: visually_hidden
settings: { }
third_party_settings: { }
region: second
weight: 0
uuid: fd03b206-6c49-478c-8087-5b8c5596d6da
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: ''
layout: layout_threecol_25_50_25
layout_settings:
label: Projets
builder: standard
storage_type: page_manager
storage_id: node_view-panels_variant-1
css_classes:
- ''
html_id: ''
css_styles: ''
page: node_view
selection_criteria:
-
id: 'entity_bundle:node'
negate: false
context_mapping:
node: node
bundles:
projet: projet
selection_logic: and
static_context: { }

View File

@@ -0,0 +1,250 @@
uuid: 7b24d48b-856c-4068-9019-123a1d632edb
langcode: fr
status: true
dependencies:
config:
- page_manager.page.node_view
content:
- 'block_content:link:68d75a1d-af49-44fd-af03-06265d318546'
module:
- block_content
- ctools_block
- node
- panels
- q2d_mod
id: node_view-panels_variant-3
label: 'Galeries Photo'
weight: 0
variant: panels_variant
variant_settings:
id: panels_variant
label: null
weight: 0
uuid: 477913ae-10a8-4ccf-87e1-530a7919350f
blocks:
e09c02d4-cb7b-40f1-bc0b-477d36bb6152:
id: 'entity_field:node:title'
label: Titre
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: title
weight: 0
label: visually_hidden
settings:
link_to_entity: false
tag: h2
third_party_settings: { }
region: second
weight: -3
uuid: e09c02d4-cb7b-40f1-bc0b-477d36bb6152
css_classes:
- ''
html_id: ''
css_styles: ''
d9627f51-1087-40bc-aa42-c95641aa42a1:
id: 'entity_field:node:field_mots_clefs'
label: 'Mots Clefs'
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_label
weight: 0
label: hidden
settings:
link: false
third_party_settings: { }
region: second
weight: -1
uuid: d9627f51-1087-40bc-aa42-c95641aa42a1
css_classes:
- ''
html_id: ''
css_styles: ''
b1c1b485-01ac-4254-8835-e12bd7a18f69:
id: 'entity_field:node:field_site'
label: Site(s)
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: entity_reference_label
weight: 0
label: visually_hidden
settings:
link: false
third_party_settings: { }
region: second
weight: 0
uuid: b1c1b485-01ac-4254-8835-e12bd7a18f69
css_classes:
- ''
html_id: ''
css_styles: ''
f729e7a3-22e6-4092-b97a-f0a7546bf4de:
id: 'entity_field:node:field_author'
label: Author
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: string
weight: 0
label: visually_hidden
settings:
link_to_entity: false
third_party_settings: { }
region: second
weight: -2
uuid: f729e7a3-22e6-4092-b97a-f0a7546bf4de
css_classes:
- ''
html_id: ''
css_styles: ''
f3506637-b9fb-4657-87a3-c5a57f443064:
id: 'entity_field:node:body'
label: Corps
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: text_default
weight: 0
label: visually_hidden
settings: { }
third_party_settings: { }
region: second
weight: 1
uuid: f3506637-b9fb-4657-87a3-c5a57f443064
css_classes:
- ''
html_id: ''
css_styles: ''
350df3ab-56c9-45fb-b17c-e4a5578c3be8:
id: 'entity_field:node:field_documents'
label: Documents
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: file_default
weight: 0
label: visually_hidden
settings:
use_description_as_link_text: true
third_party_settings: { }
region: second
weight: 2
uuid: 350df3ab-56c9-45fb-b17c-e4a5578c3be8
css_classes:
- ''
html_id: ''
css_styles: ''
7af4840f-5836-4cf6-94bb-4faaa13adc9e:
id: 'entity_field:node:field_liens'
label: Liens
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: link
weight: 0
label: visually_hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: nofollow
target: _blank
third_party_settings: { }
region: second
weight: 3
uuid: 7af4840f-5836-4cf6-94bb-4faaa13adc9e
css_classes:
- ''
html_id: ''
css_styles: ''
dcfd885b-b7dc-4c0f-b303-2941938b2165:
id: 'entity_field:node:field_images'
label: Images
label_display: '0'
provider: ctools_block
context_mapping:
entity: node
formatter:
type: image_caption
weight: 0
label: visually_hidden
settings:
image_style: large
image_link: file
image_loading:
attribute: lazy
third_party_settings: { }
region: second
weight: 4
uuid: dcfd885b-b7dc-4c0f-b303-2941938b2165
css_classes:
- ''
html_id: ''
css_styles: ''
1d37c481-092d-460a-ac84-3283c44147ae:
id: galeriephotomap_block
label: 'Galerie Photo map Block'
label_display: '0'
provider: q2d_mod
context_mapping: { }
region: first
weight: 0
uuid: 1d37c481-092d-460a-ac84-3283c44147ae
css_classes:
- ''
html_id: ''
css_styles: ''
df78561a-f24e-4b32-80cb-a0541adf5c06:
id: 'block_content:68d75a1d-af49-44fd-af03-06265d318546'
label: 'Lien ressources galeries photos'
label_display: '0'
provider: block_content
status: true
info: ''
view_mode: full
context_mapping: { }
region: first
weight: 0
uuid: df78561a-f24e-4b32-80cb-a0541adf5c06
css_classes:
- ''
html_id: ''
css_styles: ''
page_title: ''
layout: layout_threecol_25_50_25
layout_settings:
label: ''
builder: standard
storage_type: page_manager
storage_id: node_view-panels_variant-3
css_classes:
- ''
html_id: ''
css_styles: ''
page: node_view
selection_criteria:
-
id: 'entity_bundle:node'
negate: false
context_mapping:
node: node
bundles:
ressource: ressource
selection_logic: and
static_context: { }

View File

@@ -0,0 +1,22 @@
uuid: 658b6e7b-ca66-4393-a395-48ceecd74eba
langcode: fr
status: true
dependencies:
module:
- node
id: projets
label: Projets
type: 'canonical_entities:node'
pattern: '/projets/[node:title]'
selection_criteria:
e4b92eaa-98ed-445e-af7f-d5f8f5f1ce4a:
id: 'entity_bundle:node'
negate: false
uuid: e4b92eaa-98ed-445e-af7f-d5f8f5f1ce4a
context_mapping:
node: node
bundles:
projet: projet
selection_logic: and
weight: -5
relationships: { }

View File

@@ -1,5 +1,18 @@
langcode: fr
blocks:
-
info: 'Lien ressources galeries photos'
langcode: fr
uuid: 68d75a1d-af49-44fd-af03-06265d318546
bundle: link
revision_id: null
rev_id_current: null
fields:
field_link:
-
uri: 'internal:/ressources?field_type_de_ressource_target_id[]=17&combine=&field_tous_les_sites_value=All'
title: 'Retour aux ressources'
options: { }
-
info: 'Lien actus'
langcode: fr
@@ -13,3 +26,290 @@ blocks:
uri: 'internal:/actualites'
title: 'Voir toutes les actualités'
options: { }
-
info: 'Rencontres nationales en replay'
langcode: fr
uuid: 77413815-a48b-4ec5-8bfd-6d5e88206b3b
bundle: live_youtube
revision_id: null
rev_id_current: null
fields:
field_descritpion:
-
value: "<p>La Cité de l'architecture et du patrimoine et le GIP EPAU organisent les premières Rencontres nationales <em>Quartiers de demain</em>, visant à installer une scène de débat nationale sur la transformation durable des quartiers.&nbsp;<br>La journée du 4 mars sera marquée par la révélation des 30 équipes internationales retenues pour participer au dialogue compétitif sur les 10 sites de projets ; aux côtés d'élus, de praticiens et d'experts de la politique de la ville.<br><br>Retrouvez le dossier de presse avec l'annonce de 30 équipes sélectionnées pour participer au dialogue compétitif Quartiers de demain,<a href=\"https://quartiers-de-demain.archi.fr/sites/default/files/2025-03/DP-QDD_mars2025_v19.pdf\"><strong> à télécharger !</strong></a></p>"
format: wysiwyg
field_titre: { }
field_youtube:
-
value: 'https://www.youtube.com/live/EDPE3zCOYKY?feature=shared'
-
info: 'Logo quartiers de demain'
langcode: fr
uuid: ad76f4b5-6dd6-490c-9c64-4a20f2207670
bundle: logo_link
revision_id: null
rev_id_current: null
fields:
field_lien:
-
uri: 'internal:/'
title: ''
options: { }
field_logo:
-
target_id: '30'
alt: 'logo Consultation international Quartiers de Demain'
title: ''
width: '1029'
height: '351'
caption: null
caption_format: null
-
info: 'Logo epau'
langcode: fr
uuid: dacc759c-d305-4366-a56b-ef214acd0be9
bundle: logo_link
revision_id: null
rev_id_current: null
fields:
field_lien:
-
uri: 'https://epau.archi.fr/'
title: ''
options: { }
field_logo:
-
target_id: '33'
alt: 'logo EPAU'
title: ''
width: '625'
height: '188'
caption: null
caption_format: null
-
info: 'Logo répu'
langcode: fr
uuid: 32b479fd-6b3f-4640-b817-c91d40425761
bundle: logo_link
revision_id: null
rev_id_current: null
fields:
field_lien: { }
field_logo:
-
target_id: '32'
alt: 'logo République française'
title: ''
width: '517'
height: '444'
caption: null
caption_format: null
menus:
-
menu_name: admin
title: 'Intro ressources'
parent: system.admin_content
uri: 'internal:/edit/ressources'
link_title: ''
description: null
enabled: true
expanded: false
weight: 0
langcode: fr
uuid: e28fb66f-21c1-42d3-9d85-ee19e1a28d14
options:
attributes:
class:
- ''
-
menu_name: entete
title: Partenaires
parent: null
uri: 'internal:/partenaires'
link_title: ''
description: null
enabled: true
expanded: false
weight: -46
langcode: fr
uuid: 608ba43c-1931-4ee1-9b6c-bc3637f2a0dc
options:
attributes:
class:
- ''
-
menu_name: entete
title: Contacts
parent: null
uri: 'entity:node/2'
link_title: ''
description: null
enabled: true
expanded: false
weight: -45
langcode: fr
uuid: efdff74d-685c-4f20-8e16-4351cd4f929c
options:
attributes:
class:
- ''
-
menu_name: entete
title: 'Mentions légales'
parent: null
uri: 'entity:node/1'
link_title: ''
description: null
enabled: false
expanded: false
weight: -44
langcode: fr
uuid: 1b21428d-c068-48b3-8cb6-ba3c1113bb59
options:
attributes:
class:
- ''
-
menu_name: entete
title: Présentation
parent: null
uri: 'entity:node/6'
link_title: ''
description: null
enabled: false
expanded: false
weight: -50
langcode: fr
uuid: a833cd74-00fa-46a0-950b-aedc100c908f
options:
attributes:
class:
- ''
-
menu_name: entete
title: 'La consultation'
parent: null
uri: 'entity:node/7'
link_title: ''
description: null
enabled: true
expanded: true
weight: -49
langcode: fr
uuid: 1415f75a-0c82-4d29-9b67-8f0eff863069
options:
attributes:
class:
- ''
-
menu_name: entete
title: 'les 10 Sites'
parent: null
uri: 'internal:/lessites'
link_title: ''
description: null
enabled: true
expanded: false
weight: -48
langcode: fr
uuid: 0c6fa9f3-65f6-403d-a357-6338c532b95e
options:
attributes:
class:
- ''
-
menu_name: entete
title: 'Pour candidater'
parent: null
uri: 'entity:node/44'
link_title: ''
description: null
enabled: false
expanded: false
weight: -47
langcode: fr
uuid: e466f110-e5f7-4a38-bd20-b1be732d9179
options:
attributes:
class:
- ''
-
menu_name: entete
title: 'Les 30 projets'
parent: null
uri: 'internal:/lesprojets'
link_title: ''
description: null
enabled: true
expanded: true
weight: -48
langcode: fr
uuid: da75c27c-9a00-4f16-980a-10f5467bf0ac
options:
attributes:
class:
- ''
-
menu_name: footer
title: 'Mentions légales'
parent: null
uri: 'entity:node/1'
link_title: ''
description: null
enabled: true
expanded: false
weight: -46
langcode: fr
uuid: d95fd71b-4146-4328-b5b5-1e5c66919596
options:
attributes:
class:
- ''
-
menu_name: footer
title: Contacts
parent: null
uri: 'entity:node/2'
link_title: ''
description: null
enabled: true
expanded: false
weight: -47
langcode: fr
uuid: 55c4cb76-62cf-4d80-ad13-84481430b74d
options:
attributes:
class:
- ''
-
menu_name: footer
title: Accueil
parent: null
uri: 'internal:/'
link_title: ''
description: null
enabled: true
expanded: false
weight: -50
langcode: fr
uuid: c1f56a2d-5e1f-492a-92a5-4902ba4eb343
options:
attributes:
class:
- ''
-
menu_name: footer
title: 'La consultation'
parent: null
uri: 'entity:node/7'
link_title: ''
description: null
enabled: true
expanded: false
weight: -49
langcode: fr
uuid: 5e39cdc7-1bf4-4684-869b-87ce57b7dae4
options:
attributes:
class:
- ''

View File

@@ -12,4 +12,4 @@ page:
admin_compact_mode: false
weight_select_max: 100
default_langcode: fr
mail_notification: null
mail_notification: ''

View File

@@ -3,20 +3,7 @@ _core:
langcode: fr
cancel_confirm:
subject: "Demande d'annulation du compte [user:display-name] sur [site:name]"
body: |-
[user:display-name],
A request to cancel your account has been made at [site:name].
You may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:
[user:cancel-url]
NOTE: The cancellation of your account is not reversible.
This link expires in one day and nothing will happen if it is not used.
-- [site:name] team
body: "[user:display-name],\r\n\r\nA request to cancel your account has been made at [site:name].\r\n\r\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:cancel-url]\r\n\r\nNOTE: The cancellation of your account is not reversible.\r\n\r\nThis link expires in one day and nothing will happen if it is not used.\r\n\r\n-- [site:name] team"
password_reset:
subject: 'Modification des informations de connexion pour [user:display-name] sur [site:name]'
body: "[user:display-name],\r\n\r\nUne demande de réinitialisation de votre mot de passe pour votre compte a été faite sur [site:name].\r\n\r\nVous pouvez maintenant vous connecter en cliquant sur le lien ci-dessous ou en le copiant dans votre navigateur : \r\n\r\n[user:one-time-login-url]\r\n\r\nCe lien ne peut être utilisé qu'une seule fois pour vous connecter et vous mènera à la page pour changer votre mot de passe. Il expirera dans un jour et rien ne se passera s'il n'est pas utilisé.\r\n\r\n-- L'équipe de [site:name]"

View File

@@ -73,6 +73,7 @@ permissions:
- 'edit deroulement config page entity'
- 'edit diaporama_home config page entity'
- 'edit intro_partenaires config page entity'
- 'edit intro_ressources config page entity'
- 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node'
- 'execute entity:save_action taxonomy_term'

View File

@@ -18,3 +18,4 @@ permissions:
- 'view deroulement config page entity'
- 'view diaporama_home config page entity'
- 'view intro_partenaires config page entity'
- 'view intro_ressources config page entity'

View File

@@ -20,3 +20,4 @@ permissions:
- 'view deroulement config page entity'
- 'view diaporama_home config page entity'
- 'view intro_partenaires config page entity'
- 'view intro_ressources config page entity'

View File

@@ -43,7 +43,10 @@ permissions:
- 'create site content'
- 'create static content'
- 'delete any actualite content'
- 'delete any partenaire content'
- 'delete any projet content'
- 'delete any ressource content'
- 'delete any site content'
- 'delete partenaire revisions'
- 'delete ressource revisions'
- 'delete site revisions'
@@ -56,6 +59,7 @@ permissions:
- 'edit deroulement config page entity'
- 'edit diaporama_home config page entity'
- 'edit intro_partenaires config page entity'
- 'edit intro_ressources config page entity'
- 'execute entity:save_action node'
- 'execute node_make_sticky_action node'
- 'execute node_make_unsticky_action node'

View File

@@ -1,5 +1,6 @@
_core:
default_config_hash: fbROM54Y8G4Yfeq1G2NbNX6K9ovDAP55c7YM9dTaSWQ
langcode: fr
anonymous: Anonyme
verify_mail: false
notify:
@@ -11,8 +12,7 @@ notify:
register_admin_created: true
register_no_approval_required: true
register_pending_approval: true
register: visitors
register: admin_only
cancel_method: user_cancel_block
password_reset_timeout: 86400
password_strength: true
langcode: fr

View File

@@ -0,0 +1,480 @@
uuid: d4371ee6-c291-425c-b801-9372731956ab
langcode: fr
status: true
dependencies:
config:
- field.storage.node.field_laureats
- field.storage.node.field_nom_de_l_equipe
- node.type.projet
module:
- manage_display
- node
- user
id: projets
label: Projets
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: 'Sur le même site de projet'
fields:
field_laureats:
id: field_laureats
table: node__field_laureats
field: field_laureats
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: boolean
settings:
format: custom
format_custom_false: ''
format_custom_true: Lauréat
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
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
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: title
settings:
link_to_entity: true
tag: h2
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
field_nom_de_l_equipe:
id: field_nom_de_l_equipe
table: node__field_nom_de_l_equipe
field: field_nom_de_l_equipe
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: title
settings:
link_to_entity: true
tag: h3
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
view_node:
id: view_node
table: node
field: view_node
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: entity_link
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
text: 'voir le projet'
output_url_as_text: false
absolute: false
pager:
type: some
options:
offset: 0
items_per_page: 5
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:
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:
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: node_nid
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: node
default_argument_options: { }
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: true
field_site_projet_target_id:
id: field_site_projet_target_id
table: node__field_site_projet
field: field_site_projet_target_id
relationship: none
group_type: group
admin_label: ''
plugin_id: entity_target_id
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: false
title: ''
default_argument_type: token
default_argument_options:
argument: '[node:field_site_projet:target_id]'
process: 0
and_or: +
all_option: 1
debug: 0
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
break_phrase: false
not: false
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:
projet: projet
style:
type: default
row:
type: fields
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'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_laureats'
- 'config:field.storage.node.field_nom_de_l_equipe'
block_1:
id: block_1
display_title: 'Block autres projets du site'
display_plugin: block
position: 1
display_options:
display_description: ''
exposed_block: true
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: { }
block_description: 'Autres projets du site'
allow:
items_per_page: false
offset: '0'
pager: '0'
hide_fields: '0'
sort_fields: '0'
configure_filters: configure_filters
disable_filters: '0'
configure_sorts: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_laureats'
- 'config:field.storage.node.field_nom_de_l_equipe'

View File

@@ -19,17 +19,21 @@ dependencies:
- system.menu.entete
- taxonomy.vocabulary.mots_clefs
- taxonomy.vocabulary.type_de_ressources
content:
- 'config_pages:intro_ressources:85c7dc7e-0448-4073-9c7e-58ab7a809374'
module:
- datetime
- formatter_suite
- image
- link
- manage_display
- node
- taxonomy
- text
- user
- verf
- video_embed_field
- views_conditional
id: ressources
label: Ressources
module: views
@@ -109,6 +113,68 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
field_type_de_ressource_1:
id: field_type_de_ressource_1
table: node__field_type_de_ressource
field: field_type_de_ressource
relationship: none
group_type: group
admin_label: 'Ressource type ID'
plugin_id: field
label: ''
exclude: true
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_id
settings: { }
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
weight:
id: weight
table: taxonomy_term_field_data
@@ -503,11 +569,141 @@ display:
field: title
relationship: none
group_type: group
admin_label: ''
admin_label: 'Title not linked'
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: true
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: title
settings:
link_to_entity: false
tag: h2
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
title_2:
id: title_2
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: 'Title linked'
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: true
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: title
settings:
link_to_entity: true
tag: h2
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
views_conditional_field_1:
id: views_conditional_field_1
table: views_conditional
field: views_conditional_field
relationship: none
group_type: group
admin_label: 'Conditionnal title linked for gallerie OR not linked'
plugin_id: views_conditional_field
label: ''
exclude: false
alter:
alter_text: false
@@ -548,20 +744,14 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: false
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
if: field_type_de_ressource_1
condition: eq
equalto: '17'
then: '{{ title_2 }}'
then_translate: false
or: '{{ title_1 }}'
or_translate: false
strip_tags: false
field_sous_titre_1:
id: field_sous_titre_1
table: node__field_sous_titre
@@ -1079,6 +1269,116 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
view_node:
id: view_node
table: node
field: view_node
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: entity_link
label: ''
exclude: true
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
text: 'Voir la gallerie photo'
output_url_as_text: false
absolute: false
views_conditional_field:
id: views_conditional_field
table: views_conditional
field: views_conditional_field
relationship: none
group_type: group
admin_label: 'conditional gallerie link'
plugin_id: views_conditional_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
if: field_type_de_ressource_1
condition: eq
equalto: '17'
then: '{{ view_node }}'
then_translate: true
or: ''
or_translate: true
strip_tags: false
pager:
type: none
options:
@@ -1128,6 +1428,33 @@ display:
label: ''
field_identifier: ''
exposed: false
field_poid_value:
id: field_poid_value
table: node__field_poid
field: field_poid_value
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
field_date_ressource_value:
id: field_date_ressource_value
table: node__field_date_ressource
field: field_date_ressource_value
relationship: none
group_type: group
admin_label: ''
plugin_id: datetime
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
granularity: second
arguments: { }
filters:
status:
@@ -1446,7 +1773,20 @@ display:
admin_label: 'field_type_de_ressource : Terme de taxonomie'
plugin_id: standard
required: true
header: { }
header:
entity_config_pages:
id: entity_config_pages
table: views
field: entity_config_pages
relationship: none
group_type: group
admin_label: ''
plugin_id: entity
empty: false
target: 85c7dc7e-0448-4073-9c7e-58ab7a809374
view_mode: default
tokenize: true
bypass_access: false
footer: { }
display_extenders: { }
cache_metadata:

View File

@@ -7,7 +7,7 @@ dependencies:
- field.storage.node.field_images
- field.storage.node.field_projets_lie
- field.storage.node.field_sous_titre
- image.style.thumbnail
- image.style.wide
- node.type.site
module:
- geofield
@@ -28,7 +28,7 @@ display:
display_plugin: default
position: 0
display_options:
title: 'Projets et résultats'
title: 'Les 30 projets'
fields:
nid_1:
id: nid_1
@@ -213,7 +213,7 @@ display:
type: image
settings:
image_link: content
image_style: thumbnail
image_style: wide
image_loading:
attribute: lazy
group_column: ''
@@ -494,6 +494,19 @@ display:
options: { }
empty: { }
sorts:
field_poid_value:
id: field_poid_value
table: node__field_poid
field: field_poid_value
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
created:
id: created
table: node_field_data

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: 'gilroy-semibold';
src: url('../css/fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff');
}
#sites-map-container {
}
#sites-map-container {
background-color: transparent;
text-align: center;
position: relative;
@@ -10,28 +10,33 @@
max-width: 600px;
margin: 0 auto;
height: auto;
}
@media (max-width: 810px) {
}
#sites-map-container h2{
font-size: 2rem;
}
@media (max-width: 810px) {
#sites-map-container {
width: 80%;
}
}
@media (max-width: 530px) {
}
@media (max-width: 530px) {
#sites-map-container {
width: 100%;
height: 485px;
height:396px;
}
}
@media (max-width: 400px) {
}
@media (max-width: 400px) {
#sites-map-container {
width: 100%;
height: 430px;
}
}
#sites-map-container .site-link:hover {
}
#sites-map-container .site-link:hover {
cursor: pointer;
}
#sites-map-container #popup {
}
#sites-map-container #popup {
font-family: 'gilroy-light';
display: none;
position: absolute;
@@ -39,56 +44,60 @@
text-align: left;
padding-left: 1rem;
/* pointer-events: none; */
}
@media (max-width: 1090px) {
}
@media (max-width: 1090px) {
#sites-map-container #popup {
bottom: 20px;
}
}
@media (min-width: 1090px) {
}
@media (min-width: 1090px) {
#sites-map-container #popup {
top: 50%;
left: 80%;
left: 88%;
transform: translateY(-50%);
width: 300px;
}
}
#sites-map-container strong {
}
#sites-map-container strong a {
color: #f7002b;
font-family: 'gilroy-bold';
}
#sites-map-container a {
/* display: none; */
font-size: 0.6rem !important;
}
#sites-map-container .link-30-projets{
padding-bottom: 2rem;
}
#sites-map-container .link-30-projets a {
display: inline-flex;
align-items: center;
color: white;
background: black;
text-transform: uppercase;
font-size: 0.5rem;
font-size: 0.55rem;
padding-left: 0.5rem;
text-decoration: none;
margin-top: 0.7rem;
height: 1.3rem;
padding-top: 0.2rem;
padding-bottom: 0.2rem;
font-family: 'gilroy-medium';
display: inline-flex;
padding-top: 0.1rem;
padding-bottom: 0.1rem;
}
#sites-map-container a:after {
}
#sites-map-container .link-30-projets a:after {
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.5rem;
padding-left: 0.5rem;
}
#popup-content {
padding-right: 0.4rem;
padding-left: 0.4rem;
height: 10px;
}
#popup-content {
width: 300px;
padding-right: 30px;
font-size: 0.6rem !important;
}
#popup-content p {
font-size: 0.6rem !important;
}
@media (max-width: 810px) {
font-size: 0.5rem !important;
position: relative;
}
#popup-content p {
font-size: 0.5rem !important;
}
@media (max-width: 1089px) {
#popup-content {
width: 300px;
background-color: white;
@@ -96,5 +105,120 @@
padding: 0.5rem;
padding-left: 1rem;
}
}
#popup-content ul{
padding-left: 0;
position: relative;
/* margin-top: 2rem; */
font-size: 0.5rem !important;
padding-top: calc(1.8rem / 8); /* même valeur que ton margin-top */
}
#popup-content ul::after {
content: "";
position: absolute;
top: -5px;
left: 0;
width: 100%;
height: 1px;
background-color: black;
z-index: 0;
}
#popup-content ul li {
position: relative;
color: black;
font-family: "gilroy-semibold";
padding-top: 0.3rem;
padding-bottom: 0.5rem;
text-transform: uppercase;
/* background-color: #f6f7f3; */
transition: transform 0.4s ease-in-out;
}
#popup-content ul li:hover {
transform: scale(1.03);
}
#popup-content ul li .site-link {
text-transform: none;
}
#popup-content ul li::after {
content: "";
position: absolute;
bottom: 0;
left: 0rem; /* même valeur que le padding-left */
/* width: calc(100% - 0.3rem); réduit la longueur */
width: 100%;
height: 1px;
background: black;
}
#popup-content ul li.laureat {
margin-top: 0; /* on enlève la marge qui cause le problème */
}
/* Spécifique au li .laureat */
#popup-content ul li.laureat {
--badge-size: 1.8rem; /* taille du badge */
margin-top: calc(var(--badge-size) / 1.5); /* on réserve de la place au-dessus */
padding-left: 0rem; /* place à gauche pour le badge */
}
/* Badge LAUREAT responsive */
#popup-content ul li.laureat::before {
content: "";
position: absolute;
left: -1rem; /* aligne avec le début du contenu */
top: -18%; /* milieu vertical du li */
/* top: calc(var(--badge-size) / 2); remonte dans la marge au-dessus */
width: var(--badge-size);
height: var(--badge-size);
/* background-color: #f6f7f3; */
background-image: url("../img/laureat-ouvert.svg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
z-index: -1; /* sous le texte mais au-dessus du fond */
}
/* Mobile : on resserre tout, le badge suit */
@media (max-width: 1089px) {
#popup-content {
width: 300px;
background-color: white;
border-radius: 5px;
padding: 0.5rem 0.5rem 0.5rem 1rem;
padding-left:2rem ;
}
#popup-content ul li {
background-color: white;
/* padding-left: 3rem; */
}
#popup-content ul li::after {
height: 0.5px;
}
#popup-content ul li.laureat {
/* padding-left: 3rem; */
z-index: 0;
background-color: white !important;
}
#popup-content ul li.laureat::before {
width: 2.2rem;
height: 2.2rem;
left: -1.3rem;
top: -0.8rem;
z-index: -1;
background-color: white;
background-image: url("../img/laureat-ouvert.svg");
}
/* li{background-color: white;} */
}

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="22.250273mm"
height="22.250275mm"
viewBox="0 0 22.250273 22.250275"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-95.271042,-166.06271)">
<path
id="path15512"
d="m 101.09827,178.67313 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024872,0.50049 -0.06585,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011694,-0.95977 0.02634,-0.31473 2.142714,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055388,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244464,-0.61354 0.121474,-0.25141 1.23376,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
<circle
style="opacity:1;fill:#fff;fill-opacity:1;stroke:#f7002b;stroke-width:2.86467;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
id="path2"
cx="106.39618"
cy="177.18785"
r="9.6928015" />
<path
id="path15512-3"
d="m 101.22891,178.81894 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024877,0.50049 -0.0658,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011697,-0.95977 0.0263,-0.31473 2.142717,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055387,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244467,-0.61354 0.12148,-0.25141 1.233757,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="22.250273mm"
height="22.250275mm"
viewBox="0 0 22.250273 22.250275"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-95.271042,-166.06271)">
<path
id="path15512"
d="m 101.09827,178.67313 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024872,0.50049 -0.06585,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011694,-0.95977 0.02634,-0.31473 2.142714,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055388,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244464,-0.61354 0.121474,-0.25141 1.23376,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
<circle
style="opacity:1;fill:#f6f7f3;fill-opacity:1;stroke:#f7002b;stroke-width:2.86467;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
id="path2"
cx="106.39618"
cy="177.18785"
r="9.6928015" />
<path
id="path15512-3"
d="m 101.22891,178.81894 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024877,0.50049 -0.0658,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011697,-0.95977 0.0263,-0.31473 2.142717,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055387,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244467,-0.61354 0.12148,-0.25141 1.233757,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="21.999817mm"
height="22.224886mm"
viewBox="0 0 21.999817 22.224886"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-134.26138,-166.10292)">
<path
id="path15511"
d="m 145.26127,188.3278 c -6.07504,0 -10.99989,-4.97515 -10.99989,-11.11228 0,-6.13746 4.92485,-11.11261 10.99989,-11.11261 6.07508,0 10.99993,4.97515 10.99993,11.11261 h -2.70535 c 0,-4.62785 -3.71358,-8.37963 -8.29458,-8.37963 -4.58099,0 -8.29455,3.75178 -8.29455,8.37963 0,4.6278 3.71356,8.37928 8.29455,8.37928 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.352778" />
<path
id="path15512-6"
d="m 140.12905,179.37182 -0.23373,-0.96485 0.27833,-0.0688 0.30571,1.26195 -2.21399,0.54723 -0.072,-0.29711 z m 0.13171,-2.92584 -0.52504,0.1433 -0.0864,1.03237 0.49376,0.23033 -0.0272,0.32445 -2.19958,-1.04941 0.0288,-0.34413 2.34283,-0.66136 z m -0.88498,1.04666 0.0689,-0.82261 -1.15395,0.31733 z m 1.48595,-2.96679 c 0.0612,0.20828 0.0366,0.42668 -0.0739,0.65528 -0.11045,0.22857 -0.26626,0.38354 -0.46742,0.46493 -0.20216,0.0785 -0.41347,0.0633 -0.63391,-0.0453 l -1.36069,-0.67084 0.13282,-0.27489 1.34899,0.66506 c 0.14436,0.0712 0.28041,0.0846 0.40814,0.0402 0.12578,-0.0453 0.2277,-0.1488 0.30578,-0.31037 0.0781,-0.16161 0.0961,-0.30643 0.0541,-0.43449 -0.0439,-0.12901 -0.13809,-0.22909 -0.28245,-0.30028 l -1.34899,-0.66506 0.1314,-0.27192 1.36069,0.67081 c 0.22044,0.10869 0.36224,0.26765 0.42538,0.47692 z m 1.54849,-1.44672 -0.9695,-0.29086 -0.39232,0.37078 0.59622,0.64364 -0.22113,0.20899 -1.55727,-1.68119 0.66576,-0.62919 c 0.14266,-0.13483 0.31217,-0.19895 0.50854,-0.19235 0.19489,0.005 0.35907,0.0795 0.49255,0.22364 0.10086,0.10888 0.16031,0.23886 0.17837,0.38995 0.0197,0.14958 -0.004,0.29073 -0.0716,0.42344 l 1.01523,0.30169 z m -2.12932,-0.74867 0.58063,0.62684 0.44463,-0.42021 c 0.0824,-0.0779 0.12399,-0.17424 0.1247,-0.28901 8.1e-4,-0.11787 -0.0388,-0.22004 -0.11892,-0.3065 -0.0801,-0.0865 -0.17763,-0.13241 -0.29264,-0.13782 -0.11343,-0.007 -0.21135,0.0286 -0.29378,0.10648 z m 2.45359,-2.76643 -0.12456,0.53199 -0.24966,0.11287 0.0622,-0.50376 z m 0.36989,2.7588 0.96591,-0.43672 0.11708,0.26418 -1.2423,0.56169 -0.93123,-2.10142 1.22745,-0.55497 0.11706,0.26418 -0.95106,0.43 0.28603,0.64543 0.87676,-0.39641 0.11571,0.26118 -0.87672,0.39641 z m 2.97586,-0.41872 -0.23266,-0.49656 -1.02119,0.097 -0.13691,0.53167 -0.32096,0.0305 0.63268,-2.37261 0.34039,-0.0323 1.05957,2.21182 z m -1.17666,-0.69428 0.81372,-0.0773 -0.51368,-1.09092 z m 3.55272,-1.1568 -0.0655,0.28176 -0.65617,-0.15569 -0.45572,1.95955 -0.29161,-0.0692 0.45569,-1.95955 -0.65299,-0.15494 0.0655,-0.28177 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.352778" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -9,6 +9,9 @@ const isHomePage = document.querySelector('main#home') !== null;
const isLessitesPage = document.querySelector('div#lessites') !== null;
const isNodeTypeSitePage = document.body.classList.contains('node-type-site');
const isCandidaturePage = document.querySelector('main#pour_candidater') !== null;
const isNodeTypeProjetPage = document.body.classList.contains('node-type-projet');
const isNodeTypeRessourcePage = document.body.classList.contains('node-type-ressource');
// Identifier le cercle de la page courante pour node-type-site
let currentPageCircle = null;
@@ -25,6 +28,53 @@ if (isNodeTypeSitePage) {
}
}
}
// Identifier le cercle du SITE lié quand on est sur une page node-type-projet
if (isNodeTypeProjetPage && svgElement) {
// On récupère le lien vers le site lié dans le bloc "Site lié"
const linkedSiteLink = document.querySelector('.field_field_site_projet article.node-type-site a[href*="/sites/"]');
if (linkedSiteLink) {
// On normalise le chemin (sans domaine) de l'URL du site
const sitePath = new URL(linkedSiteLink.getAttribute('href'), window.location.origin).pathname;
// On cherche le cercle dont le data-url pointe vers le même site
const correspondingCircle = Array.from(svgElement.querySelectorAll('circle.site-link')).find(circle => {
const circleUrl = circle.getAttribute('data-url');
if (!circleUrl) return false;
const circlePath = new URL(circleUrl, window.location.origin).pathname;
return circlePath === sitePath;
});
if (correspondingCircle) {
currentPageCircle = correspondingCircle;
currentPageCircle.setAttribute('fill', 'red'); // Met en rouge le cercle du site lié
}
}
}
// Identifier le cercle du SITE lié quand on est sur une page node-type-ressource
if (isNodeTypeRessourcePage && svgElement) {
// On récupère le nom du site dans le bloc "Site(s)"
const siteField = document.querySelector('.field_field_site');
if (siteField && siteField.children[1]) {
// children[0] = label "Site(s)", children[1] = wrapper du nom
const siteName = siteField.children[1].textContent.trim(); // ex : "Corbeil-Essonnes, quartier des Tarterêts"
// On cherche le cercle dont le data-content contient ce nom
const correspondingCircle = Array.from(svgElement.querySelectorAll('circle.site-link')).find(circle => {
const content = circle.getAttribute('data-content') || '';
return content.includes(siteName);
});
if (correspondingCircle) {
currentPageCircle = correspondingCircle;
currentPageCircle.setAttribute('fill', 'red'); // Met en rouge le cercle du site lié
}
}
}
// Fonction pour afficher le popup
@@ -46,6 +96,8 @@ svgElement.addEventListener('mouseover', function(event) {
const content = event.target.getAttribute('data-content');
const dataId = event.target.getAttribute('data-id');
const correspondingRow = document.querySelector(`.views-row[data-id="${dataId}"]`);
const correspondingProjetRow = document.querySelector(`.node-type-projet[data-id="${dataId}"]`);
// Interaction pour la page d'accueil
if (isHomePage) {
@@ -68,7 +120,7 @@ svgElement.addEventListener('mouseover', function(event) {
}
// Interaction pour la page #lessites
if (isLessitesPage && correspondingRow) {
if (isLessitesPage && correspondingRow && correspondingProjetRow) {
correspondingRow.style.border = '2px solid red'; // Bordure rouge autour du .views-row correspondant
}
}
@@ -89,6 +141,8 @@ svgElement.addEventListener('mouseout', function(event) {
if (event.target.classList.contains('site-link')) {
const dataId = event.target.getAttribute('data-id');
const correspondingRow = document.querySelector(`.views-row[data-id="${dataId}"]`);
const correspondingProjetRow = document.querySelector(`.node-type-projet[data-id="${dataId}"]`);
// Ferme le popup pour la page d'accueil
if (isHomePage || isCandidaturePage) {
@@ -97,7 +151,7 @@ svgElement.addEventListener('mouseout', function(event) {
}
// Supprime la bordure rouge autour du .views-row pour la page #lessites
if (isLessitesPage && correspondingRow) {
if (isLessitesPage && correspondingRow && correspondingProjetRow) {
correspondingRow.style.border = 'none';
}
}
@@ -109,17 +163,58 @@ svgElement.addEventListener('mouseout', function(event) {
});
// Gérer les clics pour la page node-type-site uniquement
svgElement.addEventListener('click', function(event) {
// Gérer les clics sur les cercles de la carte
if (svgElement) {
svgElement.addEventListener('click', function(event) {
const target = event.target;
if (!target.classList || !target.classList.contains('site-link')) {
return;
}
// On récupère les URLs
const missionUrl = target.getAttribute('data-mission-photo-url');
const fallbackUrl = target.getAttribute('data-url');
// 1) Page RESSOURCE : priorité à la mission photo
if (isNodeTypeRessourcePage) {
event.preventDefault(); // empêche le <a href="..."> d'agir
if (missionUrl) {
window.location.href = missionUrl; // Aller directement à la mission photo
} else if (fallbackUrl) {
window.location.href = fallbackUrl; // Sinon, on garde le comportement actuel
}
return;
}
// 2) Page SITE : comportement actuel
if (isNodeTypeSitePage) {
if (event.target.classList.contains('site-link')) {
const targetUrl = event.target.getAttribute('data-url');
if (targetUrl) {
window.location.href = targetUrl; // Redirige vers le data-url correspondant
if (fallbackUrl) {
event.preventDefault();
window.location.href = fallbackUrl;
}
return;
}
// 3) Page PROJET : comportement actuel
if (isNodeTypeProjetPage) {
if (fallbackUrl) {
event.preventDefault();
window.location.href = fallbackUrl;
}
});
return;
}
// 4) Autres pages : si tu veux un comportement par défaut
// if (fallbackUrl) {
// event.preventDefault();
// window.location.href = fallbackUrl;
// }
});
}
// Fonction pour gérer l'agrandissement de views-row au survol des cercles
if (isLessitesPage) {

View File

@@ -5,3 +5,10 @@ sites_map_block:
assets/css/carte-interactive-qdd.css: {}
js:
assets/js/carte-interactive-qdd.js: {}
projets_map_block:
css:
theme:
assets/css/fontface.css: {}
assets/css/carte-interactive-qdd.css: {}
js:
assets/js/carte-interactive-qdd.js: {}

View File

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

View File

@@ -0,0 +1,186 @@
<?php
namespace Drupal\q2d_mod\Plugin\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Block\Attribute\Block;
// use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Url;
use Drupal\Core\Link;
use Drupal\Core\Render\Markup;
/**
* Provides a 'Sites Map' Block.
* @Block(
* id = "galeriephotomap_block",
* admin_label = @Translation("Galerie Photo map Block"),
* )
*/
class GaleriePhotoMap extends BlockBase {
/**
* {@inheritdoc}
*/
public function build() {
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
$return = null;
$allSites = \Drupal::entityTypeManager()->getStorage('node')
->loadByProperties(['type' => 'site', 'status' => 1]);
$sites_paths = "";
$vp_w = 600;
$vp_h = 600;
// Charger toutes les ressources de type "Mission photo" (type de ressource = 17)
$all_mission_photos = \Drupal::entityTypeManager()
->getStorage('node')
->loadByProperties([
'type' => 'ressource', // adapte si ton type machine est différent
'status' => 1,
'field_type_de_ressource' => 17, // même ID que dans la query de la vue
]);
// Indexer les missions photo par ID de site
$mission_by_site = [];
foreach ($all_mission_photos as $mission) {
if (!$mission->hasField('field_site') || $mission->get('field_site')->isEmpty()) {
continue;
}
// Un même node peut être lié à plusieurs sites : on en prend un par site
foreach ($mission->get('field_site') as $ref) {
$site_id = $ref->target_id;
if (!isset($mission_by_site[$site_id])) {
$mission_by_site[$site_id] = $mission;
}
}
}
// Coordonnées géographiques des coins de la carte (France)
$latTop = 52.0; // Nord-Ouest (coin supérieur gauche)
$lonLeft = -6.0;
$latBottom = 40.0; // Sud-Est (coin inférieur droit)
$lonRight = 11.0;
foreach($allSites as $index => $site){
$langcode = \Drupal::languageManager()->getCurrentLanguage()->getId();
// /ressources?field_type_de_ressource_target_id[]=17&combine=&field_tous_les_sites_value=All&field_site_target_id_verf[]=37
$query = [
'field_type_de_ressource_target_id[]' => 17, # fixed to galeries_photos
'combine' => '',
'field_tous_les_sites_value' => 'All',
'field_site_target_id_verf[]' => $site->id(),
];
$url = Url::fromRoute('view.ressources.page_1', [], ['query' => $query])->toString();
// $title = $site->get('title')->getString();
$title = $site->hasTranslation($language) ? $site->getTranslation($language)->get('title')->getString() : $site->get('title')->getString();
// $subtitle = $site->get('field_sous_titre')->getString();
$subtitle = $site->hasTranslation($language) ? $site->getTranslation($language)->get('field_sous_titre')->getString() : $site->get('field_sous_titre')->getString();
// URL directe de la mission photo liée à ce site (si trouvée)
$mission_photo_url = '';
if (isset($mission_by_site[$site->id()])) {
$mission_node = $mission_by_site[$site->id()];
// Respecter la langue courante si traduction existe
if ($mission_node->hasTranslation($language)) {
$mission_node = $mission_node->getTranslation($language);
}
$mission_photo_url = $mission_node->toUrl('canonical', [
'absolute' => TRUE,
'language' => \Drupal::languageManager()->getLanguage($langcode),
])->toString();
}
$link_options = ['absolute' => TRUE, 'attributes' => ['class' => 'ressource-link'], 'language' => \Drupal::languageManager()->getLanguage($langcode)]; // Passer 'absolute' à TRUE
// $site_url = $site->toUrl('canonical', $link_options)->toString(); // URL absolue pour le data-url
$site_link_object = Link::createFromRoute(t("Voir le site"), 'entity.node.canonical', ['node' => $site->id()], $link_options);
$link = $site_link_object->toString()->getGeneratedLink();
$datacontent = htmlspecialchars("<strong>$title</strong><br>$subtitle<br>$link");
$geofield = $site->get('field_geofield')->get(0);
$lon = $geofield->lon;
$lat = $geofield->lat;
$geofieldData = "$lon,$lat"; // Utiliser une chaîne pour stocker la position
$x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
$r = 12;
$m = -$r/1.5+3;
$l = $r/1.5 +2.5;
$sites_paths .= <<<SVGSITEPATH
<g
id="site-$index"
data-geofield="$geofieldData"
transform="translate($x,$y)"
style="cursor: pointer;" <!-- Change le curseur pour indiquer l'interaction -->
>
<a href="$url">
<rect width="10" height="10" transform="translate($x,$y)" fill="none" onclick="handleCircleClick('$datacontent')"></rect>
<!-- Zone d'interaction invisible -->
<circle
class="site-link"
data-content="$datacontent"
data-url="$url"
data-mission-photo-url="$mission_photo_url"
cx="0" cy="0" r="$r"
style="fill-opacity:1;fill-rule:nonzero;" />
<path
id="path84"
d="m 0,$m v $l"
style="pointer-events: none;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path85"
d="m $m,0 h $l"
style="pointer-events: none;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" />
</a>
</g>
SVGSITEPATH;
}
$return = [
'#cache' => [
'max-age' => 0,
],
'svg_mapsites' => [
'#theme' => 'svg_mapgaleries',
'#label' => "Voir les autres galeries photos",
'#sites' => $sites_paths,
'#vpw' => $vp_w,
'#vph' => $vp_h,
'#attached' => [
'library' => [
'q2d_mod/sites_map_block',
],
],
]
];
return $return;
// return [
// '#markup' => $this->t('Hello, Sites Map!'),
// ];
}
public function getCacheMaxAge() {
return 0;
}
}

View File

@@ -0,0 +1,156 @@
<?php
namespace Drupal\q2d_mod\Plugin\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Block\Attribute\Block;
// use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Link;
use Drupal\Core\Render\Markup;
use Pel\Test\imagetests\CanonEos650dTest;
/**
* Provides a 'Sites Map' Block.
* @Block(
* id = "projetsmap_block",
* admin_label = @Translation("Projets map Block"),
* )
*/
class ProjetsMap extends BlockBase {
/**
* {@inheritdoc}
*/
public function build() {
$language = \Drupal::languageManager()->getCurrentLanguage()->getId();
$return = null;
$allSites = \Drupal::entityTypeManager()->getStorage('node')
->loadByProperties(['type' => 'site', 'status' => 1]);
$sites_paths = "";
$vp_w = 600;
$vp_h = 600;
// Coordonnées géographiques des coins de la carte (France)
$latTop = 52.0; // Nord-Ouest (coin supérieur gauche)
$lonLeft = -6.0;
$latBottom = 40.0; // Sud-Est (coin inférieur droit)
$lonRight = 11.0;
foreach($allSites as $index => $site){
$langcode = \Drupal::languageManager()->getCurrentLanguage()->getId();
// $title = $site->get('title')->getString();
$title = $site->hasTranslation($language) ? $site->getTranslation($language)->get('title')->getString() : $site->get('title')->getString();
// $subtitle = $site->get('field_sous_titre')->getString();
$subtitle = $site->hasTranslation($language) ? $site->getTranslation($language)->get('field_sous_titre')->getString() : $site->get('field_sous_titre')->getString();
$link_options = ['absolute' => TRUE, 'attributes' => ['class' => 'site-link'], 'language' => \Drupal::languageManager()->getLanguage($langcode)]; // Passer 'absolute' à TRUE
$site_url = $site->toUrl('canonical', $link_options)->toString(); // URL absolue pour le data-url
$site_link_object = Link::createFromRoute($title, 'entity.node.canonical', ['node' => $site->id()], $link_options);
$link = $site_link_object->toString()->getGeneratedLink();
$projets = \Drupal::entityTypeManager()->getStorage('node')
->loadByProperties([
'type' => 'projet',
'status' => 1,
'field_site_projet' => $site->id()
]);
$datahtml = "<strong>$link</strong><br>$subtitle<ul>";
foreach($projets as $j => $projet) {
$projet_title = $projet->hasTranslation($language) ? $projet->getTranslation($language)->get('title')->getString() : $projet->get('title')->getString();
$equipe = $projet->hasTranslation($language) ? $projet->getTranslation($language)->get('field_nom_de_l_equipe')->getString() : $projet->get('field_nom_de_l_equipe')->getString();
$laureats = $projet->get('field_laureats')->getString();
// $projet_url = $projet->toUrl('canonical', $link_options)->toString(); // URL absolue pour le data-url
$projet_link_object = Link::createFromRoute($projet_title, 'entity.node.canonical', ['node' => $projet->id()], $link_options);
$projet_link = $projet_link_object->toString()->getGeneratedLink();
$class = $laureats == "1" ? "laureat" : "";
$datahtml .= "<li class='$class'>$projet_link<br/>$equipe</li>";
}
$datahtml .= "</ul>";
$datacontent = htmlspecialchars($datahtml);
$geofield = $site->get('field_geofield')->get(0);
$lon = $geofield->lon;
$lat = $geofield->lat;
$geofieldData = "$lon,$lat"; // Utiliser une chaîne pour stocker la position
$x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
$r = 12;
$m = -$r/1.5+3;
$l = $r/1.5 +2.5;
$sites_paths .= <<<SVGSITEPATH
<g
id="site-$index"
data-geofield="$geofieldData"
transform="translate($x,$y)"
style="cursor: pointer;" <!-- Change le curseur pour indiquer l'interaction -->
>
<rect width="10" height="10" transform="translate($x,$y)" fill="none" onclick="handleCircleClick('$datacontent')"></rect> <!-- Zone d'interaction invisible -->
<circle
class="site-link"
data-content="$datacontent"
data-url="$site_url"
cx="0" cy="0" r="$r"
style="fill-opacity:1;fill-rule:nonzero;" />
<path
id="path84"
d="m 0,$m v $l"
style="pointer-events: none;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path85"
d="m $m,0 h $l"
style="pointer-events: none;fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1" />
</g>
SVGSITEPATH;
}
$return = [
'#cache' => [
'max-age' => 0,
],
'svg_mapsites' => [
'#theme' => 'svg_mapprojets',
'#label' => "Les 30 projets",
'#sites' => $sites_paths,
'#vpw' => $vp_w,
'#vph' => $vp_h,
'#attached' => [
'library' => [
'q2d_mod/projets_map_block',
],
],
]
];
return $return;
// return [
// '#markup' => $this->t('Hello, Sites Map!'),
// ];
}
public function getCacheMaxAge() {
return 0;
}
}

View File

@@ -0,0 +1,55 @@
<div id="sites-map-container">
<h2>{{label}}</h2>
{# <svg {{ svg_attributes }}>
<path {{ path_attributes }}></path>
</svg> #}
<svg
width="100%"
height="auto"
viewBox="0 0 {{ vpw }} {{ vph }}"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g
id="layer1"
width="auto"
height="100%"
transform="
translate(-34,-43)
scale(3 3)"
>
<g
id="g87"
transform="matrix(0.26458333,0,0,0.26458333,-117.12499,-462.76799)"
>
<path
d="M 22.94948,0 24.34889,-18.0149 0,-25.72302 5.65439,-72.56693 20.36713,-85.65977 31.67962,-51.59929 30.80613,-4.91625 Z"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
transform="matrix(1.3333333,0,0,-1.3333333,1086.6494,2370.4282)"
id="path86" />
<path
d="M 213.91022,-8.56159 245.88833,0 c 0,0 58.73522,-78.05274 188.63529,-102.77609 0,0 -13.72994,-23.9062 -20.7684,-68.77233 l -46.76509,-59.13289 22.59883,4.10628 9.98215,-59.15478 -15.22238,-6.69194 c 0,0 21.10627,-42.02694 33.11738,-51.15904 l -49.61728,-51.89156 c 0,0 -54.37257,40.3184 -83.08495,23.05862 -26.13166,-16.38332 -20.26669,-47.73592 -20.26669,-47.73592 l -84.48157,7.5286 -73.42912,23.87167 c 0,0 13.68285,68.86637 13.5616,120.85908 l 13.70164,-16.03089 -8.31311,25.90453 c -7.71795,24.04996 -30.44003,42.76792 -30.59939,44.58536 -3.6948,42.13802 -38.37183,51.8082 -82.82932,56.0101 L 0,-120.94655 l 48.38804,11.38921 63.90371,-13.15789 c 0,0 -1.62874,19.5427 -17.78042,51.54499 l 20.25382,7.61331 c 0,0 16.51357,-27.83033 25.80184,-26.51089 4.8781,0.69253 23.95695,21.70897 32.12568,26.76126 7.32295,4.5292 35.79484,10.58956 36.55389,13.534 2.94469,10.87069 4.66366,41.21097 4.66366,41.21097 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
transform="matrix(1.3333333,0,0,-1.3333333,543.93475,1857.6088)"
id="path87" />
</g>
</g>
<g
id="layer2">
{{ sites|raw }}
</g>
</svg>
<!-- Fond du modal -->
<div id="modal-background" class="modal-background"></div>
<!-- Popup -->
<div id="popup" class="popup">
<p id="popup-content">Hello! I am a popup!</p>
<!--<button onclick="closePopup()">Close</button>-->
</div>
</div>

View File

@@ -0,0 +1,60 @@
<div id="sites-map-container">
<h2>{{label}}</h2>
{# <svg {{ svg_attributes }}>
<path {{ path_attributes }}></path>
</svg> #}
<svg
width="100%"
height="auto"
viewBox="0 0 {{ vpw }} {{ vph }}"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<g
id="layer1"
width="auto"
height="100%"
transform="
translate(-34,-43)
scale(3 3)"
>
<g
id="g87"
transform="matrix(0.26458333,0,0,0.26458333,-117.12499,-462.76799)"
>
<path
d="M 22.94948,0 24.34889,-18.0149 0,-25.72302 5.65439,-72.56693 20.36713,-85.65977 31.67962,-51.59929 30.80613,-4.91625 Z"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
transform="matrix(1.3333333,0,0,-1.3333333,1086.6494,2370.4282)"
id="path86" />
<path
d="M 213.91022,-8.56159 245.88833,0 c 0,0 58.73522,-78.05274 188.63529,-102.77609 0,0 -13.72994,-23.9062 -20.7684,-68.77233 l -46.76509,-59.13289 22.59883,4.10628 9.98215,-59.15478 -15.22238,-6.69194 c 0,0 21.10627,-42.02694 33.11738,-51.15904 l -49.61728,-51.89156 c 0,0 -54.37257,40.3184 -83.08495,23.05862 -26.13166,-16.38332 -20.26669,-47.73592 -20.26669,-47.73592 l -84.48157,7.5286 -73.42912,23.87167 c 0,0 13.68285,68.86637 13.5616,120.85908 l 13.70164,-16.03089 -8.31311,25.90453 c -7.71795,24.04996 -30.44003,42.76792 -30.59939,44.58536 -3.6948,42.13802 -38.37183,51.8082 -82.82932,56.0101 L 0,-120.94655 l 48.38804,11.38921 63.90371,-13.15789 c 0,0 -1.62874,19.5427 -17.78042,51.54499 l 20.25382,7.61331 c 0,0 16.51357,-27.83033 25.80184,-26.51089 4.8781,0.69253 23.95695,21.70897 32.12568,26.76126 7.32295,4.5292 35.79484,10.58956 36.55389,13.534 2.94469,10.87069 4.66366,41.21097 4.66366,41.21097 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
transform="matrix(1.3333333,0,0,-1.3333333,543.93475,1857.6088)"
id="path87" />
</g>
</g>
<g
id="layer2">
{{ sites|raw }}
</g>
</svg>
<!-- Fond du modal -->
<div id="modal-background" class="modal-background"></div>
<!-- Popup -->
<div id="popup" class="popup">
<p id="popup-content">Hello! I am a popup!</p>
<!--<button onclick="closePopup()">Close</button>-->
</div>
{# lien #}
<div class="link-30-projets">
<a href="/lesprojets">Voir les 30 projets</a>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="22.250273mm"
height="22.250275mm"
viewBox="0 0 22.250273 22.250275"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-95.271042,-166.06271)">
<path
id="path15512"
d="m 101.09827,178.67313 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024872,0.50049 -0.06585,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011694,-0.95977 0.02634,-0.31473 2.142714,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055388,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244464,-0.61354 0.121474,-0.25141 1.23376,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
<circle
style="opacity:1;fill:#f6f7f3;fill-opacity:1;stroke:#f7002b;stroke-width:2.86467;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
id="path2"
cx="106.39618"
cy="177.18785"
r="9.6928015" />
<path
id="path15512-3"
d="m 101.22891,178.81894 -0.21377,-0.88244 0.25456,-0.0629 0.27959,1.15415 -2.024877,0.50049 -0.0658,-0.27173 z m 0.12046,-2.67592 -0.48019,0.13106 -0.079,0.94418 0.45158,0.21066 -0.0249,0.29673 -2.011697,-0.95977 0.0263,-0.31473 2.142717,-0.60487 z m -0.80939,0.95725 0.063,-0.75234 -1.055387,0.29022 z m 1.35902,-2.71337 c 0.056,0.19049 0.0335,0.39024 -0.0676,0.59931 -0.10102,0.20905 -0.24352,0.35078 -0.4275,0.42522 -0.18489,0.0718 -0.37815,0.0579 -0.57976,-0.0414 l -1.244467,-0.61354 0.12148,-0.25141 1.233757,0.60825 c 0.13203,0.0651 0.25646,0.0774 0.37328,0.0368 0.11504,-0.0414 0.20825,-0.13609 0.27966,-0.28386 0.0714,-0.14781 0.0879,-0.28026 0.0495,-0.39738 -0.0401,-0.11799 -0.12629,-0.20952 -0.25832,-0.27463 l -1.23376,-0.60825 0.12017,-0.24869 1.24446,0.61351 c 0.20161,0.0994 0.3313,0.24479 0.38905,0.43618 z m 1.41622,-1.32314 -0.88668,-0.26601 -0.35881,0.33911 0.54529,0.58866 -0.20224,0.19113 -1.42425,-1.53758 0.60889,-0.57544 c 0.13047,-0.12332 0.2855,-0.18196 0.4651,-0.17592 0.17824,0.005 0.3284,0.0727 0.45048,0.20453 0.0922,0.0996 0.14661,0.21846 0.16313,0.35664 0.018,0.13681 -0.004,0.2659 -0.0655,0.38727 l 0.92851,0.27592 z m -1.94743,-0.68472 0.53103,0.5733 0.40665,-0.38432 c 0.0754,-0.0712 0.1134,-0.15935 0.11405,-0.26432 7.4e-4,-0.1078 -0.0355,-0.20124 -0.10876,-0.28032 -0.0733,-0.0791 -0.16246,-0.1211 -0.26765,-0.12605 -0.10374,-0.006 -0.19329,0.0262 -0.26868,0.0974 z m 2.244,-2.53012 -0.11392,0.48655 -0.22833,0.10323 0.0569,-0.46073 z m 0.3383,2.52314 0.8834,-0.39941 0.10708,0.24161 -1.13618,0.51371 -0.85169,-1.92191 1.1226,-0.50757 0.10706,0.24161 -0.86982,0.39327 0.2616,0.5903 0.80187,-0.36255 0.10582,0.23887 -0.80183,0.36255 z m 2.72166,-0.38295 -0.21279,-0.45414 -0.93396,0.0887 -0.12521,0.48626 -0.29354,0.0279 0.57863,-2.16994 0.31132,-0.0295 0.96906,2.02289 z m -1.07615,-0.63497 0.74421,-0.0707 -0.4698,-0.99773 z m 3.24925,-1.05799 -0.0599,0.25769 -0.60012,-0.14239 -0.41679,1.79217 -0.2667,-0.0633 0.41677,-1.79217 -0.59722,-0.1417 0.0599,-0.2577 z"
style="fill:#f7002b;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.322644" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="14.947381"
height="18.174984"
viewBox="0 0 4.497851 5.4690765"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-102.76452,-145.67101)">
<path
d="m 107.0214,148.83607 -1.86476,1.82265 v -4.84236 a 0.14436835,0.14436835 0 1 0 -0.28873,0 v 4.84236 l -1.86476,-1.82265 a 0.14436835,0.14436835 0 0 0 -0.19851,0 0.1503837,0.1503837 0 0 0 0,0.20452 l 2.10537,2.06326 a 0.1624144,0.1624144 0 0 0 0.20452,0 l 2.10538,-2.06326 a 0.14436835,0.14436835 0 0 0 0,-0.20452 0.14436835,0.14436835 0 0 0 -0.19851,0 z"
id="path2-2"
style="fill:#ffffff;stroke-width:0.0601533" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 872 B

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="14.947379"
height="18.174984"
viewBox="0 0 4.4978504 5.4690765"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-102.76452,-145.67101)">
<path
d="m 103.00549,147.97502 1.86476,-1.82265 v 4.84236 a 0.14436835,0.14436835 0 1 0 0.28873,0 v -4.84236 l 1.86476,1.82265 a 0.14436835,0.14436835 0 0 0 0.19851,0 0.1503837,0.1503837 0 0 0 0,-0.20452 l -2.10537,-2.06326 a 0.1624144,0.1624144 0 0 0 -0.20452,0 l -2.10538,2.06326 a 0.14436835,0.14436835 0 0 0 0,0.20452 0.14436835,0.14436835 0 0 0 0.19851,0 z"
id="path2-2"
style="fill:#ffffff;stroke-width:0.0601533" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 872 B

View File

@@ -5,41 +5,10 @@
version="1.1"
id="svg1"
width="1801.0212"
height="4029.4231"
viewBox="0 0 1801.0212 4029.4232"
sodipodi:docname="formes-animees.svg"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
height="4008.7539"
viewBox="0 0 1801.0212 4008.754"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.22209622"
inkscape:cx="900.51061"
inkscape:cy="1339.5095"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="36"
inkscape:window-maximized="1"
inkscape:current-layer="g2">
<inkscape:page
x="0"
y="0"
width="1801.0212"
height="4029.4231"
id="page2"
margin="0"
bleed="0" />
</sodipodi:namedview>
<defs
id="defs1">
<clipPath
@@ -72,21 +41,15 @@
transform="translate(-299.16899,-2519.6031)">
<g
id="g1"
transform="translate(0.17944336,-2.9196463)"
inkscape:export-filename="formes-animees.svg"
inkscape:export-xdpi="300"
inkscape:export-ydpi="300">
transform="translate(0.17944336,-2.9196463)">
<path
id="path256"
d="m 321.27266,3436.1817 182.91889,175.8201"
style="fill:none;stroke:#0833c2;stroke-width:64.3111;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:export-filename="formes-animees.svg"
inkscape:export-xdpi="300"
inkscape:export-ydpi="300" />
style="fill:none;stroke:#0833c2;stroke-width:64.3111;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path256-3"
d="m 1852.1683,6336.9184 -163.0856,194.3583"
style="fill:none;stroke:#0833c2;stroke-width:64.3111;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="fill:none;stroke:none;stroke-width:64.3111;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path257"
d="M 0,0 C -205.098,0 -371.361,-166.265 -371.361,-371.362"
@@ -102,7 +65,7 @@
<path
id="path302"
d="M 0,0 C 0,126.805 -102.795,229.6 -229.6,229.6"
style="fill:none;stroke:#0833c2;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="fill:none;stroke:none;stroke-width:85;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="matrix(0.82260013,0,0,-0.82260013,2051.1937,5635.4927)"
clip-path="url(#clipPath303)" />
<path
@@ -117,7 +80,7 @@
width="1550.348"
height="201.3089"
x="122.31378"
y="-9.4031076e-13" />
y="-2.4338836e-20" />
<rect
style="fill:none;stroke:none;stroke-width:0;paint-order:fill markers stroke"
id="rect1"
@@ -137,9 +100,6 @@
id="rect4"
width="1801.0212"
height="442.35608"
x="1.3299257e-06"
y="7.8992786"
inkscape:export-filename="formes-animees.svg"
inkscape:export-xdpi="300"
inkscape:export-ydpi="300" />
x="1.1471996e-08"
y="7.8992786" />
</svg>

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Some files were not shown because too many files have changed in this diff Show More