2016-05-13 19:02:39 +02:00
|
|
|
|
rules:
|
|
|
|
|
|
slug:
|
2017-02-17 15:28:03 +01:00
|
|
|
|
pattern: '[a-zA-Zа-яA-Я0-9_\-]+'
|
|
|
|
|
|
min: 1
|
|
|
|
|
|
max: 200
|
2016-05-13 19:02:39 +02:00
|
|
|
|
|
|
|
|
|
|
form:
|
|
|
|
|
|
validation: loose
|
|
|
|
|
|
fields:
|
|
|
|
|
|
|
|
|
|
|
|
tabs:
|
|
|
|
|
|
type: tabs
|
|
|
|
|
|
active: 1
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
content:
|
|
|
|
|
|
type: tab
|
|
|
|
|
|
title: PLUGIN_ADMIN.CONTENT
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
frontmatter:
|
|
|
|
|
|
classes: frontmatter
|
|
|
|
|
|
type: editor
|
|
|
|
|
|
label: PLUGIN_ADMIN.FRONTMATTER
|
|
|
|
|
|
autofocus: true
|
|
|
|
|
|
codemirror:
|
|
|
|
|
|
mode: 'yaml'
|
|
|
|
|
|
indentUnit: 4
|
|
|
|
|
|
autofocus: true
|
|
|
|
|
|
indentWithTabs: false
|
|
|
|
|
|
lineNumbers: true
|
|
|
|
|
|
styleActiveLine: true
|
|
|
|
|
|
gutters: ['CodeMirror-lint-markers']
|
|
|
|
|
|
lint: true
|
|
|
|
|
|
|
|
|
|
|
|
content:
|
|
|
|
|
|
type: markdown
|
|
|
|
|
|
|
2017-10-19 18:02:18 -04:00
|
|
|
|
header.media_order:
|
2016-05-13 19:02:39 +02:00
|
|
|
|
type: pagemedia
|
|
|
|
|
|
label: PLUGIN_ADMIN.PAGE_MEDIA
|
|
|
|
|
|
|
|
|
|
|
|
options:
|
|
|
|
|
|
type: tab
|
|
|
|
|
|
title: PLUGIN_ADMIN.OPTIONS
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
|
|
|
|
|
|
columns:
|
|
|
|
|
|
type: columns
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
column1:
|
|
|
|
|
|
type: column
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
|
|
|
|
|
|
ordering:
|
|
|
|
|
|
type: toggle
|
|
|
|
|
|
label: PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX
|
|
|
|
|
|
help: PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP
|
|
|
|
|
|
highlight: 1
|
|
|
|
|
|
options:
|
|
|
|
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
|
|
|
|
validate:
|
|
|
|
|
|
type: bool
|
|
|
|
|
|
|
|
|
|
|
|
folder:
|
|
|
|
|
|
type: text
|
|
|
|
|
|
label: PLUGIN_ADMIN.FOLDER_NAME
|
|
|
|
|
|
help: PLUGIN_ADMIN.FOLDER_NAME_HELP
|
|
|
|
|
|
validate:
|
2017-02-17 15:28:03 +01:00
|
|
|
|
rule: slug
|
2016-05-13 19:02:39 +02:00
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
|
|
route:
|
2017-04-10 15:07:14 -06:00
|
|
|
|
type: parents
|
2016-05-13 19:02:39 +02:00
|
|
|
|
label: PLUGIN_ADMIN.PARENT
|
|
|
|
|
|
classes: fancy
|
2017-04-10 15:07:14 -06:00
|
|
|
|
validate:
|
|
|
|
|
|
required: true
|
2016-05-13 19:02:39 +02:00
|
|
|
|
|
|
|
|
|
|
name:
|
|
|
|
|
|
type: select
|
|
|
|
|
|
classes: fancy
|
|
|
|
|
|
label: PLUGIN_ADMIN.DISPLAY_TEMPLATE
|
|
|
|
|
|
help: PLUGIN_ADMIN.DISPLAY_TEMPLATE_HELP
|
|
|
|
|
|
default: default
|
2017-06-27 20:43:12 +02:00
|
|
|
|
data-options@: '\Grav\Plugin\AdminPlugin::pagesTypes'
|
2016-05-13 19:02:39 +02:00
|
|
|
|
validate:
|
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
|
|
column2:
|
|
|
|
|
|
type: column
|
|
|
|
|
|
|
|
|
|
|
|
fields:
|
|
|
|
|
|
order:
|
|
|
|
|
|
type: order
|
|
|
|
|
|
label: PLUGIN_ADMIN.ORDERING
|
|
|
|
|
|
|
|
|
|
|
|
blueprint:
|
|
|
|
|
|
type: blueprint
|