Compare commits

...

6 Commits

Author SHA1 Message Date
371d927a53 added lock state in content admin view 2026-02-10 14:47:11 +01:00
752868639c better chapitres hover, js clean 2026-02-04 11:31:15 +01:00
81bf66acff config ignore shield 2026-02-02 21:55:21 +01:00
6dcc60d1a1 shield 2026-02-02 21:49:35 +01:00
713c605508 htaccess login 2026-02-02 21:35:45 +01:00
e6646784ca htaccess login 2026-02-02 21:32:13 +01:00
10 changed files with 231 additions and 22 deletions

View File

@@ -17,6 +17,7 @@
"require": { "require": {
"composer/installers": "^2.0", "composer/installers": "^2.0",
"drupal/cer": "^5.0@beta", "drupal/cer": "^5.0@beta",
"drupal/config_ignore": "^3.3",
"drupal/core-composer-scaffold": "^10.4", "drupal/core-composer-scaffold": "^10.4",
"drupal/core-project-message": "^10.4", "drupal/core-project-message": "^10.4",
"drupal/core-recommended": "^10.4", "drupal/core-recommended": "^10.4",
@@ -24,6 +25,7 @@
"drupal/page_manager": "^4.0@RC", "drupal/page_manager": "^4.0@RC",
"drupal/paragraphs": "^1.20", "drupal/paragraphs": "^1.20",
"drupal/redirect": "^1.12", "drupal/redirect": "^1.12",
"drupal/shield": "^1.8",
"drupal/upgrade_status": "^4.3", "drupal/upgrade_status": "^4.3",
"wikimedia/composer-merge-plugin": "^2.1" "wikimedia/composer-merge-plugin": "^2.1"
}, },

