tentative blueprint modules

This commit is contained in:
2021-03-10 12:58:51 +01:00
parent 3e532f49ec
commit 7d2396c196
19 changed files with 137 additions and 46 deletions
@@ -0,0 +1,46 @@
title: Showcase
'@extends': default
form:
fields:
tabs:
fields:
advanced:
fields:
columns:
fields:
column1:
fields:
name:
default: modular/showcase
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
overrides:
fields:
header.template:
default: modular/showcase
'@data-options': '\Grav\Common\Page\Pages::modularTypes'
buttons:
type: tab
title: Buttons
fields:
header.buttons:
name: buttons
type: list
label: Buttons
fields:
.text:
type: text
label: Text
.url:
type: text
label: URL
.primary:
type: toggle
label: Primary
highlight: 1
default: 1
options:
1: 'Yes'
0: 'No'
validate:
type: bool