updated core, prepared concernement form layout for interactive boussole

This commit is contained in:
Bachir Soussi Chiadmi 2023-01-31 17:12:38 +01:00
parent a8ec1af97e
commit 260c1c5b67
33 changed files with 1220 additions and 90 deletions

171
src/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": "b6a27e0ed9b777319e47f2ee08cba5ac",
"content-hash": "e86b83d13c4b5d3fd33d66bc0e622158",
"packages": [
{
"name": "alchemy/zippy",
@ -3696,16 +3696,16 @@
},
{
"name": "drupal/core",
"version": "9.4.5",
"version": "9.4.8",
"source": {
"type": "git",
"url": "https://github.com/drupal/core.git",
"reference": "23b4d51ee5bd8b506a97bd21c5635ce18b7abd76"
"reference": "a627d1b2a00f2cef0572e37b94dea298800541f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/23b4d51ee5bd8b506a97bd21c5635ce18b7abd76",
"reference": "23b4d51ee5bd8b506a97bd21c5635ce18b7abd76",
"url": "https://api.github.com/repos/drupal/core/zipball/a627d1b2a00f2cef0572e37b94dea298800541f4",
"reference": "a627d1b2a00f2cef0572e37b94dea298800541f4",
"shasum": ""
},
"require": {
@ -3751,7 +3751,7 @@
"symfony/translation": "^4.4",
"symfony/validator": "^4.4",
"symfony/yaml": "^4.4.19",
"twig/twig": "^2.15",
"twig/twig": "^2.15.3",
"typo3/phar-stream-wrapper": "^3.1.3"
},
"conflict": {
@ -3857,9 +3857,9 @@
],
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": {
"source": "https://github.com/drupal/core/tree/9.4.5"
"source": "https://github.com/drupal/core/tree/9.4.8"
},
"time": "2022-08-03T16:33:29+00:00"
"time": "2022-10-06T15:57:08+00:00"
},
{
"name": "drupal/core-composer-scaffold",
@ -3954,16 +3954,16 @@
},
{
"name": "drupal/core-recommended",
"version": "9.4.5",
"version": "9.4.8",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-recommended.git",
"reference": "a809ecbcfb7c8737c93159cf48246e040efdaf47"
"reference": "684cc844f7b729286f5d62f1ee4b20ab12586502"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/a809ecbcfb7c8737c93159cf48246e040efdaf47",
"reference": "a809ecbcfb7c8737c93159cf48246e040efdaf47",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/684cc844f7b729286f5d62f1ee4b20ab12586502",
"reference": "684cc844f7b729286f5d62f1ee4b20ab12586502",
"shasum": ""
},
"require": {
@ -3972,7 +3972,7 @@
"doctrine/annotations": "~1.13.2",
"doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3",
"drupal/core": "9.4.5",
"drupal/core": "9.4.8",
"egulias/email-validator": "~3.2",
"guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.1",
@ -4021,7 +4021,7 @@
"symfony/validator": "~v4.4.41",
"symfony/var-dumper": "~v5.4.9",
"symfony/yaml": "~v4.4.37",
"twig/twig": "~v2.15.1",
"twig/twig": "~v2.15.3",
"typo3/phar-stream-wrapper": "~v3.1.7"
},
"conflict": {
@ -4034,9 +4034,9 @@
],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": {
"source": "https://github.com/drupal/core-recommended/tree/9.4.5"
"source": "https://github.com/drupal/core-recommended/tree/9.4.8"
},
"time": "2022-08-03T16:33:29+00:00"
"time": "2022-10-06T15:57:08+00:00"
},
{
"name": "drupal/cshs",
@ -8300,20 +8300,20 @@
},
{
"name": "drupal/views_bulk_edit",
"version": "2.6.0",
"version": "2.8.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/views_bulk_edit.git",
"reference": "8.x-2.6"
"reference": "8.x-2.8"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/views_bulk_edit-8.x-2.6.zip",
"reference": "8.x-2.6",
"shasum": "0e0f1dab2fa0903cbe2656e754b0d9ed3a935fbb"
"url": "https://ftp.drupal.org/files/projects/views_bulk_edit-8.x-2.8.zip",
"reference": "8.x-2.8",
"shasum": "8600f5688d21d5d98e56b5f8c154997f6cb190c1"
},
"require": {
"drupal/core": "^8 || ^9"
"drupal/core": "^9.1 || ^10"
},
"require-dev": {
"drupal/views_bulk_operations": "~3.0"
@ -8324,8 +8324,8 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.6",
"datestamp": "1623748025",
"version": "8.x-2.8",
"datestamp": "1666257164",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
@ -8342,8 +8342,8 @@
"homepage": "https://www.drupal.org/u/graber"
},
{
"name": "benjy",
"homepage": "https://www.drupal.org/user/1852732"
"name": "Graber",
"homepage": "https://www.drupal.org/user/1599440"
}
],
"description": "Allows bulk edition of entity field values.",
@ -8355,32 +8355,33 @@
},
{
"name": "drupal/views_bulk_operations",
"version": "4.1.4",
"version": "4.2.1",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/views_bulk_operations.git",
"reference": "4.1.4"
"reference": "4.2.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/views_bulk_operations-4.1.4.zip",
"reference": "4.1.4",
"shasum": "02dfb8e421d0a093e52b3c70e22cd5f5f11fd524"
"url": "https://ftp.drupal.org/files/projects/views_bulk_operations-4.2.1.zip",
"reference": "4.2.1",
"shasum": "3bce967e24c0ce19fc7e0de031594729e22c38ef"
},
"require": {
"drupal/core": "^9"
"drupal/core": "^9.4 || ^10",
"php": ">=7.4.0"
},
"require-dev": {
"drush/drush": "^10"
"drush/drush": "^11"
},
"suggest": {
"drush/drush": "^9 || ^10"
"drush/drush": "^10 || ^11"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "4.1.4",
"datestamp": "1657620097",
"version": "4.2.1",
"datestamp": "1666185226",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
@ -8388,7 +8389,7 @@
},
"drush": {
"services": {
"drush.services.yml": "^9 || ^10"
"drush.services.yml": "^10 || ^11"
}
}
},
@ -8405,17 +8406,9 @@
"name": "Graber",
"homepage": "https://www.drupal.org/user/1599440"
},
{
"name": "infojunkie",
"homepage": "https://www.drupal.org/user/48424"
},
{
"name": "joelpittet",
"homepage": "https://www.drupal.org/user/160302"
},
{
"name": "Jon Pugh",
"homepage": "https://www.drupal.org/user/17028"
}
],
"description": "Adds an ability to perform bulk operations on selected entities from view results. Provides an API to create such operations.",
@ -10897,16 +10890,16 @@
},
{
"name": "symfony/console",
"version": "v4.4.48",
"version": "v4.4.49",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "8e70c1cab07ac641b885ce80385b9824a293c623"
"reference": "33fa45ffc81fdcc1ca368d4946da859c8cdb58d9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/8e70c1cab07ac641b885ce80385b9824a293c623",
"reference": "8e70c1cab07ac641b885ce80385b9824a293c623",
"url": "https://api.github.com/repos/symfony/console/zipball/33fa45ffc81fdcc1ca368d4946da859c8cdb58d9",
"reference": "33fa45ffc81fdcc1ca368d4946da859c8cdb58d9",
"shasum": ""
},
"require": {
@ -10967,7 +10960,7 @@
"description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/console/tree/v4.4.48"
"source": "https://github.com/symfony/console/tree/v4.4.49"
},
"funding": [
{
@ -10983,7 +10976,7 @@
"type": "tidelift"
}
],
"time": "2022-10-26T16:02:45+00:00"
"time": "2022-11-05T17:10:16+00:00"
},
{
"name": "symfony/css-selector",
@ -11122,16 +11115,16 @@
},
{
"name": "symfony/dependency-injection",
"version": "v4.4.44",
"version": "v4.4.49",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "25502a57182ba1e15da0afd64c975cae4d0a1471"
"reference": "9065fe97dbd38a897e95ea254eb5ddfe1310f734"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/25502a57182ba1e15da0afd64c975cae4d0a1471",
"reference": "25502a57182ba1e15da0afd64c975cae4d0a1471",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/9065fe97dbd38a897e95ea254eb5ddfe1310f734",
"reference": "9065fe97dbd38a897e95ea254eb5ddfe1310f734",
"shasum": ""
},
"require": {
@ -11188,7 +11181,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/dependency-injection/tree/v4.4.44"
"source": "https://github.com/symfony/dependency-injection/tree/v4.4.49"
},
"funding": [
{
@ -11204,7 +11197,7 @@
"type": "tidelift"
}
],
"time": "2022-07-20T09:59:04+00:00"
"time": "2022-11-16T16:18:09+00:00"
},
{
"name": "symfony/deprecation-contracts",
@ -11783,16 +11776,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v4.4.48",
"version": "v4.4.49",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "cd4f478e67f7c8776a13b17e7d44241fd66261ad"
"reference": "191413c7b832c015bb38eae963f2e57498c3c173"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/cd4f478e67f7c8776a13b17e7d44241fd66261ad",
"reference": "cd4f478e67f7c8776a13b17e7d44241fd66261ad",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/191413c7b832c015bb38eae963f2e57498c3c173",
"reference": "191413c7b832c015bb38eae963f2e57498c3c173",
"shasum": ""
},
"require": {
@ -11831,7 +11824,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v4.4.48"
"source": "https://github.com/symfony/http-foundation/tree/v4.4.49"
},
"funding": [
{
@ -11847,20 +11840,20 @@
"type": "tidelift"
}
],
"time": "2022-10-12T09:40:54+00:00"
"time": "2022-11-04T16:17:57+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v4.4.48",
"version": "v4.4.49",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "a6d5229dd9466e046674baad8449ad92ee24eddd"
"reference": "4e36db8103062c62b3882b1bd297b02de6b021c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/a6d5229dd9466e046674baad8449ad92ee24eddd",
"reference": "a6d5229dd9466e046674baad8449ad92ee24eddd",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/4e36db8103062c62b3882b1bd297b02de6b021c4",
"reference": "4e36db8103062c62b3882b1bd297b02de6b021c4",
"shasum": ""
},
"require": {
@ -11935,7 +11928,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v4.4.48"
"source": "https://github.com/symfony/http-kernel/tree/v4.4.49"
},
"funding": [
{
@ -11951,7 +11944,7 @@
"type": "tidelift"
}
],
"time": "2022-10-28T16:49:22+00:00"
"time": "2022-11-28T17:58:43+00:00"
},
{
"name": "symfony/mime",
@ -12457,16 +12450,16 @@
},
{
"name": "symfony/polyfill-php72",
"version": "v1.26.0",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
"reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2"
"reference": "869329b1e9894268a8a61dabb69153029b7a8c97"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2",
"reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97",
"reference": "869329b1e9894268a8a61dabb69153029b7a8c97",
"shasum": ""
},
"require": {
@ -12475,7 +12468,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.26-dev"
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
@ -12513,7 +12506,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0"
"source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0"
},
"funding": [
{
@ -12529,20 +12522,20 @@
"type": "tidelift"
}
],
"time": "2022-05-24T11:49:31+00:00"
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-php73",
"version": "v1.26.0",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
"reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85"
"reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85",
"reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85",
"url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9",
"reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9",
"shasum": ""
},
"require": {
@ -12551,7 +12544,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.26-dev"
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
@ -12592,7 +12585,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0"
"source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0"
},
"funding": [
{
@ -12608,7 +12601,7 @@
"type": "tidelift"
}
],
"time": "2022-05-24T11:49:31+00:00"
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-php80",
@ -12836,16 +12829,16 @@
},
{
"name": "symfony/psr-http-message-bridge",
"version": "v2.1.3",
"version": "v2.1.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/psr-http-message-bridge.git",
"reference": "d444f85dddf65c7e57c58d8e5b3a4dbb593b1840"
"reference": "a125b93ef378c492e274f217874906fb9babdebb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/d444f85dddf65c7e57c58d8e5b3a4dbb593b1840",
"reference": "d444f85dddf65c7e57c58d8e5b3a4dbb593b1840",
"url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/a125b93ef378c492e274f217874906fb9babdebb",
"reference": "a125b93ef378c492e274f217874906fb9babdebb",
"shasum": ""
},
"require": {
@ -12904,7 +12897,7 @@
],
"support": {
"issues": "https://github.com/symfony/psr-http-message-bridge/issues",
"source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.1.3"
"source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.1.4"
},
"funding": [
{
@ -12920,7 +12913,7 @@
"type": "tidelift"
}
],
"time": "2022-09-05T10:34:54+00:00"
"time": "2022-11-28T22:46:34+00:00"
},
{
"name": "symfony/routing",

View File

@ -0,0 +1,22 @@
uuid: 4910c4f0-ec95-4043-88aa-350a04b1db87
langcode: fr
status: true
dependencies:
module:
- system
theme:
- ouatminimal
_core:
default_config_hash: 8by5KRsb7ZpmjHj0ms1d7xAG_xH54AWsOX6spDLJ59U
id: ouatminimal_breadcrumbs
theme: ouatminimal
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: 'Fils d''ariane'
label_display: '0'
provider: system
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: e4123ca7-6d05-48ed-bbee-3b0527298a0b
langcode: fr
status: true
dependencies:
module:
- system
theme:
- ouatminimal
_core:
default_config_hash: 80N66GdzEvwqi1m-_GZ-ulkk8AJG9beoXcZ4-pMVKjI
id: ouatminimal_content
theme: ouatminimal
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Contenu de la page principale'
label_display: '0'
provider: system
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: a954cd56-d055-4e7d-aa03-02e6a7649401
langcode: fr
status: true
dependencies:
module:
- help
theme:
- ouatminimal
_core:
default_config_hash: PfozGAnWQRNy00G6KEnZjIu9b2lGuWg-j-GT_-Ejglc
id: ouatminimal_help
theme: ouatminimal
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Aide
label_display: '0'
provider: help
visibility: { }

View File

@ -0,0 +1,20 @@
uuid: 0565c931-b75f-402d-b21c-11634bcdfbe9
langcode: fr
status: true
dependencies:
theme:
- ouatminimal
_core:
default_config_hash: ik4PTMlBD0MWansnSMpSXq5SUlWRJ1IVVt6C7AIbQmc
id: ouatminimal_local_actions
theme: ouatminimal
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Actions d''administration principales'
label_display: '0'
provider: core
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: 026f2f05-dd6c-4846-87b2-98be731c5956
langcode: fr
status: true
dependencies:
module:
- user
theme:
- ouatminimal
_core:
default_config_hash: 862sIulDdHmF0vBU1s2j2_a_CwkxursrL0pIrMDzzOg
id: ouatminimal_login
theme: ouatminimal
region: content
weight: 10
provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'Connexion utilisateur'
label_display: visible
provider: user
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: cea9c79b-4737-4251-b5a8-1e9accb1c4f5
langcode: fr
status: true
dependencies:
module:
- system
theme:
- ouatminimal
_core:
default_config_hash: YqKTtloWJ8FjLtfVNfrHaK6kVgxT67lC1cJ3j6i6WLo
id: ouatminimal_messages
theme: ouatminimal
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Messages de statut'
label_display: '0'
provider: system
visibility: { }

View File

@ -0,0 +1,20 @@
uuid: 3e77c7b7-8056-4bc2-8f44-a3c245edc22d
langcode: fr
status: true
dependencies:
theme:
- ouatminimal
_core:
default_config_hash: Z3nlZUh2mSJP3apMrJWt-duS-aLyP79rcfu_0wpPmDs
id: ouatminimal_page_title
theme: ouatminimal
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Titre de page'
label_display: '0'
provider: core
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: c15203cf-24ec-4a74-a081-63f24419b41a
langcode: fr
status: true
dependencies:
theme:
- ouatminimal
_core:
default_config_hash: CyX_aDKAka2_eihevNLscCHDYrzDgIqwWzFVEFRKIww
id: ouatminimal_primary_local_tasks
theme: ouatminimal
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Onglets principaux'
label_display: '0'
provider: core
primary: true
secondary: false
visibility: { }

View File

@ -0,0 +1,22 @@
uuid: 35b88649-67a9-4ce8-9391-19910c550cbd
langcode: fr
status: true
dependencies:
theme:
- ouatminimal
_core:
default_config_hash: DJ7Om1C2xWr2GI8CjZaZtyWpP-0S3hRR3oROZl1oesc
id: ouatminimal_secondary_local_tasks
theme: ouatminimal
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Onglets secondaires'
label_display: '0'
provider: core
primary: false
secondary: true
visibility: { }

View File

@ -0,0 +1,89 @@
uuid: 46aeb9ab-f902-4ebc-99af-1e8d0285ff68
langcode: fr
status: true
dependencies:
config:
- field.field.node.static.body
- node.type.static
module:
- path
- text
id: node.static.default
targetEntityType: node
bundle: static
mode: default
content:
body:
type: text_textarea_with_summary
weight: 1
region: content
settings:
rows: 9
summary_rows: 3
placeholder: ''
show_summary: false
third_party_settings: { }
created:
type: datetime_timestamp
weight: 4
region: content
settings: { }
third_party_settings: { }
langcode:
type: language_select
weight: 2
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 7
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 5
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 3
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 8
region: content
settings: { }
third_party_settings: { }
hidden: { }

View File

@ -134,4 +134,5 @@ module:
theme:
seven: 0
adminimal_theme: 0
ouatminimal: 0
profile: figli_starter_kit

View File

@ -1,5 +1,5 @@
_core:
default_config_hash: TpdA4rsOBAawnqeon9A-Ooht_4VO3hHKib79xyHcTyg
langcode: fr
admin: adminimal_theme
admin: ouatminimal
default: adminimal_theme

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- ouatminimal
id: ouatminimal_content
theme: ouatminimal
region: content
weight: 0
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
provider: system
label_display: '0'
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- help
theme:
- ouatminimal
id: ouatminimal_help
theme: ouatminimal
region: help
weight: 0
provider: null
plugin: help_block
settings:
id: help_block
label: Help
provider: help
label_display: '0'
visibility: { }

View File

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
theme:
- ouatminimal
id: ouatminimal_local_actions
theme: ouatminimal
region: content
weight: -10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
provider: core
label_display: '0'
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- user
theme:
- ouatminimal
id: ouatminimal_login
theme: ouatminimal
region: content
weight: 10
provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'User login'
provider: user
label_display: visible
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- ouatminimal
id: ouatminimal_messages
theme: ouatminimal
region: highlighted
weight: 0
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
provider: system
label_display: '0'
visibility: { }

View File

@ -0,0 +1,17 @@
langcode: en
status: true
dependencies:
theme:
- ouatminimal
id: ouatminimal_page_title
theme: ouatminimal
region: header
weight: -30
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
provider: core
label_display: '0'
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
theme:
- ouatminimal
id: ouatminimal_primary_local_tasks
theme: ouatminimal
region: header
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Primary tabs'
provider: core
label_display: '0'
primary: true
secondary: false
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
theme:
- ouatminimal
id: ouatminimal_secondary_local_tasks
theme: ouatminimal
region: pre_content
weight: 0
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: 'Secondary tabs'
provider: core
label_display: '0'
primary: false
secondary: true
visibility: { }

View File

@ -0,0 +1,19 @@
langcode: en
status: true
dependencies:
module:
- system
theme:
- ouatminimal
id: ouatminimal_breadcrumbs
theme: ouatminimal
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
provider: system
label_display: '0'
visibility: { }

View File

@ -0,0 +1,222 @@
.adminimal input.form-autocomplete, .adminimal input.form-text, .adminimal input.form-tel, .adminimal input.form-email, .adminimal input.form-url, .adminimal input.form-search, .adminimal input.form-number, .adminimal input.form-color, .adminimal input.form-file, .adminimal input.form-date, .adminimal input.form-time, .adminimal textarea.form-textarea{
background-color: #fff;
border-radius: 3px;
}
.adminimal select{
background-color: #fff;
border-radius: 3px;
}
.adminimal .button {
/* background-color: #2196F3; */
border-radius: 5px;
padding: 0.3em 0.5em;
}
.adminimal .button,
.adminimal .image-button {
margin-right: 0.5em;
margin-left: 0.5em;
}
.adminimal .button:first-child,
.adminimal .image-button:first-child {
margin-right: 0;
margin-left: 0;
}
.js td .dropbutton-multiple{
border-radius: 3px;
}
.views-exposed-form{
font-size: 0.9em;
}
.views-exposed-form input[type="text"]{
max-width:10em;
}
.views-exposed-form input[type="text"].form-autocomplete{
max-width:14em;
}
.views-exposed-form select.form-select{
min-height: 0;
padding: 0.2em 0.4em 0.2em 0.5em;
}
/**
* Node add/edit form layout
*/
/* Narrow screens */
.layout-region {
box-sizing: border-box;
}
/* Wide screens */
@media
screen and (min-width: 780px),
(orientation: landscape) and (min-device-height: 780px) {
.layout-region-node-center{
display: flex;
flex-direction: row;
gap: 1em;
}
[dir="rtl"] .layout-region-node-center{
display: flex;
flex-direction: row-reverse;
}
.layout-region-node-main {
/* reset */
float: none;
box-sizing: border-box;
width: auto;
padding-right:0; /* LTR */
/* custom */
flex: 1 0 auto;
}
[dir="rtl"] .layout-region-node-main{
float: none;
padding-right: 0;
padding-left: 0;
}
.layout-region-node-secondary {
/* reset */
float: none; /* LTR */
width: auto;
/* custom */
flex: 0 0 25em;
}
[dir="rtl"] .layout-region-node-secondary {
float: none;
}
/* @todo File an issue to add a standard class to all text-like inputs */
.layout-region-node-secondary .form-autocomplete,
.layout-region-node-secondary .form-text,
.layout-region-node-secondary .form-tel,
.layout-region-node-secondary .form-email,
.layout-region-node-secondary .form-url,
.layout-region-node-secondary .form-search,
.layout-region-node-secondary .form-number,
.layout-region-node-secondary .form-color,
.layout-region-node-secondary textarea {
box-sizing: border-box;
width: 100%;
max-width: 100%;
}
}
/**
* The vertical toolbar mode gets triggered for narrow screens, which throws off
* the intent of media queries written for the viewport width. When the vertical
* toolbar is on, we need to suppress layout for the original media width + the
* toolbar width (240px). In this case, 240px + 780px.
*/
@media
screen and (max-width: 1020px) {
.toolbar-vertical.toolbar-tray-open .layout-region-node-center{
display: block;
}
.toolbar-vertical.toolbar-tray-open .layout-region-node-main,
.toolbar-vertical.toolbar-tray-open .layout-region-node-footer,
.toolbar-vertical.toolbar-tray-open .layout-region-node-secondary {
float: none;
width: auto;
padding-right: 0;
}
}
/* BOUSSOLE FORM */
.boussole-layout{
display: flex;
flex-direction: row;
gap: 1em;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"]{
flex:0 0 31em;
}
.boussole-layout .boussole-wrapper{
flex:1 1 auto;
}
/* drupal form optimisation */
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr{
border: none;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td.field-multiple-drag{
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td:not(.field-multiple-drag)>div{
padding:0.5em;
border: 1px solid #bbb;
border-radius: 5px;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-multiple-table>tbody>tr>td:not(.field-multiple-drag) > div .horizontal-tabs-panes>details>.seven-details__wrapper{
padding:0;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-entity-reference.field--name-field-entite.field--widget-inline-entity-form-complex>div>fieldset{
border: none;
margin:0;
padding:0;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-entity-reference.field--name-field-entite.field--widget-inline-entity-form-complex>div>fieldset>legend{
display:none;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-entity-reference.field--name-field-entite.field--widget-inline-entity-form-complex>div>fieldset>.fieldset-wrapper>table>thead{
display:none;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-entity-reference.field--name-field-entite.field--widget-inline-entity-form-complex>div>fieldset>.fieldset-wrapper>table>tbody>tr{
border:none;
}
.field--name-field-actuel-future > fieldset legend{
display:none;
}
.field--name-field-actuel-future > fieldset > .fieldset-wrapper > .form-radios{
display: flex; flex-direction: row; gap: 1em;
}
.field--name-field-prise > .form-item,
.field--name-field-menace-maintien-degres > .form-item{
display:flex;
flex-direction: row;
gap:1em;
}
.field--name-field-prise > .form-item > label,
.field--name-field-menace-maintien-degres > .form-item > label{
flex:0 0 auto;
width:9em;
}
.field--name-field-prise > .form-item > input,
.field--name-field-menace-maintien-degres > .form-item > input{
width:7em;
flex:0 1 auto;
}
.field--name-field-prise > .form-item > .description,
.field--name-field-menace-maintien-degres > .form-item > .description{
flex:0 1 auto;
}
.boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .button{
font-size: 0.9em;
}
/* boussole */
.boussole-layout .boussole-wrapper .boussole{
background-image: url(../images/boussole.svg);
background-clip: padding-box;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
aspect-ratio: 1 / 1;
width:100%;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -0,0 +1,21 @@
name: Ouatminimal
type: theme
description: 'Adminimal based drupal administration theme with material design.'
core_version_requirement: ^8.8 || ^9.2
base theme: adminimal_theme
libraries:
- ouatminimal/global-styling
regions:
header: 'Header'
pre_content: 'Pre-content'
breadcrumb: Breadcrumb
highlighted: Highlighted
help: Help
content: Content
page_top: 'Page top'
page_bottom: 'Page bottom'
sidebar_first: 'First sidebar'
regions_hidden:
- sidebar_first

View File

@ -0,0 +1,5 @@
global-styling:
version: VERSION
css:
theme:
css/ouatminimal.css: {}

View File

@ -0,0 +1,91 @@
<?php
/**
* @file
* Functions to support theming in the Seven theme.
*/
use Drupal\Core\Form\FormStateInterface;
/**
* Implements hook_preprocess_HOOK() for HTML document templates.
*/
// function ouatminimal_preprocess_html(&$variables) {
// // If on a node add or edit page, add a node-layout class.
// $path_args = explode('/', \Drupal::request()->getPathInfo());
// if ($suggestions = theme_get_suggestions($path_args, 'page', '-')) {
// foreach ($suggestions as $suggestion) {
// // dsm($suggestion);
// preg_match('/taxonomy-manage-[^-]+-add$/', $suggestion, $matches);
// // ksm($matches);
// if ($suggestion === 'page--taxonomy-term-edit' || isset($matches)) {
// $variables['attributes']['class'][] = 'node-form-layout';
// }
// }
// }
// }
// function ouatminimal_form_alter(&$form, FormStateInterface $form_state, $form_id){
// // dsm($form_id);
// // create a colomuned term form (not working yet)
// if(in_array($form_id, ['taxonomy_term_company_form', 'taxonomy_term_showroom_form'])){
// // ksm($form);
// $form['#theme'] = ['term_edit_form'];
// $form['#attached']['library'][] = 'seven/node-form';
//
// $form['advanced']['#type'] = 'container';
// $form['meta']['#type'] = 'container';
// $form['meta']['#access'] = TRUE;
// $form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline';
// $form['meta']['author']['#wrapper_attributes']['class'][] = 'container-inline';
//
// $form['revision_information']['#type'] = 'container';
// $form['revision_information']['#group'] = 'meta';
// }
// }
/**
* Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
*
* Changes vertical tabs to container.
*/
function ouatminimal_form_node_form_alter(&$form, FormStateInterface $form_state) {
$form['#theme'] = ['node_edit_form'];
$form['#attached']['library'][] = 'seven/node-form';
$form['advanced']['#type'] = 'container';
$form['meta']['#type'] = 'container';
$form['meta']['#access'] = TRUE;
$form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline';
$form['meta']['author']['#wrapper_attributes']['class'][] = 'container-inline';
$form['revision_information']['#type'] = 'container';
$form['revision_information']['#group'] = 'meta';
}
// https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21theme.api.php/function/hook_theme_suggestions_HOOK_alter/10
function ouatminimal_theme_suggestions_field_multiple_value_form_alter(array &$suggestions, array $variables) {
if ($node = \Drupal::routeMatch()->getParameter('node')){
$nid = $node->id();
$type = $node->getType();
$suggestions[] = 'field_multiple_value_form__' . $variables['element']['#field_name'];
$suggestions[] = 'field_multiple_value_form__node_' . $type;
$suggestions[] = 'field_multiple_value_form__' . $variables['element']['#field_name'] . '__node_' . $type;
}
}
// field-multiple-value-form--field-entite--node-concernement
function ouatminimal_preprocess_field_multiple_value_form__field_entite__node_concernement(&$variables) {
// $element = $variables['element'];
$attributes = $variables['attributes'];
}
// template_preprocess_field_multiple_value_form
// function ouatminimal_preprocess_field_multiple_value_form(&$variables) {
// $element = $variables['element'];
// $attributes = $variables['attributes'];
// if($attributes['data-drupal-selector'] === 'edit-field-entite' ){
// $t="t";
// }
// }

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

View File

@ -0,0 +1,49 @@
{#
/**
* @file
* Default theme implementation for an individual form element.
*
* Available variables for all fields:
* - multiple: Whether there are multiple instances of the field.
*
* Available variables for single cardinality fields:
* - elements: Form elements to be rendered.
*
* Available variables when there are multiple fields.
* - table: Table of field items.
* - description: The description element containing the following properties:
* - content: The description content of the form element.
* - attributes: HTML attributes to apply to the description container.
* - button: "Add another item" button.
*
* @see template_preprocess_field_multiple_value_form()
*
* @ingroup themeable
*/
#}
{% if multiple %}
{%
set classes = [
'js-form-item',
'form-item'
]
%}
<div class="boussole-layout">
<div{{ attributes.addClass(classes) }}>
{{ table }}
{% if description.content %}
<div{{ description.attributes.addClass('description') }} >{{ description.content }}</div>
{% endif %}
{% if button %}
<div class="clearfix">{{ button }}</div>
{% endif %}
</div>
<div class="boussole-wrapper">
<div class="boussole"/>
</div>
</div>
{% else %}
{% for element in elements %}
{{ element }}
{% endfor %}
{% endif %}

View File

@ -0,0 +1,44 @@
{#
/**
* @file
* Default theme implementation for an individual form element.
*
* Available variables for all fields:
* - multiple: Whether there are multiple instances of the field.
*
* Available variables for single cardinality fields:
* - elements: Form elements to be rendered.
*
* Available variables when there are multiple fields.
* - table: Table of field items.
* - description: The description element containing the following properties:
* - content: The description content of the form element.
* - attributes: HTML attributes to apply to the description container.
* - button: "Add another item" button.
*
* @see template_preprocess_field_multiple_value_form()
*
* @ingroup themeable
*/
#}
{% if multiple %}
{%
set classes = [
'js-form-item',
'form-item'
]
%}
<div{{ attributes.addClass(classes) }}>
{{ table }}
{% if description.content %}
<div{{ description.attributes.addClass('description') }} >{{ description.content }}</div>
{% endif %}
{% if button %}
<div class="clearfix">{{ button }}</div>
{% endif %}
</div>
{% else %}
{% for element in elements %}
{{ element }}
{% endfor %}
{% endif %}

View File

@ -0,0 +1,38 @@
{#
/**
* @file
* Theme override for a node edit form.
*
* Two column template for the node add/edit form.
*
* This template will be used when a node edit form specifies 'node_edit_form'
* as its #theme callback. Otherwise, by default, node add/edit forms will be
* themed by form.html.twig.
*
* Available variables:
* - form: The node add/edit form.
*
* @see seven_form_node_form_alter()
*/
#}
<div class="layout-node-form clearfix">
<div class="layout-region layout-region-node-header">
{{ form.title }}
</div>
<div class="layout-region layout-region-node-center clearfix">
<div class="layout-region layout-region-node-main">
{{ form|without('title','advanced', 'footer', 'actions', 'group_internal') }}
</div>
<div class="layout-region layout-region-node-secondary">
{{ form.group_internal }}
{{ form.advanced }}
{{ form.actions }}
</div>
</div>
<div class="layout-region layout-region-node-footer">
<div class="layout-region-node-footer__content">
{{ form.footer }}
</div>
</div>
</div>