mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 09:42:43 +01:00
226 lines
7.0 KiB
YAML
Executable File
226 lines
7.0 KiB
YAML
Executable File
section1:
|
|
type: header
|
|
label: '{{options.system.date-and-time}}'
|
|
|
|
rows1:
|
|
type: rows
|
|
fields:
|
|
row1:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.date-and-time.date-format}}'
|
|
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
|
|
label: '{{options.system.date-and-time.hour-format}}'
|
|
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
|
|
label: '{{options.system.date-and-time.timezone}}'
|
|
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
|
|
label: '{{options.system.date-and-time.first-weekday}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
date.week_starts:
|
|
type: select
|
|
options:
|
|
0: '{{options.system.date-and-time.first-weekday.sunday}}'
|
|
1: '{{options.system.date-and-time.first-weekday.monday}}'
|
|
section2:
|
|
type: header
|
|
label: '{{options.system.files}}'
|
|
|
|
rows2:
|
|
type: rows
|
|
fields:
|
|
row1:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.files.allowed-extensions}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
files.allowed_extensions:
|
|
type: tags
|
|
pattern: '^\.[a-zA-Z0-9]+$'
|
|
required: true
|
|
|
|
section3:
|
|
type: header
|
|
label: '{{options.system.cache}}'
|
|
|
|
rows3:
|
|
type: rows
|
|
fields:
|
|
row1:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.cache}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
cache.enabled:
|
|
type: togglegroup
|
|
options:
|
|
1: '{{options.system.cache.enabled}}'
|
|
0: '{{options.system.cache.disabled}}'
|
|
row2:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.cache.time}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
cache.time:
|
|
type: number
|
|
min: 0
|
|
max: 2592000
|
|
step: 86400
|
|
required: true
|
|
|
|
section4:
|
|
type: header
|
|
label: '{{options.system.admin-panel}}'
|
|
|
|
rows4:
|
|
type: rows
|
|
fields:
|
|
row1:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.admin-panel.default-language}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
admin.lang:
|
|
type: select
|
|
translate: false
|
|
import:
|
|
options: 'Formwork\Admin\Language::availableLanguages'
|
|
row2:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.admin-panel.logout-redirects-to}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
admin.logout_redirect:
|
|
type: togglegroup
|
|
options:
|
|
login: '{{options.system.admin-panel.logout-redirects-to.login}}'
|
|
home: '{{options.system.admin-panel.logout-redirects-to.home}}'
|
|
row3:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.admin-panel.session-timeout}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
admin.session_timeout:
|
|
type: number
|
|
min: 0
|
|
required: true
|
|
|
|
section5:
|
|
type: header
|
|
label: '{{options.system.images}}'
|
|
|
|
rows5:
|
|
type: rows
|
|
fields:
|
|
row1:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.images.jpeg-quality}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
images.jpeg_quality:
|
|
type: range
|
|
min: 0
|
|
max: 100
|
|
step: 5
|
|
row2:
|
|
type: row
|
|
fields:
|
|
column1:
|
|
type: column
|
|
width: 1-3
|
|
label: '{{options.system.images.png-compression-level}}'
|
|
column2:
|
|
type: column
|
|
width: 2-3
|
|
fields:
|
|
images.png_compression:
|
|
type: range
|
|
min: 0
|
|
max: 9
|