mediatheque

This commit is contained in:
armansansd
2023-07-18 10:47:46 +01:00
commit 4b7c97a02e
3044 changed files with 544089 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
title: Actualités
# extends@: default
form:
fields:
tabs:
type: tabs
active: 1
fields:
Actualité:
type: tab
title: Actualités
fields:
columns:
type: columns
fields:
column1:
type: column
fields:
order_title:
type: section
title: Mise en avant
underline: true
header.top:
type: pages
size: medium
style: vertical
# classes: fancy
show_all: false
show_modular: false
show_root: false
start_route: '/actualites/'
help: PLUGIN_ADMIN.HOME_PAGE_HELP
column2:
type: column
# fields:
# order_title:
# type: section
# title: Accés rapide
# underline: true
#
# order:
# type: order
# style: vertical
# start_route: '/actualites/'
# sitemap:
+63
View File
@@ -0,0 +1,63 @@
title: Coalitions
# extends@: default
form:
fields:
tabs:
type: tabs
active: 1
fields:
Actualité:
type: tab
title: Coalitions
fields:
columns:
type: columns
fields:
column1:
type: column
fields:
order_title:
type: section
title: Présentation
underline: true
header.presentation:
classes: frontmatter
type: editor
autofocus: true
codemirror:
mode: 'null'
indentUnit: 4
autofocus: false
indentWithTabs: false
lineNumbers: false
styleActiveLine: false
gutters: ['CodeMirror-lint-markers']
lint: true
column2:
type: column
fields:
cc:
type: fieldset
title: Code pays :
info: https://en.wikipedia.org/wiki/ISO_3166-1
# order_title:
# type: section
# title: Accés rapide
# underline: true
#
# list:
# type: childlist
# label: PLUGIN_ADMIN.PARENT
# classes: fancy
# '@data-options': '\Grav\Common\Page\Page'
# data-options@: '\Grav\Theme\Plain::countryCodes'
# '@data-default': '\Grav\Plugin\admin::route'
# options:
# '/': PLUGIN_ADMIN.DEFAULT_OPTION_ROOT
# type: order
# style: vertical
# sitemap:
+146
View File
@@ -0,0 +1,146 @@
title: Membres en danger
# extends@: default
form:
fields:
tabs:
type: tabs
active: 1
fields:
membres:
type: tab
title: Membres en danger
fields:
header.media_thumbnail:
type: filepicker
label: Image en-tête
folder: 'self@'
preview_images: true
header.intro:
type: tinymce
label: Texte Introduction
header.memberList:
type: list
label: Membres
style: vertical
collapsed: true
fields:
.membre:
type: text
label: Nom
.pays:
type: text
label: Pays
.photo:
type: filepicker
label: Photos
preview_images: true
.statut:
type: radio
label: Statut
classes: field-selection__select
default: menace
options:
menace: Menacé·e
prison: Emprisonné·e
free: Libéré·e
.prison:
type: datetime
label: Emprisonné·e depuis
classes: prison form-statut
.menace:
type: datetime
label: Menacé·e
classes: menace form-statut
.menace_type:
type: text
label: Menacé·e - description
classes: menace form-statut
.free:
type: datetime
label: Libéré·e depuis
classes: free form-statut
.text:
type: tinymce
label: Informations
.textreso:
type: tinymce
label: Comment agir
.article:
type: pages
label: Article à relier
size: medium
style: vertical
# classes: fancy
show_all: false
show_modular: false
show_root: false
start_route: '/actualites/'
help: PLUGIN_ADMIN.HOME_PAGE_HELP
header.datavis:
type: toggle
label: Activer datavis
highlight: 0
default: 0
options:
1: 'Oui'
0: 'Non'
validate:
type: bool
header.datavis_title:
type: text
label: titre frise
header.datavis_text:
type: tinymce
label: description de la frise
header.files:
type: file
multiple: true
limit: 1000
filesize: 3
label: Photos
destination: '@self'
accept:
- image/*
# columns:
# type: columns
# fields:
# column1:
# type: column
# fields:
# order_title:
# type: section
# title: Mise en avant
# underline: true
# header.top:
# type: pages
# size: medium
# style: vertical
# # classes: fancy
# show_all: false
# show_modular: false
# show_root: false
# start_route: '/actualites/'
# help: PLUGIN_ADMIN.HOME_PAGE_HELP
# column2:
# type: column
# fields:
# order_title:
# type: section
# title: Accés rapide
# underline: true
#
# order:
# type: order
# style: vertical
# start_route: '/actualites/'
# sitemap:
+16
View File
@@ -0,0 +1,16 @@
title: Default
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.media_thumbnail:
type: filepicker
folder: '@self'
preview_images: true
label: Vignette
+76
View File
@@ -0,0 +1,76 @@
title: Home
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.gallery:
type: list
label: Gallerie Accueil
fields:
.image:
type: filepicker
folder: '@self'
label: Select a file
preview_images: true
.url:
type: pages
size: medium
classes: fancy
label: Url
start_route: '/actualites'
header.media_order:
ordering@: 4
header.media_thumbnail:
unset@: true
columns:
type: columns
fields:
column1:
type: column
fields:
header.activate_top:
type: toggle
label: Afficher "A la Une"
size: medium
style: vertical
highlight: 0
default: 0
options:
1: 'Oui'
0: 'Non'
validate:
type: bool
column2:
type: column
fields:
header.top:
type: pages
size: medium
style: vertical
classes: fancy
label: Page à afficher
start_route: '/actualites/'
show_all: false
show_modular: false
show_root: false
help: PLUGIN_ADMIN.HOME_PAGE_HELP
header.info_tel:
type: text
label: Telephone
header.info_addr:
type: text
label: Adresse Mail
header.info_addr_post:
type: text
label: Adresse Postale
header.logo:
type: file
destination: '@self'
label: Logos
multiple: true
+86
View File
@@ -0,0 +1,86 @@
title: Media
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.media_order:
ordering@: 10
header.media_thumbnail:
style: vertical
ordering@: header.title
header.info:
style: vertical
ordering@: 2
type: text
label: Référence du média
help: auteur du media, date de publication etc.
header.type:
style: vertical
ordering@: header.info
label: type de media
type: selectize
selectize:
options:
- text: "Ouvrage"
value: "ouvrage"
- text: "Film"
value: "film"
size: large
classes: fancy
help: PLUGIN_ADMIN.TAXONOMY_TYPES_HELP
validate:
type: commalist
header.author:
type: text
label: Auteur de la fiche
columns:
type: columns
fields:
column1:
type: column
fields:
header.file:
type: file
label: Fichier
multiple: false
filesize: 20
help: Taille maximum 10Mo
destination: 'self@'
accept:
- '*'
column3:
type: column
fields:
header.media_thumb:
type: filepicker
folder: '@self'
preview_images: true
label: Aperçu du média
column2:
type: column
fields:
header.private:
type: toggle
label: Accés privé
highlight: 0
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
+129
View File
@@ -0,0 +1,129 @@
title: Modules
extends@: default
form:
fields:
tabs:
type: tabs
active: 1
label: test
fields:
content:
type: tab
title: Sections de la page
fields:
xss_check:
type: xss
header.media_thumbnail:
type: filepicker
folder: '@self'
preview_images: true
label: Vignette
content:
unset@: true
header.media_order:
ordering@: -1
section_title:
type: section
title: Sections de la page
underline: true
header.sections:
name: Sections
type: list
collapsed: true
controls: both
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.text:
type: tinymce
label: Text
header.image_field:
type: file
label: Images
multiple: true
filesize: 5
help: Taille maximum 2Mo
destination: 'self@'
accept:
- image/*
content_title:
type: spacer
title: Sidebar
header.post_sidebar:
type: list
style: vertical
validate:
type: array
fields:
.type_info:
type: checkboxes
label: Type
default:
url: false
pages: false
ressources: false
options:
url: Référence
pages: Pages
ressources: Ressources
use: keys
.title:
type: text
label: Titre
validate: require
.url:
type: text
label: référence extérieur (url)
.page:
type: pages
size: medium
# classes: fancy
label: Pages
show_all: false
show_modular: false
show_root: false
start_route: '/actualites/'
default: null
.ressources:
type: text
label: Ressources
classes: fancy
# fields:
# gallery:
# type: tab
# title: Media Accueil
#
# fields:
# header.media_type:
# type: checkboxes
# label: Choisir le media à utiliser
# default:
# picture: true
# video: false
# options:
# image: image
# video: video
# use: keys
# # header.picture_field:
# header.video_field:
# type: file
# label: Fichier video
# multiple: false
# filesize: 20
# help: Taille maximum 10Mo
# destination: 'self@'
# accept:
# - video/*
+79
View File
@@ -0,0 +1,79 @@
title: Post
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.media_order:
limit: 0
columns:
type: columns
ordering@: 2
fields:
column1:
type: column
fields:
header.info.date:
label: Date de création
type: text
header.info.nb:
label: Nombres d'organisations
type: text
header.info.orga:
label: Organisations créatrices
type: text
column2:
type: column
fields:
header.media_thumbnail:
type: filepicker
style: vertical
folder: '@self'
preview_images: true
label: Vignette
header.taxonomy.tag:
unset@: true
member_section:
type: section
title: Membres en danger
ordering@: 5
header.membres:
type: tab
title: Membres en danger
ordering@: 6
fields:
header.member:
type: list
label: Membre
style: vertical
collapsed: true
fields:
.membre:
type: text
label: Nom
.photo:
type: filepicker
label: Photos
preview_images: true
.prison:
type: datetime
label: Emprisonné·e depuis
classes: prison form-statut
.free:
type: datetime
label: Libéré·e depuis
classes: free form-statut
.text:
type: tinymce
label: Informations
header.media_thumbnail:
unset@: true
+101
View File
@@ -0,0 +1,101 @@
title: Post
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.media_order:
ordering@: 6
content:
ordering@: 2
header.media_thumbnail:
type: filepicker
folder: '@self'
preview_images: true
label: Vignette
header.taxonomy:
unset@: true
# header.danger:
# type: toggle
# label: Membre en danger ?
# highlight: 0
# default: 0
# options:
# 1: 'Oui'
# 0: 'Non'
# validate:
# type: bool
header.taxonomy.tag:
type: selectize
label: Categorie
options:
- text: "tribune"
value: "tribune"
- text: "communiqué"
value: "communiqué"
classes: fancy
validate:
type: commalist
# header.post_files:
# type: file
# style: vertical
# label: Mes fichiers
# multiple: true
# filesize: 1
# destination: '@self'
# accept:
# - image/*
content_title:
type: spacer
title: Sidebar
header.post_sidebar:
type: list
style: vertical
validate:
type: array
fields:
.type_info:
type: checkboxes
label: Type
default:
url: false
pages: false
ressources: false
options:
url: Référence
pages: Pages
ressources: Ressources
use: keys
.title:
type: text
label: Titre
validate: require
.url:
type: text
label: référence extérieur (url)
.page:
type: pages
size: medium
# classes: fancy
label: Pages
show_all: false
show_modular: false
show_root: false
start_route: '/actualites/'
default: null
.ressources:
type: text
label: Ressources - insérer le titre
+69
View File
@@ -0,0 +1,69 @@
title: Membres en danger
# extends@: default
form:
fields:
tabs:
type: tabs
active: 1
fields:
podium:
type: tab
title: Podium
fields:
header.dictateurIntro:
type: tinymce
label: Introduction
header.classementType:
type: text
label: Année du classement
header.topDic:
type: list
label: Top 10 des dictateurs
style: vertical
collapsed: true
fields:
.name:
type: text
label: Nom
.country:
type: text
label: Pays
.years:
type: number
label: Année
.dicpic:
type: filepicker
label: Photos
preview_images: true
header.classement:
type: list
label: Classement pays
style: vertical
collapsed: true
fields:
.name:
type: text
label: Nom
.perc:
type: number
label: Pourcentage
.info:
type: text
label: Informations
.flag:
type: filepicker
label: Photos
preview_images: true
header.files:
type: file
multiple: true
limit: 100
label: Photos
destination: '@self'
accept:
- image/*
+14
View File
@@ -0,0 +1,14 @@
title: Projets
extends@: default
form:
fields:
tabs:
fields:
content:
fields:
header.textform:
type: tinymce
label: Texte formulaire (médiathéque)
+245
View File
@@ -0,0 +1,245 @@
title: Ressources
# extends@: default
form:
fields:
tabs:
type: tabs
active: 1
label: tabs
fields:
content:
type: tab
title: Ressources
fields:
header.title:
type: text
autofocus: true
style: vertical
label: PLUGIN_ADMIN.TITLE
header.media_thumbnail:
type: file
label: Vignette
multiple: false
filesize: 5
help: Taille maximum 2Mo
destination: 'self@'
accept:
- image/*
section_title:
type: section
title: Fichiers
underline: true
tabs:
type: tabs
active: 1
label: tabs
fields:
image:
type: tab
title: Images
fields:
header.images:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.image_list:
type: file
label: Image(s)
multiple: true
filesize: 5
help: Taille maximum 2Mo
destination: 'self@'
accept:
- image/*
.tag:
type: selectize
label: Tag
classes: fancy
validate:
type: commalist
documents:
type: tab
title: Documents
fields:
header.doc:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.thumbnail:
type: file
label: Vignette pdf
multiple: false
filesize: 2
help: Taille maximum 1Mo
destination: 'self@'
accept:
- image/*
.doc:
type: file
label: Fichier
multiple: false
filesize: 20
help: Taille maximum 10Mo, pdf, odt, doc, docx
destination: 'self@'
accept: ["image/*", '.pdf', '.odt', '.doc','.docx']
.description:
label: Description
type: textarea
.docTag:
type: selectize
label: tag
selectize:
options:
- text: "Rapports de recherche"
value: "rapports"
- text: "Rapports d’activités et administratifs"
value: "admin"
- text: "Outils numériques"
value: "digital"
- text: "Rapports d'activités et autres documents administratifs"
value: "other"
- text: "Communiqués et tribunes"
value: "com"
- text: "Tribunes"
value: "tribunes"
size: large
classes: fancy
validate:
type: commalist
videos:
type: tab
title: Vidéos
fields:
header.vid:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
# .thumbnail:
# https://img.youtube.com/vi/nL34zDTPkcs/0.jpg
.url:
type: text
label: url de la vidéo
.tag:
type: selectize
label: Tag
classes: fancy
validate:
type: commalist
podcast:
type: tab
title: Podcasts
fields:
header.pod:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.desc:
type: tinymce
label: description
.thumbnail:
type: file
label: Vignette pdf
multiple: false
filesize: 2
help: Taille maximum 1Mo
destination: 'self@'
accept:
- image/*
.file:
type: file
label: Fichier audio
multiple: false
filesize: 20
help: Taille maximum 10Mo
destination: 'self@'
accept:
- '*'
newsletter:
type: tab
title: Newsletter
fields:
header.nl:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.url:
type: text
label: Url de la newsletter
media:
type: tab
title: TLP dans les médias
fields:
header.media:
type: list
collapsed: true
controls: top
style: vertical
fields:
.title:
type: text
label: Titre
validate: require
.date:
type: date
label: Date de publication
.desc:
type: textarea
label: Description
.thumbnail:
type: file
label: Vignette
multiple: false
filesize: 2
help: Taille maximum 1Mo
destination: 'self@'
accept:
- image/*
.url:
label: Lien de l'article
type: text
+2
View File
@@ -0,0 +1,2 @@
title: Sous categorie
extends@: default