formwork/admin/schemes/system.yml

172 lines
5.4 KiB
YAML
Raw Normal View History

2018-06-16 16:41:58 +02:00
section1:
type: header
2018-09-16 21:25:48 +02:00
label: '{{options.system.date-and-time}}'
2018-06-16 16:41:58 +02:00
rows1:
type: rows
fields:
row1:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.date-and-time.date-format}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
date.format:
type: select
import:
options: 'Formwork\Admin\Utils\DateFormats::date'
row2:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.date-and-time.hour-format}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
date.hour_format:
type: select
import:
options: 'Formwork\Admin\Utils\DateFormats::hour'
row3:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.date-and-time.timezone}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
date.timezone:
type: select
import:
options: 'Formwork\Admin\Utils\DateFormats::timezones'
row4:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.date-and-time.first-weekday}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
date.week_starts:
type: select
options:
2018-09-16 21:25:48 +02:00
0: '{{options.system.date-and-time.first-weekday.sunday}}'
1: '{{options.system.date-and-time.first-weekday.monday}}'
2018-06-16 16:41:58 +02:00
section2:
type: header
2018-09-16 21:25:48 +02:00
label: '{{options.system.files}}'
2018-06-16 16:41:58 +02:00
rows2:
type: rows
fields:
row1:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.files.allowed-extensions}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
files.allowed_extensions:
type: tags
pattern: '^\.[a-zA-Z0-9]+$'
required: true
section3:
type: header
2018-09-16 21:25:48 +02:00
label: '{{options.system.cache}}'
2018-06-16 16:41:58 +02:00
rows3:
type: rows
fields:
row1:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.cache}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
2018-06-16 16:41:58 +02:00
fields:
cache.enabled:
type: togglegroup
options:
2018-09-16 21:25:48 +02:00
1: '{{options.system.cache.enabled}}'
0: '{{options.system.cache.disabled}}'
2018-06-16 16:41:58 +02:00
row2:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.cache.time}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
cache.time:
type: number
min: 0
max: 2592000
step: 86400
required: true
section4:
type: header
2018-09-16 21:25:48 +02:00
label: '{{options.system.admin-panel}}'
2018-06-16 16:41:58 +02:00
rows4:
type: rows
fields:
row1:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.admin-panel.language}}'
2018-06-16 16:41:58 +02:00
column2:
type: column
width: 2-3
fields:
admin.lang:
type: select
translate: false
import:
2018-09-16 21:19:42 +02:00
options: 'Formwork\Admin\Admin::languages'
2018-09-08 18:09:11 +02:00
row2:
type: row
fields:
column1:
type: column
width: 1-3
2018-09-16 21:25:48 +02:00
label: '{{options.system.admin-panel.logout-redirects-to}}'
2018-09-08 18:09:11 +02:00
column2:
type: column
width: 2-3
fields:
admin.logout_redirect:
type: togglegroup
options:
2018-09-16 21:25:48 +02:00
login: '{{options.system.admin-panel.logout-redirects-to.login}}'
home: '{{options.system.admin-panel.logout-redirects-to.home}}'