synchronise models

This commit is contained in:
L3D 2019-05-25 21:26:34 +02:00
parent 025daac4a2
commit 3ffad512d8
Signed by: l3d
GPG key ID: CD08445BFF4313D1
10 changed files with 590 additions and 6 deletions

View file

@ -8,13 +8,18 @@ label = Title
type = string
size = large
[fields.shorttitle]
label = Title (kurz fürs Menü)
type = string
size = small
[fields.author]
label = Author
type = string
width = 1/2
[fields.twitter_handle]
label = Twitter Handle
label = Mastodon Handle (https://chaos.Social)
type = string
width = 1/4
addon_label = @
@ -25,5 +30,36 @@ type = date
width = 1/4
[fields.body]
label = Body
label = Teaser (Website)
type = markdown
[fields.xml]
label = Teaser (RSS Feed) (TEXT Only)
type = text
width = 2/3
[fields.xml_img]
label = RSS Feed Image
type = select
source = record.attachments.images
width = 1/3
[fields.beitrag]
label = Blogbeitrag
type = markdown
[fields.video_embeded]
label = Video (embedded)
type = flow
flow_blocks = pro_video
[fields.video_is_embeded]
label = Is a Video embeded?
type = boolean
default = false
[fields.project]
label = Galerie
type = flow
flow_blocks = pro_img

View file

@ -7,6 +7,18 @@ hidden = yes
label = Title
type = string
[fields.description]
label = Description
type = text
[fields.spruch]
label = Werbespruch
type = string
[fields.link]
label = RSS Feed
type = string
[children]
model = blog-post
order_by = -pub_date, title

45
models/kalender.ini Normal file
View file

@ -0,0 +1,45 @@
[model]
name = Kalender
label = {{ this.title }}
protected = yes
hidden = yes
;-----------
[fields.title]
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.slogan]
label = Start-Slogan
[fields.ics]
label = Beschriftung ICS Datei
width = 1/2
type = string
[fields.ics_url]
label = Link zur ICS Kalenderdatei
width = 1/2
type = url
[fields.web]
label = Beschriftung Kalender-Webansicht
width = 1/2
type = string
[fields.web_url]
label = Link zur Kalender-Webansicht
width = 1/2
type = url
[fields.kalender_id]
label = Nextcloud-Kalender-ID
type = string
[fields.content]
label = Seiteninhalt
type = markdown

View file

@ -1,11 +1,25 @@
[model]
name = Page
name = mormale Seite
label = {{ this.title }}
protected = yes
;------------------------------
[fields.title]
label = Title
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.body]
label = Body
[fields.slogan]
label = Start-Slogan
type = string
[fields.teaser]
label = Kurz umrissen: Was siehtg man hier?
type = text
[fields.content]
label = Seiteninhalt
type = markdown

72
models/presse.ini Normal file
View file

@ -0,0 +1,72 @@
[model]
name = Linksammlung
label = {{ this.title }}
protected = yes
;------------------------------
[fields.title]
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.slogan]
label = Start-Slogan
type = string
[fields.teaser]
label = Kurz umrissen: Was siehtg man hier?
type = text
[fields.p1]
label = Überschrift 1. Tabelle
type = string
[fields.press_1]
label = 1. Tabelle
type = flow
flow_blocks = press_table
[fields.p2]
label = Überschrift 2. Tabelle
type = string
[fields.press_2]
label = 2. Tabelle
type = flow
flow_blocks = press_table
[fields.p3]
label = Überschrift 3. Tabelle
type = string
[fields.press_3]
label = 3. Tabelle
type = flow
flow_blocks = press_table
[fields.p4]
label = Überschrift 4. Tabelle
type = string
[fields.press_4]
label = 4. Tabelle
type = flow
flow_blocks = press_table
[fields.p5]
label = Überschrift 5. Tabelle
type = string
[fields.press_5]
label = 5. Tabelle
type = flow
flow_blocks = press_table
[fields.content]
label = Seiteninhalt
type = markdown

52
models/projekt-post.ini Normal file
View file

@ -0,0 +1,52 @@
[model]
name = Einzelnes Projekt
label = {{ this.title }}
hidden = yes
[fields.title]
label = Title (bitte kurz halten)
type = string
size = large
[fields.icon]
label = Font-Awesome Icon [fas fa-heart]
type = string
[fields.author]
label = Author [für den Feed]
type = string
width = 1/2
[fields.number]
label = Priorität [benötigt zum sortieren]
type = integer
width = 1/4
[fields.teaser]
label = Teaser (TEXT)
type = text
[fields.body]
label = Projektseite (Markdown)
type = markdown
[fields.video_embeded]
label = Video (embedded)
type = flow
flow_blocks = pro_video
[fields.video_is_embeded]
label = Is a YT-Video embeded?
type = boolean
default = false
[fields.project]
label = Galerie
type = flow
flow_blocks = pro_img
[fields.xml_img]
label = RSS Feed Vorschaubild
type = select
source = record.attachments.images

49
models/projekte.ini Normal file
View file

