mediatheque
This commit is contained in:
Executable
+101
@@ -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
|
||||
Reference in New Issue
Block a user