concernement form display improved

This commit is contained in:
Bachir Soussi Chiadmi 2023-03-07 18:56:43 +01:00
parent 64fa70b96f
commit 723a507f81
4 changed files with 173 additions and 34 deletions

View File

@ -29,6 +29,7 @@
"drupal/group": "3.0.x-dev@dev",
"drupal/mail_login": "^2.6",
"drupal/paragraphs": "^1.15",
"drupal/paragraphs_modal_edit": "^1.1",
"drupal/restui": "^1.21",
"drupal/role_delegation": "^1.2",
"drupal/structure_sync": "^2.0",

164
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": "b71d40ad5fdae20202852b65c352ee54",
"content-hash": "4c0284e2283429a9a3564df19923e993",
"packages": [
{
"name": "alchemy/zippy",
@ -7081,6 +7081,117 @@
"source": "https://git.drupalcode.org/project/paragraphs"
}
},
{
"name": "drupal/paragraphs_edit",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/paragraphs_edit.git",
"reference": "8.x-2.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/paragraphs_edit-8.x-2.0.zip",
"reference": "8.x-2.0",
"shasum": "3b4a7634aecfc35bf45adf86b27d500660887df1"
},
"require": {
"drupal/core": "^8 || ^9 || ^10",
"drupal/paragraphs": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.0",
"datestamp": "1651758518",
"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": "bbrala",
"homepage": "https://www.drupal.org/user/3366066"
},
{
"name": "casey",
"homepage": "https://www.drupal.org/user/32403"
}
],
"description": "Allows users to edit/clone and delete paragraphs.",
"homepage": "https://www.drupal.org/project/paragraphs_edit",
"support": {
"source": "https://git.drupalcode.org/project/paragraphs_edit"
}
},
{
"name": "drupal/paragraphs_modal_edit",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/paragraphs_modal_edit.git",
"reference": "8.x-1.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/paragraphs_modal_edit-8.x-1.1.zip",
"reference": "8.x-1.1",
"shasum": "69e666649bc106da729c03c3b1c982bc30f491f7"
},
"require": {
"drupal/core": "^8 || ^9 || ^10",
"drupal/paragraphs": "*",
"drupal/paragraphs_edit": "*"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.1",
"datestamp": "1659139826",
"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": "dermario",
"homepage": "https://www.drupal.org/user/241276"
},
{
"name": "InaW",
"homepage": "https://www.drupal.org/user/3612364"
},
{
"name": "megadesk3000",
"homepage": "https://www.drupal.org/user/639386"
},
{
"name": "saschaeggi",
"homepage": "https://www.drupal.org/user/1999056"
}
],
"description": "Functionality for the editing paragraphs in a Drupal modal/dialog",
"homepage": "https://www.drupal.org/project/paragraphs_modal_edit",
"keywords": [
"Drupal"
],
"support": {
"source": "http://cgit.drupalcode.org/paragraphs_modal_edit",
"issues": "https://www.drupal.org/project/issues/paragraphs_modal_edit"
}
},
{
"name": "drupal/path_alias_xt",
"version": "dev-1.x",
@ -8757,25 +8868,24 @@
},
{
"name": "egulias/email-validator",
"version": "3.2.1",
"version": "3.2.5",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715"
"reference": "b531a2311709443320c786feb4519cfaf94af796"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/f88dcf4b14af14a98ad96b14b2b317969eab6715",
"reference": "f88dcf4b14af14a98ad96b14b2b317969eab6715",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/b531a2311709443320c786feb4519cfaf94af796",
"reference": "b531a2311709443320c786feb4519cfaf94af796",
"shasum": ""
},
"require": {
"doctrine/lexer": "^1.2",
"doctrine/lexer": "^1.2|^2",
"php": ">=7.2",
"symfony/polyfill-intl-idn": "^1.15"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^8.5.8|^9.3.3",
"vimeo/psalm": "^4"
},
@ -8813,7 +8923,7 @@
],
"support": {
"issues": "https://github.com/egulias/EmailValidator/issues",
"source": "https://github.com/egulias/EmailValidator/tree/3.2.1"
"source": "https://github.com/egulias/EmailValidator/tree/3.2.5"
},
"funding": [
{
@ -8821,7 +8931,7 @@
"type": "github"
}
],
"time": "2022-06-18T20:57:19+00:00"
"time": "2023-01-02T17:26:14+00:00"
},
{
"name": "enlightn/security-checker",
@ -11968,16 +12078,16 @@
},
{
"name": "symfony/http-kernel",
"version": "v4.4.49",
"version": "v4.4.50",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "4e36db8103062c62b3882b1bd297b02de6b021c4"
"reference": "aa6df6c045f034aa13ac752fc234bb300b9488ef"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/4e36db8103062c62b3882b1bd297b02de6b021c4",
"reference": "4e36db8103062c62b3882b1bd297b02de6b021c4",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/aa6df6c045f034aa13ac752fc234bb300b9488ef",
"reference": "aa6df6c045f034aa13ac752fc234bb300b9488ef",
"shasum": ""
},
"require": {
@ -12052,7 +12162,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.49"
"source": "https://github.com/symfony/http-kernel/tree/v4.4.50"
},
"funding": [
{
@ -12068,7 +12178,7 @@
"type": "tidelift"
}
],
"time": "2022-11-28T17:58:43+00:00"
"time": "2023-02-01T08:01:31+00:00"
},
{
"name": "symfony/mime",
@ -13580,16 +13690,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.4.14",
"version": "v5.4.21",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430"
"reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6894d06145fefebd9a4c7272baa026a1c394a430",
"reference": "6894d06145fefebd9a4c7272baa026a1c394a430",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"shasum": ""
},
"require": {
@ -13649,7 +13759,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.14"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.21"
},
"funding": [
{
@ -13665,7 +13775,7 @@
"type": "tidelift"
}
],
"time": "2022-10-07T08:01:20+00:00"
"time": "2023-02-23T10:00:28+00:00"
},
{
"name": "symfony/yaml",
@ -13740,16 +13850,16 @@
},
{
"name": "twig/twig",
"version": "v2.15.3",
"version": "v2.15.4",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "ab402673db8746cb3a4c46f3869d6253699f614a"
"reference": "3e059001d6d597dd50ea7c74dd2464b4adea48d3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/ab402673db8746cb3a4c46f3869d6253699f614a",
"reference": "ab402673db8746cb3a4c46f3869d6253699f614a",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/3e059001d6d597dd50ea7c74dd2464b4adea48d3",
"reference": "3e059001d6d597dd50ea7c74dd2464b4adea48d3",
"shasum": ""
},
"require": {
@ -13804,7 +13914,7 @@
],
"support": {
"issues": "https://github.com/twigphp/Twig/issues",
"source": "https://github.com/twigphp/Twig/tree/v2.15.3"
"source": "https://github.com/twigphp/Twig/tree/v2.15.4"
},
"funding": [
{
@ -13816,7 +13926,7 @@
"type": "tidelift"
}
],
"time": "2022-09-28T08:40:08+00:00"
"time": "2022-12-27T12:26:20+00:00"
},
{
"name": "typo3/phar-stream-wrapper",

View File

@ -104,22 +104,16 @@ content:
settings: { }
third_party_settings: { }
field_entite:
type: paragraphs
type: entity_reference_paragraphs
weight: 11
region: content
settings:
title: Paragraphe
title_plural: Paragraphs
edit_mode: open
closed_mode: summary
autocollapse: none
closed_mode_threshold: 0
add_mode: dropdown
form_display_mode: default
default_paragraph_type: ''
features:
collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { }
field_recit:
type: file_generic

View File

@ -216,6 +216,40 @@
max-width: 60%;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] td.field-multiple-drag {
min-width: 0;
width: 25px;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-image thead,
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-file thead{
display: none;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] div.field--type-image div.form-managed-file ,
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] div.field--type-file div.form-managed-file{
width:420px;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] div.field--type-image div.form-managed-file input[type="text"],
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] div.field--type-file div.form-managed-file input[type="text"]{
width:90%;
}
/* #boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-image a.tabledrag-handle{
float: none;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-image .image-widget{
float: none;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-image .image-widget .image-preview{
float: none;
}
#boussole-layout .form-item[data-drupal-selector="edit-field-entite"] .field--type-image .image-widget .image-widget-data{
float: none;
} */
/* #boussole-layout .form-item[data-drupal-selector="edit-field-entite"] table.field-entite-values > tbody > tr > td > div > div.form-wrapper table{
max-width: 100%;
} */