forked from cms/tibi-svelte-starter
Prototyp - Neue allgemeine Collection für Artikel. Durch das Svend-Walter Projekt und ein paaar Gesprächen mit Daniela, was in einem Projekt typischerwise für typische Inhalts-Artikel benötigt wird, ist diese Collection entstanden.
This commit is contained in:
parent
258d89d339
commit
2ab447274a
@ -2,10 +2,72 @@ name: article
|
|||||||
type: tabs
|
type: tabs
|
||||||
meta:
|
meta:
|
||||||
label:
|
label:
|
||||||
de: Inhalt des Artikel
|
de: Einstellungen zum Artikel
|
||||||
en: Content of Article
|
en: Article Setings
|
||||||
activeTab: 0
|
activeTab: 0
|
||||||
subFields:
|
subFields:
|
||||||
|
- name: general
|
||||||
|
type: object
|
||||||
|
meta:
|
||||||
|
label:
|
||||||
|
de: Allgemein
|
||||||
|
en: General
|
||||||
|
css:
|
||||||
|
subFields:
|
||||||
|
- name: public
|
||||||
|
type: boolean
|
||||||
|
meta:
|
||||||
|
label:
|
||||||
|
de: Veröffentlicht
|
||||||
|
en: Public
|
||||||
|
helperText:
|
||||||
|
de: "Der Artikel wird auf der Seite angezeigt."
|
||||||
|
en: "This article is displayed on the page."
|
||||||
|
- name: publish_date
|
||||||
|
type: object
|
||||||
|
meta:
|
||||||
|
label:
|
||||||
|
de: Datum der Veröffentlichung
|
||||||
|
en: Release Date
|
||||||
|
css: "grid grid-50"
|
||||||
|
subFields:
|
||||||
|
- name: public_from
|
||||||
|
type: date
|
||||||
|
meta:
|
||||||
|
inputProps:
|
||||||
|
type: "datetime-local"
|
||||||
|
label:
|
||||||
|
de: Datum (ab)
|
||||||
|
en: Date (from)
|
||||||
|
- name: public_until
|
||||||
|
type: date
|
||||||
|
meta:
|
||||||
|
inputProps:
|
||||||
|
type: "datetime-local"
|
||||||
|
label:
|
||||||
|
de: Datum (bis)
|
||||||
|
en: Date (until)
|
||||||
|
- name: position
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Position auf der Seite
|
||||||
|
en: Position on page
|
||||||
|
defaultValue: []
|
||||||
|
choices:
|
||||||
|
- { id: "content", name: "Inhaltsbereich" }
|
||||||
|
- { id: "sidebar", name: "Sidebar" }
|
||||||
|
- name: sort
|
||||||
|
type: number
|
||||||
|
meta:
|
||||||
|
inputProps:
|
||||||
|
type: number
|
||||||
|
placeholder: 0
|
||||||
|
label: { de: "Sortierung", en: "Sorting" }
|
||||||
|
helperText:
|
||||||
|
de: "1...5...10...100"
|
||||||
|
en: "1...5...10...100"
|
||||||
- name: content
|
- name: content
|
||||||
type: object
|
type: object
|
||||||
meta:
|
meta:
|
||||||
@ -14,6 +76,10 @@ subFields:
|
|||||||
en: Content
|
en: Content
|
||||||
css:
|
css:
|
||||||
subFields:
|
subFields:
|
||||||
|
- name: slug
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
label: { de: "Permalink", en: "Permalink" }
|
||||||
- name: title
|
- name: title
|
||||||
type: string
|
type: string
|
||||||
meta:
|
meta:
|
||||||
@ -69,6 +135,10 @@ subFields:
|
|||||||
type: file
|
type: file
|
||||||
meta:
|
meta:
|
||||||
label: { de: "Datei", en: "File" }
|
label: { de: "Datei", en: "File" }
|
||||||
|
- name: caption
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
label: { de: "Bildunterschrift", en: "Caption" }
|
||||||
- name: contentAttachments
|
- name: contentAttachments
|
||||||
type: object
|
type: object
|
||||||
meta:
|
meta:
|
||||||
@ -95,45 +165,178 @@ subFields:
|
|||||||
meta:
|
meta:
|
||||||
label: { de: "", en: "" }
|
label: { de: "", en: "" }
|
||||||
- name: layout
|
- name: layout
|
||||||
type: object
|
type: tabs
|
||||||
meta:
|
meta:
|
||||||
label:
|
label:
|
||||||
de: Layout
|
de: Layout
|
||||||
en: Layout
|
en: Layout
|
||||||
css:
|
css:
|
||||||
subFields:
|
subFields:
|
||||||
- name: meta
|
- name: variant
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Erscheinungsbild
|
||||||
|
en: Appearance
|
||||||
|
defaultValue: ["_self"]
|
||||||
|
choices:
|
||||||
|
- { id: "top", name: { de: "Artikelbild oben (volle Breite)", en: "Article picture top (full width)" } }
|
||||||
|
- { id: "right", name: { de: "Artikelbild rechts (volle Höhe)", en: "Article picture right (full height)" } }
|
||||||
|
- { id: "bottom", name: { de: "Artikelbild unten (volle Breite)", en: "Article picture left (full width)" } }
|
||||||
|
- { id: "left", name: { de: "Artikelbild links (volle Höhe)", en: "Article picture left (full height)" } }
|
||||||
|
- { id: "after-teaser", name: { de: "Artikelbild unter Teaser (volle Breite)" , en: "Article picture under teaser (full width)" } }
|
||||||
|
- { id: "top-left", name: { de: "Artikelbild oben links", en: "Article picture above left" } }
|
||||||
|
- { id: "top-right", name: { de: "Artikelbild oben rechts", en: "Article picture above right" } }
|
||||||
|
- { id: "bottom-left", name: { de: "Artikelbild unten links", en: "Article picture below left" } }
|
||||||
|
- { id: "bottom-right", name: { de: "Artikelbild unten rechts", en: "Article picture below right" } }
|
||||||
|
- name: margin
|
||||||
|
type: object
|
||||||
|
meta:
|
||||||
|
label: { de: "Abstand nach außen (Margin)", en: "Distance to the outside (Margin)" }
|
||||||
|
subFields:
|
||||||
|
- name: top
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Oben
|
||||||
|
en: Top
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "mt-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "mt-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "mt-md", name: "Normal" }
|
||||||
|
- { id: "mt-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "mt-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: right
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Rechts
|
||||||
|
en: Right
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "mr-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "mr-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "mr-md", name: "Normal" }
|
||||||
|
- { id: "mr-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "mr-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: bottom
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Unten
|
||||||
|
en: Bottom
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "mb-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "mb-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "mb-md", name: "Normal" }
|
||||||
|
- { id: "mb-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "mb-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: left
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Links
|
||||||
|
en: Left
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "ml-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "ml-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "ml-md", name: "Normal" }
|
||||||
|
- { id: "ml-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "ml-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: padding
|
||||||
|
type: object
|
||||||
|
meta:
|
||||||
|
label: { de: "Abstand nach innen (Padding)", en: "Distance inside (Padding)" }
|
||||||
|
subFields:
|
||||||
|
- name: top
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Oben
|
||||||
|
en: Top
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "pt-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "pt-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "pt-md", name: "Normal" }
|
||||||
|
- { id: "pt-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "pt-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: right
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Rechts
|
||||||
|
en: Right
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "pr-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "pr-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "pr-md", name: "Normal" }
|
||||||
|
- { id: "pr-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "pr-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: bottom
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Unten
|
||||||
|
en: Bottom
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "pb-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "pb-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "pb-md", name: "Normal" }
|
||||||
|
- { id: "pb-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "pb-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: left
|
||||||
|
type: string
|
||||||
|
meta:
|
||||||
|
widget: select
|
||||||
|
label:
|
||||||
|
de: Links
|
||||||
|
en: Left
|
||||||
|
choices:
|
||||||
|
- { id: "", name: "Kein Abstand" }
|
||||||
|
- { id: "pl-xs", name: "Sehr kleiner Abstand" }
|
||||||
|
- { id: "pl-sm", name: "Kleiner Abstand" }
|
||||||
|
- { id: "pl-md", name: "Normal" }
|
||||||
|
- { id: "pl-lg", name: "Großer Abstand" }
|
||||||
|
- { id: "pl-xl", name: "Sehr großer Abstand" }
|
||||||
|
- name: link
|
||||||
type: object
|
type: object
|
||||||
meta:
|
meta:
|
||||||
label:
|
label:
|
||||||
de: Meta
|
de: Verlinkung
|
||||||
en: Meta
|
en: Link
|
||||||
css:
|
css:
|
||||||
subFields:
|
subFields:
|
||||||
- name: metaTitle
|
- name: url
|
||||||
type: string
|
type: string
|
||||||
meta:
|
meta:
|
||||||
label:
|
label: { de: "Ziel-URL", en: "Target URL" }
|
||||||
{
|
- name: text
|
||||||
de: "Erweitert den Titel der Webseite für diesen Artikel",
|
|
||||||
en: "Expands the title of the web page for this article",
|
|
||||||
}
|
|
||||||
- name: metaDescription
|
|
||||||
type: string
|
type: string
|
||||||
meta:
|
meta:
|
||||||
label:
|
label: { de: "Link-Beschriftung", en: "Link-Text" }
|
||||||
{
|
- name: target
|
||||||
de: "Erweitert die Beschreibung der Webseite für diesen Artikel",
|
|
||||||
en: "Expands the description of the web page for this item",
|
|
||||||
}
|
|
||||||
- name: metaKeywords
|
|
||||||
type: string
|
type: string
|
||||||
meta:
|
meta:
|
||||||
|
widget: select
|
||||||
label:
|
label:
|
||||||
{
|
de: Zielfenster
|
||||||
de: "Erweitert die SEO / Schlüsselwörter für diesen Artikel",
|
en: Target
|
||||||
en: "Expands the SEO / keywords for this article",
|
defaultValue: ["_self"]
|
||||||
}
|
choices:
|
||||||
helperText:
|
- { id: "_self", name: "(Standardwert) gleicher Tab oder Seite" }
|
||||||
de: "Beispiel: Stichwort1, Stichwort2, Stichwort3"
|
- { id: "_blank", name: "Neuer Tab oder Fenster" }
|
||||||
en: "Example: keyword1, keyword2, keyword3"
|
- { id: "_parent", name: "Elternfenster" }
|
||||||
|
@ -10,7 +10,7 @@ meta:
|
|||||||
# Icon (Material UI) für den Navigationseintrag
|
# Icon (Material UI) für den Navigationseintrag
|
||||||
muiIcon: file-document-edit-outline
|
muiIcon: file-document-edit-outline
|
||||||
# Standardsortierung der Liste
|
# Standardsortierung der Liste
|
||||||
defaultSort: { field: "name", order: "ASC" }
|
defaultSort: { field: "article.general.sort", order: "ASC" }
|
||||||
# Admin-Backend Ansichten
|
# Admin-Backend Ansichten
|
||||||
defaultImageFilter: s
|
defaultImageFilter: s
|
||||||
views:
|
views:
|
||||||
@ -19,18 +19,18 @@ meta:
|
|||||||
mediaQuery: "(max-width:599px)"
|
mediaQuery: "(max-width:599px)"
|
||||||
primaryText: path
|
primaryText: path
|
||||||
columns:
|
columns:
|
||||||
- public
|
- article.general.public
|
||||||
- image
|
- article.content.title
|
||||||
- title
|
- article.general.position
|
||||||
- position
|
- article.general.sort
|
||||||
# Desktop
|
# Desktop
|
||||||
- type: table
|
- type: table
|
||||||
mediaQuery: "(min-width:600px)"
|
mediaQuery: "(min-width:600px)"
|
||||||
columns:
|
columns:
|
||||||
- public
|
- article.general.public
|
||||||
- image
|
- article.content.title
|
||||||
- title
|
- article.general.position
|
||||||
- position
|
- article.general.sort
|
||||||
|
|
||||||
imageFilter:
|
imageFilter:
|
||||||
xs:
|
xs:
|
||||||
|
@ -23,6 +23,8 @@ meta:
|
|||||||
- type: simpleList
|
- type: simpleList
|
||||||
mediaQuery: "(max-width:599px)"
|
mediaQuery: "(max-width:599px)"
|
||||||
primaryText: path
|
primaryText: path
|
||||||
|
columns:
|
||||||
|
- path
|
||||||
# Desktop
|
# Desktop
|
||||||
- type: table
|
- type: table
|
||||||
mediaQuery: "(min-width:600px)"
|
mediaQuery: "(min-width:600px)"
|
||||||
@ -106,6 +108,6 @@ fields:
|
|||||||
- name: blocks
|
- name: blocks
|
||||||
type: object[]
|
type: object[]
|
||||||
meta:
|
meta:
|
||||||
label: { de: "Oben", en: "Top" }
|
label: { de: "Artikel dieser Seite", en: "Page Articles" }
|
||||||
subFields:
|
subFields:
|
||||||
- !include _article.yml
|
- !include _article.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user