206 lines
5.2 KiB
YAML
206 lines
5.2 KiB
YAML
|
name: content
|
||
|
uploadPath: ../media/page
|
||
|
|
||
|
meta:
|
||
|
label: Inhalt
|
||
|
muiIcon: tableOfContents
|
||
|
allowExportAll: true
|
||
|
backup:
|
||
|
active: true
|
||
|
collectionName: backups
|
||
|
defaultSort:
|
||
|
field: sort
|
||
|
order: MANUALLY
|
||
|
views:
|
||
|
- type: simpleList
|
||
|
selectionPriority: 0
|
||
|
primaryText: pageTitle
|
||
|
secondaryText: path
|
||
|
mediaQuery: "(min-width: 0px)"
|
||
|
tertiaryText: type
|
||
|
- type: table
|
||
|
selectionPriority: 1
|
||
|
mediaQuery: "(min-width: 700px)"
|
||
|
columns:
|
||
|
- source: type
|
||
|
name: Typ
|
||
|
filter: true
|
||
|
- source: path
|
||
|
name: Pfad
|
||
|
filter: true
|
||
|
- source: pageTitle
|
||
|
name: Titel
|
||
|
filter: true
|
||
|
- source: active
|
||
|
name: Aktiv
|
||
|
filter: true
|
||
|
|
||
|
tablist:
|
||
|
activeTab: general
|
||
|
|
||
|
tabs:
|
||
|
- name: general
|
||
|
label: Allgemein
|
||
|
subFields:
|
||
|
- source: path
|
||
|
- source: pageTitle
|
||
|
- source: type
|
||
|
- source: active
|
||
|
- source: sort
|
||
|
|
||
|
- name: teaser
|
||
|
label: Homepage Seitenteaser
|
||
|
subFields:
|
||
|
- source: teaser
|
||
|
|
||
|
- name: site
|
||
|
label: Seite
|
||
|
subFields:
|
||
|
- source: rows
|
||
|
|
||
|
- name: meta
|
||
|
label: Meta
|
||
|
subFields:
|
||
|
- source: meta
|
||
|
|
||
|
subNavigation:
|
||
|
- name: seite
|
||
|
label:
|
||
|
de: Seiten
|
||
|
en: pages
|
||
|
muiIcon: book-open-page-variant
|
||
|
defaultSort:
|
||
|
field: "sort"
|
||
|
order: "MANUALLY"
|
||
|
setDefault:
|
||
|
field: type
|
||
|
value: page
|
||
|
|
||
|
views:
|
||
|
- type: table
|
||
|
columns:
|
||
|
- source: path
|
||
|
name: Pfad
|
||
|
filter: true
|
||
|
- source: pageTitle
|
||
|
name: Titel
|
||
|
filter: true
|
||
|
- source: active
|
||
|
name: Aktiv
|
||
|
filter: true
|
||
|
filter:
|
||
|
type: page
|
||
|
|
||
|
permissions:
|
||
|
public:
|
||
|
methods:
|
||
|
get: true
|
||
|
post: false
|
||
|
put: false
|
||
|
delete: false
|
||
|
user:
|
||
|
methods:
|
||
|
get: true
|
||
|
post: true
|
||
|
put: true
|
||
|
delete: true
|
||
|
|
||
|
hooks:
|
||
|
post:
|
||
|
return:
|
||
|
type: javascript
|
||
|
file: hooks/clear_cache.js
|
||
|
put:
|
||
|
return:
|
||
|
type: javascript
|
||
|
file: hooks/clear_cache.js
|
||
|
|
||
|
projections:
|
||
|
navigation:
|
||
|
select:
|
||
|
path: 1
|
||
|
|
||
|
fields:
|
||
|
- type: string
|
||
|
name: path
|
||
|
meta:
|
||
|
label: Pfad
|
||
|
helperText: "Ein Pfad sollte mit einem / starten und ohne eins enden."
|
||
|
containerProps:
|
||
|
layout:
|
||
|
size:
|
||
|
default: "col-6"
|
||
|
small: "col-12"
|
||
|
large: "col-6"
|
||
|
|
||
|
- type: boolean
|
||
|
name: active
|
||
|
meta:
|
||
|
label: Aktiv
|
||
|
helperText: Ist dies Aktiviert, so wird der Inhalt verfügbar.
|
||
|
defaultValue: true
|
||
|
containerProps:
|
||
|
layout:
|
||
|
size:
|
||
|
default: "col-6"
|
||
|
small: "col-12"
|
||
|
large: "col-6"
|
||
|
|
||
|
- type: string
|
||
|
name: type
|
||
|
meta:
|
||
|
label: Inhaltstyp
|
||
|
widget: select
|
||
|
defaultValue: page
|
||
|
containerProps:
|
||
|
layout:
|
||
|
size:
|
||
|
default: "col-6"
|
||
|
small: "col-12"
|
||
|
large: "col-6"
|
||
|
choices:
|
||
|
- name: Seite
|
||
|
id: page
|
||
|
|
||
|
- name: pageTitle
|
||
|
type: string
|
||
|
meta:
|
||
|
label: Titel der Seite
|
||
|
helperText: "Dieser Titel wird in der Seite als h1 angezeigt."
|
||
|
dependsOn:
|
||
|
eval: $.type == "page"
|
||
|
containerProps:
|
||
|
layout:
|
||
|
size:
|
||
|
default: "col-6"
|
||
|
small: "col-12"
|
||
|
large: "col-6"
|
||
|
|
||
|
- name: rows
|
||
|
type: object[]
|
||
|
meta:
|
||
|
label: Zeilen
|
||
|
widget: grid
|
||
|
metaElements: []
|
||
|
subFields: !include fieldLists/row.yml
|
||
|
|
||
|
- name: meta
|
||
|
type: object
|
||
|
meta:
|
||
|
label: Meta Agaben
|
||
|
dependsOn:
|
||
|
eval: $.type == "page"
|
||
|
subFields: !include fieldLists/meta.yml
|
||
|
|
||
|
- name: sort
|
||
|
type: number
|
||
|
meta:
|
||
|
label:
|
||
|
de: Manuelle Sortierung
|
||
|
en: Manual Sorting
|
||
|
inputProps:
|
||
|
{ readonly: true, placeholder: { de: "Wert wird automatisch gesetzt", en: "Value is set automatically" } }
|
||
|
helperText:
|
||
|
de: Dieses Feld wird für die manuelle Sortierung benötigt. Sobald ein Eintrag per Drag&Drop verschoben wurde, wird die neue Position innerhalb der Liste eingetragen.
|
||
|
en: This field is required for manual sorting. As soon as an entry is moved using Drag&Drop, the new position is entered in the list.
|