el-main
//- select timezone
div {{$t('admin.select_instance_timezone')}}
el-select(v-model='instance_timezone' filterable
@input.native='queryTz=$event.target.value' @change='queryTz=""'
default-first-option placeholder='Timezone, type to search')
el-option(v-for='timezone in filteredTimezones' :key='timezone.value' :value='timezone.value')
span.float-left {{timezone.value}}
small.float-right.text-danger {{timezone.offset}}
div.mt-4 {{$t('admin.instance_locale')}}
el-select(v-model='instance_locale')
el-option(v-for='locale in Object.keys(locales)' :key='locale' :label='locales[locale]' :value='locale')
div.mt-4 {{$t('common.title')}}
el-input(v-model='title' @blur='save("title", title)')
div.mt-4 {{$t('common.description')}}
el-input(v-model='description' @blur='save("description", description)')
div.mt-4 {{$t('admin.favicon')}}
el-upload(ref='upload' :action='`${settings.baseurl}/api/settings/favicon`'
:limit='1'
name='favicon'
accept='image/*'
:multiple='false')
el-button(slot='trigger' size='small' type='primary') select file
.el-upload__tip(slot='tip') jpg/png files with a size less than 500kb
el-switch.d-block.mt-4(v-model='allow_registration'
:active-text="$t('admin.allow_registration_description')")
el-switch.d-block.mt-4(v-model='allow_anon_event' :active-text="$t('admin.allow_anon_event')")
el-switch.d-block.mt-4(v-model='allow_recurrent_event' :active-text="$t('admin.allow_recurrent_event')")
el-switch.d-block.mt-4(v-if='allow_recurrent_event'
v-model='recurrent_event_visible' :active-text="$t('admin.recurrent_event_visible')")