130 lines
3.5 KiB
YAML
Executable File
130 lines
3.5 KiB
YAML
Executable File
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/*
|