neues theme: add blueprints.yaml

This commit is contained in:
teldra 2023-01-10 11:33:15 +01:00
parent e81c88ad08
commit 5ec80c5ec8

View File

@ -140,50 +140,118 @@ form:
1: No 1: No
validate: validate:
type: bool type: bool
header.content.items.@taxonomy.type: events1:
type: text type: section
label: Taxonomy Type title: Event
default: event underline: true
header.content.items.@taxonomy.event_repeat:
type: text header.event.status-section:
label: Repeats On type: section
placeholder: "[M,T,W,R,F,S,U]" title: Status
header.content.items.@taxonomy.event_freq: underline: true
type: text header.event.status:
label: Frequency label: Status
placeholder: weekly type: select
header.content.dateRange.start: default: ""
type: date options:
label: Start Date "": "None"
header.content.dateRange.end: "scheduled": "scheduled"
type: date "postponed": "postponed"
label: End Date "cancelled": "cancelled"
header.content.order.by: title: Status
type: text help: Possible values are scheduled, postponed, cancelled.
label: Order By header.event.dt-section:
default: date type: section
header.content.order.dir: title: Date & Time
type: text underline: true
label: Order Direction header.event.doors_open:
default: asc type: datetime
header.content.limit: label: PLUGIN_EVENTS.EVENTS.DOORS_OPEN
type: text help: Use the date selector to enter a doors open date and time for this event.
label: limit header.event.start:
default: 10 type: datetime
header.content.pagination: label: Start
label: Pagination help: Use the date selector to enter a start date and time for this event.
type: toggle validate:
highlight: 1 type: required
default: 1 header.event.end:
options: type: datetime
1: Enabled label: End
0: Disabled help: Use the date selector to enter an end date and time for this event.
validate: validate:
type: bool type: required
hero_title: header.event.repeat:
type: spacer type: text
title: Hero Section label: Repeat
help: Using MTWRFSU to specify what days of the week this event repeats. For example, MWF.
placeholder: MTWRFSU
header.event.freq:
type: select
label: Frequency
help: How often should this event repeat?
options:
'': "None"
'daily': 'Daily'
'weekly': 'Weekly'
'monthly': 'Monthly'
'yearly': 'Yearly'
header.event.until:
type: datetime
label: Until
help: How long should this event repeat? (3 months automatically if Repeat or Frequency are set)
header.event.exceptions-section:
type: section
title: Exceptions
underline: true
header.event.exceptions:
type: list
style: vertical
name: exceptions
label: Enter dates this repeating/reoccuring event will not meet.
fields:
.date:
type: date
label: Date
header.event.ticket-section:
type: section
underline: true
title: Ticket
header.event.ticket_show:
label: Show
type: select
options:
"hidden": "Hidden"
"free": "Free"
"price": "Price"
title: Show events as free, price or just without information
header.event.ticket_price:
type: text
label: Price
placeholder: "9.00 $"
header.event.ticket_link:
type: text
label: Ticket Link
help: Paste link to Ticketsystem here
header.event.location-section:
type: section
title: Location
underline: true
header.event.location:
type: text
label: Location
help: Where is this event located? If you enter an address it will be geocoded below.
header.event.coordinates:
type: text
label: Coordinates
placeholder: Latitude, Longitude
help: These are automatically generated from the location field.
header.event.city:
type: hidden
header.event.zip:
type: hidden
header.event.country:
type: hidden
header.hero_classes: header.hero_classes:
type: text type: text
@ -191,7 +259,11 @@ form:
markdown: true markdown: true
description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.' description: 'There are several Hero class options that can be listed here (space separated):<br />`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`<br />Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.'
data-default@: '\Grav\Theme\QuarkOpenPublishing::getblogpageheroclasses' data-default@: '\Grav\Theme\QuarkOpenPublishing::getblogpageheroclasses'
hero1:
type: section
title: Hero
underline: true
header.hero_image: header.hero_image:
type: filepicker type: filepicker
label: Hero Image label: Hero Image