80
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "e3713c236ff05fa58bb8c392621b49c7", "content-hash": "262ce40a93ec66896b34a5e1196ff80b",
"packages": [ "packages": [
{ {
"name": "asm89/stack-cors", "name": "asm89/stack-cors",
@@ -2612,6 +2612,10 @@
"homepage": "https://www.drupal.org/u/bircher", "homepage": "https://www.drupal.org/u/bircher",
"role": "Maintainer" "role": "Maintainer"
}, },
{
"name": "nord102",
"homepage": "https://www.drupal.org/user/3471419"
},
{ {
"name": "tlyngej", "name": "tlyngej",
"homepage": "https://www.drupal.org/user/413139" "homepage": "https://www.drupal.org/user/413139"
@@ -6321,6 +6325,80 @@
"source": "https://git.drupalcode.org/project/seven" "source": "https://git.drupalcode.org/project/seven"
} }
}, },
{
"name": "drupal/shield",
"version": "1.8.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/shield.git",
"reference": "8.x-1.8"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/shield-8.x-1.8.zip",
"reference": "8.x-1.8",
"shasum": "709b5580790a3b5bd8dda26f722cdb5a9c3911c5"
},
"require": {
"drupal/core": "^9.2 || ^10 || ^11"
},
"require-dev": {
"drupal/key": "^1.16"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.8",
"datestamp": "1719947682",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"branch-alias": {
"dev-8.x-1.x": "1.x-dev"
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "badjava",
"homepage": "https://www.drupal.org/user/83372"
},
{
"name": "chx",
"homepage": "https://www.drupal.org/user/9446"
},
{
"name": "geek-merlin",
"homepage": "https://www.drupal.org/user/229048"
},
{
"name": "japerry",
"homepage": "https://www.drupal.org/user/45640"
},
{
"name": "kalman.hosszu",
"homepage": "https://www.drupal.org/user/267481"
},
{
"name": "pkiraly",
"homepage": "https://www.drupal.org/user/352587"
},
{
"name": "vbouchet",
"homepage": "https://www.drupal.org/user/1671428"
}
],
"description": "Creates a general shield for the site.",
"homepage": "https://www.drupal.org/project/shield",
"support": {
"source": "https://git.drupalcode.org/project/shield"
}
},
{ {
"name": "drupal/smart_trim", "name": "drupal/smart_trim",
"version": "2.3.1", "version": "2.3.1",

View File

@@ -2,4 +2,5 @@ _core:
default_config_hash: LzdDtE3Im_Ysio7g1Eo8ymSMq0mgSQMPzv0khsr_J64 default_config_hash: LzdDtE3Im_Ysio7g1Eo8ymSMq0mgSQMPzv0khsr_J64
langcode: fr langcode: fr
mode: simple mode: simple
ignored_config_entities: { } ignored_config_entities:
- shield.settings.yml

View File

@@ -86,6 +86,7 @@ module:
search: 0 search: 0
search_api: 0 search_api: 0
search_api_db: 0 search_api_db: 0
shield: 0
smart_trim: 0 smart_trim: 0
smtp: 0 smtp: 0
system: 0 system: 0

View File

@@ -0,0 +1,17 @@
_core:
default_config_hash: FLJZME3II5fjmMSrdEvJHp95ZJf8V_X0jbX0VdVU1BU
shield_enable: false
credential_provider: shield
credentials:
shield:
user: ''
pass: ''
allow_cli: true
debug_header: false
unset_basic_auth_headers: true
print: Hello!
method: 0
paths: ''
allowlist: ''
http_method_allowlist: { }
domains: ''

View File

@@ -6,6 +6,7 @@ dependencies:
- field.storage.node.field_chapitre_num - field.storage.node.field_chapitre_num
- field.storage.node.field_partie - field.storage.node.field_partie
module: module:
- content_lock
- node - node
- user - user
_core: _core:
@@ -441,6 +442,107 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
destination: true destination: true
break:
id: break
table: content_lock
field: break
relationship: none
group_type: group
admin_label: ''
plugin_id: content_lock_break_link
label: 'Break link'
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
timestamp:
id: timestamp
table: content_lock
field: timestamp
relationship: none
group_type: group
admin_label: ''
plugin_id: date
label: 'Date / Heure du verrouillage'
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: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
date_format: short
custom_date_format: ''
timezone: ''
pager: pager:
type: full type: full
options: options:
@@ -466,7 +568,7 @@ display:
options: options:
perm: 'access content overview' perm: 'access content overview'
cache: cache:
type: tag type: none
empty: empty:
area_text_custom: area_text_custom:
id: area_text_custom id: area_text_custom

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -59,19 +59,22 @@ gsap.registerPlugin(ScrollTrigger, ScrollSmoother);
function initPartieFrontBackCardSwitch() { function initPartieFrontBackCardSwitch() {
let principes_pratique = document.getElementById('partie-principes-pratique'); let principes_pratique = document.getElementById('partie-principes-pratique');
let cards = principes_pratique.getElementsByClassName('field-card'); if (principes_pratique) {
console.log('cards', cards); let cards = principes_pratique.getElementsByClassName('field-card');
for (const card of cards) { // console.log('cards', cards);
card.addEventListener('mousemove', function (e) { for (const card of cards) {
console.log(this, e); card.addEventListener('mousemove', function (e) {
for (const child of this.parentElement.children){ // console.log(this, e);
child.classList.add('back-card') for (const child of this.parentElement.children){
child.classList.remove('front-card'); child.classList.add('back-card')
} child.classList.remove('front-card');
this.classList.add('front-card') }
this.classList.remove('back-card') this.classList.add('front-card')
}) this.classList.remove('back-card')
})
}
} }
} }
function initBgAnime(){ function initBgAnime(){

View File

@@ -10,12 +10,17 @@
display: block; display: block;
font-size: 0.756em; font-size: 0.756em;
padding:0 0 0.25em 0; padding:0 0 0.25em 0;
transition: color 0.25s ease-out;
&:has(+ a:hover){ &:has(+ a:hover){
color: $rose; color: $rose;
} }
} }
a{ a{
font-size: 1.13em; font-size: 1.13em;
transition: color 0.15s ease-out;
&:hover{
color: $bleu_site;
}
} }
} }