Collections für neue Projekte optimiert...work in progress...
This commit is contained in:
@@ -9,7 +9,7 @@ uploadPath: ../media/content
|
||||
# Metaangaben zur Kollektion welche in der Admin-UI verwendet werden können
|
||||
meta:
|
||||
# Navigationseintrag in der Admin-UI
|
||||
label: { de: "Inhaltsblöcke", en: "Content Blocks" }
|
||||
label: { de: "Seiteninhalt", en: "Page Content" }
|
||||
# Icon (Material UI) für den Navigationseintrag
|
||||
muiIcon: web
|
||||
# Identifizierung eines Eintrags für z.B. Select-Boxen in der Admin-UI
|
||||
@@ -34,31 +34,31 @@ imageFilter:
|
||||
- fit: true
|
||||
height: 90
|
||||
width: 90
|
||||
resampling: lanczos
|
||||
resampling: "lancos"
|
||||
quality: 60
|
||||
s:
|
||||
- fit: true
|
||||
height: 300
|
||||
width: 300
|
||||
resampling: lanczos
|
||||
resampling: "lancos"
|
||||
quality: 60
|
||||
m:
|
||||
- fit: true
|
||||
height: 600
|
||||
width: 600
|
||||
resampling: lanczos
|
||||
resampling: "lancos"
|
||||
quality: 60
|
||||
l:
|
||||
- fit: true
|
||||
height: 1200
|
||||
width: 1200
|
||||
resampling: lanczos
|
||||
resampling: "lancos"
|
||||
quality: 60
|
||||
xl:
|
||||
- fit: true
|
||||
height: 2000
|
||||
width: 2000
|
||||
resampling: lanczos
|
||||
resampling: "lancos"
|
||||
quality: 60
|
||||
|
||||
# Zugriff auf diese Kollektion
|
||||
@@ -103,62 +103,9 @@ fields:
|
||||
index: [ single, unique ]
|
||||
meta:
|
||||
label: { de: "Pfad", en: "Path" }
|
||||
|
||||
- name: blocks
|
||||
type: object[]
|
||||
meta:
|
||||
label: { de: "Oben", en: "Top" }
|
||||
subFields:
|
||||
- name: layout
|
||||
type: number
|
||||
meta:
|
||||
widget: select
|
||||
label: { de: "Layout", en: "layout" }
|
||||
choices:
|
||||
- { id: 1, name: { de: "Bild links", en: "image left" } }
|
||||
- { id: 2, name: { de: "Bild rechts", en: "image right" } }
|
||||
- {
|
||||
id: 3,
|
||||
name:
|
||||
{ de: "Bild über Text", en: "image above text" },
|
||||
}
|
||||
- {
|
||||
id: 4,
|
||||
name:
|
||||
{ de: "Bild unter Text", en: "image below text" },
|
||||
}
|
||||
- name: title
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Titel", en: "title" }
|
||||
- name: subtitle
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Untertitel", en: "subtitle" }
|
||||
- name: text
|
||||
type: string
|
||||
meta:
|
||||
widget: richtext
|
||||
label: { de: "Text", en: "text" }
|
||||
- name: button_text
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Button-Text", en: "button text" }
|
||||
- name: button_url
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Button-URL", en: "button URL" }
|
||||
- name: images
|
||||
type: object[]
|
||||
meta:
|
||||
label: { de: "Bild(er)", en: "image(s)" }
|
||||
subFields:
|
||||
- name: file
|
||||
type: file
|
||||
meta:
|
||||
widget: image
|
||||
label: { de: "Datei", en: "file" }
|
||||
- name: label
|
||||
type: string
|
||||
meta:
|
||||
label: { de: "Label", en: "label" }
|
||||
- !include _article.yml
|
||||
|
||||
Reference in New Issue
Block a user