mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Redesigned default template layout
This commit is contained in:
parent
91b44ad2b8
commit
e68390cc0c
1 changed files with 92 additions and 44 deletions
|
@ -12,73 +12,121 @@ form:
|
||||||
content:
|
content:
|
||||||
type: tab
|
type: tab
|
||||||
fields:
|
fields:
|
||||||
header.options:
|
header.title:
|
||||||
|
replace@: true
|
||||||
|
content:
|
||||||
|
replace@ true
|
||||||
|
header.media_order:
|
||||||
|
replace@: true
|
||||||
|
_Headings_Section:
|
||||||
|
type: section
|
||||||
|
underline: true
|
||||||
|
title: FUTURE.ADMIN.DEFAULT.HEADINGS_SECTION
|
||||||
|
_Headings:
|
||||||
type: columns
|
type: columns
|
||||||
ordering@: header.title
|
|
||||||
fields:
|
fields:
|
||||||
header.content:
|
_Title:
|
||||||
|
type: column
|
||||||
|
fields:
|
||||||
|
header.title:
|
||||||
|
type: text
|
||||||
|
autofocus: true
|
||||||
|
style: vertical
|
||||||
|
label: PLUGIN_ADMIN.TITLE
|
||||||
|
_Subtitle:
|
||||||
type: column
|
type: column
|
||||||
fields:
|
fields:
|
||||||
header.subtitle:
|
header.subtitle:
|
||||||
type: text
|
type: text
|
||||||
style: vertical
|
style: vertical
|
||||||
size: long
|
|
||||||
label: FUTURE.ADMIN.ITEM.ITEM_SUBTITLE
|
label: FUTURE.ADMIN.ITEM.ITEM_SUBTITLE
|
||||||
image_section:
|
_Content_Section:
|
||||||
type: section
|
type: section
|
||||||
underline: true
|
underline: true
|
||||||
title: FUTURE.ADMIN.DEFAULT.IMAGE_OPTIONS
|
title: FUTURE.ADMIN.DEFAULT.CONTENT
|
||||||
header.show_pageimage:
|
_ContentOptions:
|
||||||
|
type: column
|
||||||
|
fields:
|
||||||
|
_ContentToggles:
|
||||||
|
type: columns
|
||||||
|
fields:
|
||||||
|
header.show_sidebar:
|
||||||
type: toggle
|
type: toggle
|
||||||
style: vertical
|
outerclasses: size-1-2
|
||||||
label: FUTURE.ADMIN.DEFAULT.SHOW_PAGEIMAGE
|
toggleable: true
|
||||||
help: FUTURE.ADMIN.DEFAULT.SHOW_PAGEIMAGE_HELP
|
label: FUTURE.ADMIN.DEFAULT.SHOW_SIDEBAR
|
||||||
default: 1
|
default: 0
|
||||||
highlight: 1
|
highlight: 0
|
||||||
options:
|
options:
|
||||||
1: PLUGIN_ADMIN.ENABLED
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
0: PLUGIN_ADMIN.DISABLED
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
validate:
|
validate:
|
||||||
type: bool
|
type: bool
|
||||||
header.primaryImage:
|
header.toc_enabled:
|
||||||
|
type: toggle
|
||||||
|
outerclasses: size-1-2
|
||||||
|
toggleable: true
|
||||||
|
label: FUTURE.ADMIN.DEFAULT.TOC_ENABLED
|
||||||
|
help: FUTURE.ADMIN.DEFAULT.TOC_ENABLED_HELP
|
||||||
|
default: 0
|
||||||
|
highlight: 0
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
|
validate:
|
||||||
|
type: bool
|
||||||
|
_Content:
|
||||||
|
type: columns
|
||||||
|
fields:
|
||||||
|
content:
|
||||||
|
type: markdown
|
||||||
|
validate:
|
||||||
|
type: textarea
|
||||||
|
_Media_Section:
|
||||||
|
type: section
|
||||||
|
underline: true
|
||||||
|
title: FUTURE.ADMIN.DEFAULT.IMAGE_OPTIONS
|
||||||
|
_MediaOptions:
|
||||||
|
type: columns
|
||||||
|
fields:
|
||||||
|
_MediaContent:
|
||||||
|
type: column
|
||||||
|
fields:
|
||||||
|
header.media_order:
|
||||||
|
type: pagemedia
|
||||||
|
label: PLUGIN_ADMIN.PAGE_MEDIA
|
||||||
|
_ImageOptions:
|
||||||
|
type: column
|
||||||
|
fields:
|
||||||
|
header.show_pageimage:
|
||||||
|
type: toggle
|
||||||
|
|
||||||
|
label: FUTURE.ADMIN.DEFAULT.SHOW_PAGEIMAGE
|
||||||
|
help: FUTURE.ADMIN.DEFAULT.SHOW_PAGEIMAGE_HELP
|
||||||
|
default: 1
|
||||||
|
highlight: 1
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.YES
|
||||||
|
0: PLUGIN_ADMIN.NO
|
||||||
|
validate:
|
||||||
|
type: bool
|
||||||
|
header.featured_image:
|
||||||
ordering@: header.subtitle
|
ordering@: header.subtitle
|
||||||
style: vertical
|
size: large
|
||||||
size: medium
|
|
||||||
type: pagemediaselect
|
type: pagemediaselect
|
||||||
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.LABEL
|
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.LABEL
|
||||||
|
help: FUTURE.ADMIN.DEFAULT.FEATURED_IMAGE.HELP
|
||||||
preview_images: true
|
preview_images: true
|
||||||
header.image_width:
|
header.image_width:
|
||||||
type: number
|
type: number
|
||||||
style: vertical
|
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.WIDTH
|
||||||
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.WIDTH
|
size: small
|
||||||
size: small
|
default: 1000
|
||||||
default: 1038
|
|
||||||
header.image_height:
|
header.image_height:
|
||||||
type: number
|
type: number
|
||||||
style: vertical
|
|
||||||
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.HEIGHT
|
label: FUTURE.ADMIN.DEFAULT.PRIMARY_IMAGE.HEIGHT
|
||||||
size: small
|
size: small
|
||||||
default: 437
|
default: 300
|
||||||
content_section:
|
|
||||||
type: section
|
|
||||||
underline: true
|
|
||||||
title: FUTURE.ADMIN.DEFAULT.CONTENT
|
|
||||||
options:
|
|
||||||
fields:
|
|
||||||
publishing:
|
|
||||||
fields:
|
|
||||||
header.show_sidebar:
|
|
||||||
type: toggle
|
|
||||||
toggleable: true
|
|
||||||
label: FUTURE.ADMIN.DEFAULT.SHOW_SIDEBAR
|
|
||||||
ordering@: -99
|
|
||||||
default: 0
|
|
||||||
highlight: 0
|
|
||||||
options:
|
|
||||||
1: PLUGIN_ADMIN.ENABLED
|
|
||||||
0: PLUGIN_ADMIN.DISABLED
|
|
||||||
validate:
|
|
||||||
type: bool
|
|
||||||
advanced:
|
advanced:
|
||||||
fields:
|
fields:
|
||||||
columns:
|
columns:
|
||||||
|
|
Loading…
Add table
Reference in a new issue