concernement form improved
This commit is contained in:
parent
e3859bef58
commit
8ee327f2bf
|
@ -31,6 +31,7 @@
|
|||
"drupal/genpass": "^1.1",
|
||||
"drupal/graphql": "4.x-dev@dev",
|
||||
"drupal/group": "3.0.x-dev@dev",
|
||||
"drupal/hide_revision_field": "^2.2",
|
||||
"drupal/mail_login": "^2.6",
|
||||
"drupal/paragraphs": "^1.15",
|
||||
"drupal/paragraphs_modal_edit": "^1.1",
|
||||
|
|
|
@ -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": "f874a1a846eacffa0d31c1312d5e160a",
|
||||
"content-hash": "017c14c4d3314080d32106bcdc238fd2",
|
||||
"packages": [
|
||||
{
|
||||
"name": "alchemy/zippy",
|
||||
|
@ -5870,6 +5870,50 @@
|
|||
"issues": "https://drupal.org/project/issues/group"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "drupal/hide_revision_field",
|
||||
"version": "2.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.drupalcode.org/project/hide_revision_field.git",
|
||||
"reference": "8.x-2.2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://ftp.drupal.org/files/projects/hide_revision_field-8.x-2.2.zip",
|
||||
"reference": "8.x-2.2",
|
||||
"shasum": "fd26577c66b6105e2a7cb1df16b2270cf21dfc04"
|
||||
},
|
||||
"require": {
|
||||
"drupal/core": "^8 || ^9"
|
||||
},
|
||||
"type": "drupal-module",
|
||||
"extra": {
|
||||
"drupal": {
|
||||
"version": "8.x-2.2",
|
||||
"datestamp": "1606459114",
|
||||
"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": "NickDickinsonWilde",
|
||||
"homepage": "https://www.drupal.org/user/3094661"
|
||||
}
|
||||
],
|
||||
"description": "Controls visibility of the revision field on content add/edit forms.",
|
||||
"homepage": "https://www.drupal.org/project/hide_revision_field",
|
||||
"support": {
|
||||
"source": "https://git.drupalcode.org/project/hide_revision_field"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "drupal/honeypot",
|
||||
"version": "2.1.2",
|
||||
|
|
|
@ -136,12 +136,6 @@ targetEntityType: node
|
|||
bundle: concernement
|
||||
mode: default
|
||||
content:
|
||||
created:
|
||||
type: datetime_timestamp
|
||||
weight: 3
|
||||
region: content
|
||||
settings: { }
|
||||
third_party_settings: { }
|
||||
field_caillou:
|
||||
type: string_textarea
|
||||
weight: 2
|
||||
|
@ -219,13 +213,6 @@ content:
|
|||
settings:
|
||||
progress_indicator: throbber
|
||||
third_party_settings: { }
|
||||
status:
|
||||
type: boolean_checkbox
|
||||
weight: 1
|
||||
region: content
|
||||
settings:
|
||||
display_label: true
|
||||
third_party_settings: { }
|
||||
title:
|
||||
type: string_textfield
|
||||
weight: 0
|
||||
|
@ -239,19 +226,12 @@ content:
|
|||
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
|
||||
advanced_text_formatter:
|
||||
show_token_tree: 0
|
||||
uid:
|
||||
type: entity_reference_autocomplete
|
||||
weight: 2
|
||||
region: content
|
||||
settings:
|
||||
match_operator: CONTAINS
|
||||
match_limit: 10
|
||||
size: 60
|
||||
placeholder: ''
|
||||
third_party_settings: { }
|
||||
hidden:
|
||||
created: true
|
||||
langcode: true
|
||||
path: true
|
||||
promote: true
|
||||
status: true
|
||||
sticky: true
|
||||
uid: true
|
||||
url_redirects: true
|
||||
|
|
|
@ -23,6 +23,15 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
div[data-drupal-selector=edit-actions] {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
div[data-drupal-selector=edit-actions] > * {
|
||||
width: 10em;
|
||||
margin: 0 0 0.5em !important;
|
||||
}
|
||||
|
||||
.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;
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"sourceRoot":"","sources":["../scss/ouatminimal.scss"],"names":[],"mappings":"AAAA;AACA;EACE;EACA;;;AAEF;AAAA;EAEE;;;AAEF;EACE;;;AAGF;EACE;EACA;;;AAGF;AAKI;EACE;;;AAKN;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;;;AAEF;AAAA;EAEE;EACA;;;AAGF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAGF;AAAA;AAAA;AAIA;AACA;EACE;;;AAGF;AACA;EAIE;IACE;IACA;IACA;;EAGF;IACE;IACA;;EAGF;AACE;IACA;IACA;IACA;IACA;AACA;IACA;;EAGF;IACE;IACA;IACA;;EAGF;AACE;IACA;IACA;AACA;IACA;;EAGF;IACE;;AAGF;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IASE;IACA;IACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;EAEE;IACE;;EAEF;AAAA;AAAA;IAGE;IACA;IACA;;;AAKJ;AAEE;EACE;EACA;EACA;EAAU;EACV;AAeA;AAAA;AAAA;;AAbA;EACE;;AAEF;EACE;EACA;EACA;;AAEF;AAAA;EAEE;EACA;;AAQJ;AACE;EACA;;AAEF;EACE;;AAKA;AAAA;AAAA;AAAA;AAAA;AAAA;EAGE;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EAGE;;AAKJ;EACE;;;AAOJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAIN;EACE;EACA;EACA;;AAEA;EACE;;AAIA;EACE;;AAEF;EACE;;AAMN;EACE;;AAGF;EACE;EACA;;AAKA;AAAA;EACE;;AAGF;AAAA;EACE;;AACA;AAAA;EACE;;AAMN;EACE;;AAeJ;EACE;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EAAY;EACZ;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;;AAEF;EACE;;AAGF;EACE;;;AAYV;AAAA;AAAA;EAGE;;;AAGF;AAAA;EAEE","file":"ouatminimal.css"}
|
||||
{"version":3,"sourceRoot":"","sources":["../scss/ouatminimal.scss"],"names":[],"mappings":"AAAA;AACA;EACE;EACA;;;AAEF;AAAA;EAEE;;;AAEF;EACE;;;AAGF;EACE;EACA;;;AAGF;AAKI;EACE;;;AAKN;EACE;EACA;;AACA;EACE;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;AACE;EACA;EACA;;;AAEF;AAAA;EAEE;EACA;;;AAEF;AAAA;EAEE;EACA;;;AAGF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;;;AAEF;EACE;EACA;;;AAGF;AAAA;AAAA;AAIA;AACA;EACE;;;AAGF;AACA;EAIE;IACE;IACA;IACA;;EAGF;IACE;IACA;;EAGF;AACE;IACA;IACA;IACA;IACA;AACA;IACA;;EAGF;IACE;IACA;IACA;;EAGF;AACE;IACA;IACA;AACA;IACA;;EAGF;IACE;;AAGF;EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IASE;IACA;IACA;;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA;EAEE;IACE;;EAEF;AAAA;AAAA;IAGE;IACA;IACA;;;AAKJ;AAEE;EACE;EACA;EACA;EAAU;EACV;AAeA;AAAA;AAAA;;AAbA;EACE;;AAEF;EACE;EACA;EACA;;AAEF;AAAA;EAEE;EACA;;AAQJ;AACE;EACA;;AAEF;EACE;;AAKA;AAAA;AAAA;AAAA;AAAA;AAAA;EAGE;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;EAGE;;AAKJ;EACE;;;AAOJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAEA;EACE;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;;AAIN;EACE;EACA;EACA;;AAEA;EACE;;AAIA;EACE;;AAEF;EACE;;AAMN;EACE;;AAGF;EACE;EACA;;AAKA;AAAA;EACE;;AAGF;AAAA;EACE;;AACA;AAAA;EACE;;AAMN;EACE;;AAeJ;EACE;EACA;AAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;AACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EAAY;EACZ;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;;AAEF;EACE;;AAGF;EACE;;;AAYV;AAAA;AAAA;EAGE;;;AAGF;AAAA;EAEE","file":"ouatminimal.css"}
|
|
@ -60,6 +60,7 @@ function ouatminimal_form_node_form_alter(&$form, FormStateInterface $form_state
|
|||
|
||||
// unset($form['advanced']);
|
||||
$form['advanced']['#type'] = 'container';
|
||||
$form['advanced']['#access'] = FALSE;
|
||||
$form['meta']['#type'] = 'container';
|
||||
$form['meta']['#access'] = TRUE;
|
||||
$form['meta']['changed']['#wrapper_attributes']['class'][] = 'container-inline';
|
||||
|
|
|
@ -27,6 +27,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
div[data-drupal-selector="edit-actions"]{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
>*{
|
||||
width:10em;
|
||||
margin: 0 0 0.5em!important;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
|
|
Loading…
Reference in New Issue