246 lines
8.6 KiB
YAML
Executable File
246 lines
8.6 KiB
YAML
Executable File
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
|
||
|
||
|