72 lines
2.7 KiB
YAML
Executable File
72 lines
2.7 KiB
YAML
Executable File
tabs:
|
|
fields:
|
|
|
|
# Tab: Client Configuration
|
|
application_name:
|
|
label: 'nicost.gcalendar::lang.settings.fields.applicationName.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.client'
|
|
type: text
|
|
comment: 'nicost.gcalendar::lang.settings.fields.applicationName.comment'
|
|
span: left
|
|
client_id:
|
|
label: 'nicost.gcalendar::lang.settings.fields.clientId.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.client'
|
|
type: text
|
|
comment: 'nicost.gcalendar::lang.settings.fields.clientId.comment'
|
|
span: left
|
|
required: true
|
|
client_secret:
|
|
label: 'nicost.gcalendar::lang.settings.fields.clientSecret.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.client'
|
|
type: text
|
|
comment: 'nicost.gcalendar::lang.settings.fields.clientSecret.comment'
|
|
span: left
|
|
required: true
|
|
google_oauth:
|
|
label: 'nicost.gcalendar::lang.settings.fields.section.accessToken'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.client'
|
|
type: section
|
|
request_access_token:
|
|
tab: 'nicost.gcalendar::lang.settings.tab.client'
|
|
type: NicoSt\GCalendar\FormWidgets\OAuth
|
|
|
|
# Tab: Calendars
|
|
calendar_selector:
|
|
tab: 'nicost.gcalendar::lang.settings.tab.calendars'
|
|
type: NicoSt\GCalendar\FormWidgets\CalendarSelector
|
|
|
|
# Tab: Settings
|
|
cache_control:
|
|
label: 'nicost.gcalendar::lang.settings.fields.section.cacheControl'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
type: section
|
|
cache_time:
|
|
label: 'nicost.gcalendar::lang.settings.fields.cacheTime.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
comment: 'nicost.gcalendar::lang.settings.fields.cacheTime.comment'
|
|
type: number
|
|
span: left
|
|
default: 15
|
|
clear_cache:
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
type: NicoSt\GCalendar\FormWidgets\ClearCacheButton
|
|
notification:
|
|
label: 'nicost.gcalendar::lang.settings.fields.section.notification'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
type: section
|
|
notification_show:
|
|
label: 'nicost.gcalendar::lang.settings.fields.notification.switch.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
type: switch
|
|
on: nicost.gcalendar::lang.settings.fields.notification.switch.on
|
|
off: nicost.gcalendar::lang.settings.fields.notification.switch.off
|
|
notification_text:
|
|
label: 'nicost.gcalendar::lang.settings.fields.notification.text.label'
|
|
tab: 'nicost.gcalendar::lang.settings.tab.settings'
|
|
type: richeditor
|
|
size: huge
|
|
toolbarButtons: bold|italic|underline||insertLink||undo|redo||html
|
|
trigger:
|
|
action: show
|
|
field: notification_show
|
|
condition: checked |