diff --git a/site/blueprints/pages/investigation-summary.yml b/site/blueprints/pages/investigation-summary.yml index c507f97..82d6877 100644 --- a/site/blueprints/pages/investigation-summary.yml +++ b/site/blueprints/pages/investigation-summary.yml @@ -16,6 +16,15 @@ tabs: display: DD / MM / YYYY default: today width: 1/2 + cover: + label: Visuel de couverture + type: files + multiple: false + layout: cards + image: + ratio: 12/7 + cover: true + help: Image utilisée dans les listes d'enquêtes reportSection: label: Rapport type: pages @@ -27,18 +36,10 @@ tabs: type: writer nodes: false buttons: false - cover: - label: Visuel de couverture - type: files - multiple: false - layout: cards - image: - ratio: 12/7 - cover: true - help: Image utilisée dans les listes d'enquêtes heroType: label: Type de hero type: select + default: image options: image: Image simple video: Vidéo @@ -49,25 +50,40 @@ tabs: type: files multiple: true layout: cards + width: 1/3 when: heroType: image - videoExtractUrl: - label: URL vidéo d'extrait (autoplay) - type: url + videoPreview: + label: Preview + type: files + multiple: false + help: Extrait joué en autoplay muet. + width: 1/3 when: heroType: video - width: 1/2 - videoFullUrl: + videoUrl: label: URL vidéo complète (YouTube embed) type: url + width: 1/3 when: heroType: video - width: 1/2 synthesis: label: Synthèse - type: textarea + type: writer size: large - buttons: false + headings: + - 4 + nodes: + - heading + - bulletlist + - orderedlist + marks: + - bold + - italic + - underline + - link + - '|' + - clear metadataTab: label: Métadonnées icon: table @@ -106,13 +122,13 @@ tabs: type: multiselect options: query query: page('database').keywords.split - width: 1/2 + width: 1/3 methodologies: label: Méthodologies options: query query: page('database').methodologies.split type: multiselect - width: 1/2 + width: 1/3 partners: label: Partenaires type: structure @@ -126,7 +142,9 @@ tabs: type: url team: label: Équipe Index - type: tags + type: multiselect + options: query + query: page('database').team.split width: 1/2 relatedInvestigations: label: Enquêtes en lien diff --git a/site/blueprints/pages/report.yml b/site/blueprints/pages/report.yml index 25edd3a..b7c1f9d 100644 --- a/site/blueprints/pages/report.yml +++ b/site/blueprints/pages/report.yml @@ -8,11 +8,7 @@ tabs: label: Contenu icon: page columns: - - width: 1/6 - fields: - emptyLeft: - type: gap - - width: 4/6 + - width: 1/4 fields: created: label: Première publication @@ -20,25 +16,27 @@ tabs: display: DD / MM / YYYY default: today width: 1/2 - subtitle: - label: Sous-titre + authors: + label: Auteur(s) type: text - width: 1/2 - chapo: - label: Chapo - type: writer - nodes: false - buttons: false + placeholder: INDEX Investigation + default: INDEX Investigation cover: label: Visuel de couverture type: files multiple: false min: 1 + required: true layout: cards size: full image: ratio: 12/7 cover: true + - width: 3/4 + fields: + subtitle: + label: Sous-titre + type: text body: label: Corps type: layout @@ -51,47 +49,6 @@ tabs: - image - beforeafter - video - - horizontal-gallery - - width: 1/6 - fields: - emptyRight: - type: gap - metadataTab: - label: Métadonnées - icon: table - fields: - authors: - label: Auteur(s) - default: INDEX Investigation - type: tags - incidentDate: - label: Date de l'incident - type: date - display: DD / MM / YYYY - width: 1/3 - incidentLocation: - label: Lieu de l'incident - type: text - width: 1/3 - incidentConsequences: - label: Conséquence(s) - type: text - width: 1/3 - keywords: - label: Mots-clés - type: tags - width: 1/2 - partners: - label: Partenaires - type: structure - width: 1/2 - fields: - name: - label: Nom - type: text - link: - label: Lien - type: link - options: - - url + # - horizontal-gallery + - gallery seo: seo/page