blueprints

This commit is contained in:
sarahgarcin1 2025-12-02 21:45:22 +01:00
parent b35bee4fe3
commit b8cb77c0e5
52 changed files with 752 additions and 6 deletions

View file

@ -0,0 +1,39 @@
name: field.blocks.video.name
icon: video
preview: video
fields:
# url:
# label: field.blocks.video.url.label
# type: url
# placeholder: field.blocks.video.url.placeholder
location:
label: field.blocks.image.location
type: radio
columns: 2
default: "kirby"
options:
kirby: "{{ t('field.blocks.image.location.internal') }}"
web: "{{ t('field.blocks.image.location.external') }}"
video:
label: field.blocks.video.name
type: files
query: model.videos
multiple: false
video:
back: black
uploads:
template: blocks/video
when:
location: kirby
url:
label: field.blocks.video.url.label
type: url
placeholder: field.blocks.video.url.placeholder
when:
location: web
caption:
label: field.blocks.video.caption
type: writer
inline: true