init
This commit is contained in:
16
site/blueprints/blocks/audio.yml
Normal file
16
site/blueprints/blocks/audio.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Audio
|
||||
icon: audio
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
file:
|
||||
label: File
|
||||
type: files
|
||||
min: 1
|
||||
query: page.audio
|
||||
width: 3/4
|
||||
loop:
|
||||
label: Wiederholen
|
||||
type: toggle
|
||||
width: 1/4
|
||||
17
site/blueprints/blocks/embed.yml
Normal file
17
site/blueprints/blocks/embed.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Embed
|
||||
icon: video
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
embed:
|
||||
label: Embed
|
||||
type: embed
|
||||
text:
|
||||
label: Untertitel
|
||||
type: text
|
||||
width: 3/4
|
||||
loop:
|
||||
label: Wiederholen (loop, nur youtube)
|
||||
type: toggle
|
||||
width: 1/4
|
||||
22
site/blueprints/blocks/image.yml
Normal file
22
site/blueprints/blocks/image.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
name: field.blocks.image.name
|
||||
icon: image
|
||||
preview: image
|
||||
fields:
|
||||
image:
|
||||
label: field.blocks.image.name
|
||||
type: files
|
||||
query: model.images
|
||||
multiple: false
|
||||
image:
|
||||
back: black
|
||||
uploads:
|
||||
template: blocks/image
|
||||
alt:
|
||||
label: field.blocks.image.alt
|
||||
type: text
|
||||
icon: title
|
||||
caption:
|
||||
label: field.blocks.image.caption
|
||||
type: writer
|
||||
icon: text
|
||||
inline: true
|
||||
16
site/blueprints/blocks/image_gallery.yml
Normal file
16
site/blueprints/blocks/image_gallery.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: field.blocks.gallery.name
|
||||
icon: dashboard
|
||||
preview: fields
|
||||
fields:
|
||||
images:
|
||||
label: field.blocks.gallery.images.label
|
||||
type: files
|
||||
query: model.images
|
||||
multiple: true
|
||||
layout: list
|
||||
size: tiny
|
||||
empty: field.blocks.gallery.images.empty
|
||||
uploads:
|
||||
template: blocks/image
|
||||
image:
|
||||
ratio: 1/1
|
||||
31
site/blueprints/blocks/texts.yml
Normal file
31
site/blueprints/blocks/texts.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Text
|
||||
icon: text
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
|
||||
fields:
|
||||
text:
|
||||
type: writer
|
||||
toolbar:
|
||||
inline: false
|
||||
headings:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
marks:
|
||||
- code
|
||||
- '|'
|
||||
- link
|
||||
- email
|
||||
- '|'
|
||||
- clear
|
||||
center_horizontal:
|
||||
label: Horizontal Zentrieren?
|
||||
type: toggle
|
||||
width: 1/2
|
||||
center_vertical:
|
||||
label: Vertikal Zentrieren?
|
||||
type: toggle
|
||||
width: 1/2
|
||||
10
site/blueprints/blocks/twitch.yml
Normal file
10
site/blueprints/blocks/twitch.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: Twitch
|
||||
icon: live
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
channel:
|
||||
label: Channel Name
|
||||
type: text
|
||||
help: Nur der Channel Name, eg der letzte Teil der Url
|
||||
27
site/blueprints/blocks/video.yml
Normal file
27
site/blueprints/blocks/video.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Video
|
||||
icon: video
|
||||
wysiwyg: true
|
||||
preview: fields
|
||||
label: false
|
||||
fields:
|
||||
file:
|
||||
label: Video File
|
||||
type: files
|
||||
query: page.video
|
||||
multiple: false
|
||||
width: 2/4
|
||||
poster:
|
||||
label: Poster Image
|
||||
type: files
|
||||
query: page.images
|
||||
multiple: false
|
||||
width: 1/4
|
||||
loop:
|
||||
label: Wiederholen
|
||||
type: toggle
|
||||
width: 1/4
|
||||
caption:
|
||||
label: field.blocks.image.caption
|
||||
type: writer
|
||||
icon: text
|
||||
inline: true
|
||||
Reference in New Issue
Block a user