@ -0,0 +1,49 @@
[model]
name = Rezepte
label = Rezepte
hidden = yes
[fields.title]
label = Title
type = string
[fields.description]
label = Description
type = text
[fields.begruessung]
label = Begrüßungstext
type = markdown
[fields.title2]
label = Title nach Begruessung
type = string
[fields.description2]
label = Description nach Begruessung
type = markdown
[fields.link]
label = RSS Feed
type = string
[fields.abo]
label = Abonnieren
type = string
[fields.trailer]
label = Last part of the site
type = markdown
[children]
model = projekt-post
order_by = -number, title
[pagination]
enabled = yes
per_page = 9
[fields.desc]
label = HTML HEAD Description
type = string

250
models/start.ini Normal file
View file

@ -0,0 +1,250 @@
[model]
name = Startseite
label = {{ this.title }}
protected = yes
;------------------------------
[fields.title]
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.slogan]
label = Start-Slogan
type = string
[fields.hinweis]
label = Start-Hinweis
type = string
[fields.hinweis_txt]
label = Start-Hinweis-Linktext
type = string
[fields.hinweis_url]
label = Start-Hinweis-URL
type = string
;------------------------------
[fields.about_header]
label = 1. Abschnitt: Überschrift
type = string
[fields.about_background]
label = 1. Abschnitt: Pfad_Hintergrund
type = string
default = "/images/home/abschnitt1.jpeg"
[fields.about_text]
label = 1. Abschnitt: Text 1/3
type = markdown
[fields.about_text2]
label = 1. Abschnitt: Text 2/3
type = markdown
[fields.about_text3]
label = 1. Abschnitt: Text 3/3
type = markdown
[fields.about_url]
label = 1. Abschnitt: Link-Text
type = string
choices = left
width = 1/2
[fields.about_url2]
label = 1. Abschnitt: Link
type = string
choices = right
width = 1/2
[fields.sections]
label = Abschnitte
type = flow
flow_blocks = startpage_section
;-----------------------------
[fields.icons_header]
label = 4. Abschnitt: Überschrift
type = string
[fields.icons_text]
label = 4. Abschnitt: Text
type = markdown
[fields.render_tourdaten]
label = Render Termine?
default = false
type = boolean
[fields.icons_header_2]
label = 4. Abschnitt: Überschrift (nach tourdaten)
type = string
[fields.icons_text_2]
label = 4. Abschnitt: Text (nach tourdaten)
type = markdown
[fields.icons_1_1]
label = 1. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_1_2]
label = 1. Icon: Überschrift
type = string
width = 2/3
[fields.icons_1_3]
label = 1. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_1_url]
label = 1. Icon: URL
type = string
width = 1/3
[fields.icons_2_1]
label = 2. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_2_2]
label = 2. Icon: Überschrifgt
type = string
width = 2/3
[fields.icons_2_3]
label = 2. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_2_url]
label = 2. Icon: URL
type = string
width = 1/3
[fields.icons_3_1]
label = 3. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_3_2]
label = 3. Icon: Überschrift
type = string
width = 2/3
[fields.icons_3_3]
label = 3. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_3_url]
label = 3. Icon: URL
type = string
width = 1/3
[fields.icons_4_1]
label = 4. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_4_2]
label = 4. Icon: Überschrift
type = string
width = 2/3
[fields.icons_4_3]
label = 4. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_4_url]
label = 4. Icon: URL
type = string
width = 1/3
[fields.icons_5_1]
label = 5. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_5_2]
label = 5. Icon: Überschrift
type = string
width = 2/3
[fields.icons_5_3]
label = 5. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_5_url]
label = 5. Icon: URL
type = string
width = 1/3
[fields.icons_6_1]
label = 6. Icon: Font Awesome
type = string
width = 1/3
[fields.icons_6_2]
label = 6. Icon: Überschrift
type = string
width = 2/3
[fields.icons_6_3]
label = 6. Icon: Beschreibung
type = markdown
width = 2/3
[fields.icons_6_url]
label = 6. Icon: URL
type = string
width = 1/3
[fields.icons_url]
label = Icon: URL
type = string
width = 1/2
[fields.icons_txt]
label = Icon: URL Text
type = string
width = 1/2
;---------------------
[fields.red_1]
label = Letzter Abschnitt: Überschrift
type = string
[fields.red_2]
label = Letzter Abschnitt: Beschreibung
type = markdown
[fields.red_3]
label = Letzter Abschnitt: klein
type = markdown
[fields.red_4]
label = Letzter Abschnitt: Groß
type = string

34
models/vereinsheim.ini Normal file
View file

@ -0,0 +1,34 @@
[model]
name = Vereinsheim mit Karte
label = {{ this.title }}
protected = yes
;------------------------------
[fields.title]
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.slogan]
label = Start-Slogan
type = string
[fields.teaser]
label = Kurz umrissen: Was siehtg man hier?
type = text
[fields.precontent]
label = Seiteninhalt vor der Map
type = markdown
[fields.content]
label = Seiteninhalt nach der Map
type = markdown
[fields.project]
label = Galerie
type = flow
flow_blocks = pro_img

20
models/waffeln.ini Normal file
View file

@ -0,0 +1,20 @@
[model]
name = ICS Feed
label = {{ this.title }}
protected = yes
hidden = yes
;-----------
[fields.title]
label = Titel
addon_label = [[header]]
size = large
type = string
[fields.termine]
label = Termine
type = flow
flow_blocks = termine