123 lines
2.6 KiB
YAML
123 lines
2.6 KiB
YAML
|
name: content
|
||
|
uploadPath: ../media/content
|
||
|
|
||
|
meta:
|
||
|
label: Inhalt
|
||
|
muiIcon: web
|
||
|
views:
|
||
|
- type: table
|
||
|
columns:
|
||
|
- source: path
|
||
|
tablist:
|
||
|
activeTab: site
|
||
|
tabs:
|
||
|
- name: general
|
||
|
label: Allgemein
|
||
|
subFields:
|
||
|
- source: path
|
||
|
- name: teaser
|
||
|
label: Teaser
|
||
|
subFields:
|
||
|
- source: showTeaser
|
||
|
- source: teaserTitle
|
||
|
- source: teaserDescription
|
||
|
- source: teaserImages
|
||
|
- name: site
|
||
|
label: content
|
||
|
subFields:
|
||
|
- source: row
|
||
|
|
||
|
imageFilter:
|
||
|
xs:
|
||
|
- fit: true
|
||
|
height: 90
|
||
|
width: 90
|
||
|
resampling: lanczos
|
||
|
quality: 60
|
||
|
s:
|
||
|
- fit: true
|
||
|
height: 300
|
||
|
width: 300
|
||
|
resampling: lanczos
|
||
|
quality: 60
|
||
|
m:
|
||
|
- fit: true
|
||
|
height: 600
|
||
|
width: 600
|
||
|
resampling: lanczos
|
||
|
quality: 60
|
||
|
l:
|
||
|
- fit: true
|
||
|
height: 1240
|
||
|
width: 1240
|
||
|
resampling: lanczos
|
||
|
quality: 60
|
||
|
xl:
|
||
|
- fit: true
|
||
|
height: 2000
|
||
|
width: 2000
|
||
|
resampling: lanczos
|
||
|
quality: 60
|
||
|
|
||
|
permissions:
|
||
|
public:
|
||
|
methods:
|
||
|
get: true
|
||
|
post: false
|
||
|
put: false
|
||
|
delete: false
|
||
|
user:
|
||
|
methods:
|
||
|
get: true
|
||
|
post: true
|
||
|
put: true
|
||
|
delete: true
|
||
|
|
||
|
projections:
|
||
|
navigation:
|
||
|
select:
|
||
|
path: 1
|
||
|
|
||
|
fields:
|
||
|
- type: string
|
||
|
name: path
|
||
|
meta:
|
||
|
label: Pfad
|
||
|
helperText: "Ein Pfad sollte mit einem / starten und ohne eins enden."
|
||
|
|
||
|
- name: showTeaser
|
||
|
type: boolean
|
||
|
meta:
|
||
|
label: Anzeigen
|
||
|
helperText: "Ist dies aktiviert, so wird der Teaser in der Startseite angezeigt."
|
||
|
|
||
|
- type: object[]
|
||
|
name: teaserImages
|
||
|
meta:
|
||
|
label: Bider
|
||
|
addElementLabel: Bild Hinzufügen
|
||
|
helperText: "Bei mehreren Bildern wird ein Slider eingefügt."
|
||
|
dependsOn:
|
||
|
eval: $parent.showTeaser
|
||
|
subFields:
|
||
|
- name: image
|
||
|
type: file
|
||
|
meta:
|
||
|
label: Bild
|
||
|
|
||
|
- type: string
|
||
|
name: teaserTitle
|
||
|
meta:
|
||
|
label: Titel
|
||
|
dependsOn:
|
||
|
eval: $parent.showTeaser
|
||
|
|
||
|
- type: string
|
||
|
name: teaserDescription
|
||
|
meta:
|
||
|
label: Beschreibung
|
||
|
dependsOn:
|
||
|
eval: $parent.showTeaser
|
||
|
|
||
|
- !include fields/pagebuilder.yml
|