mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-18 19:06:45 +02:00
Add headings to App Setup view
This commit is contained in:
parent
f398768f4e
commit
444b110c05
@ -36,14 +36,13 @@
|
|||||||
<FormWrapper>
|
<FormWrapper>
|
||||||
<form>
|
<form>
|
||||||
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.general') }}</h4>
|
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.general') }}</h4>
|
||||||
<div class="block has-text-grey">
|
|
||||||
<p class="mb-2">{{ $t('admin.administration_legend') }}</p>
|
|
||||||
</div>
|
|
||||||
<!-- Check for update -->
|
<!-- Check for update -->
|
||||||
<FormCheckbox v-model="appSettings.checkForUpdate" @update:model-value="val => saveSetting('checkForUpdate', val)" fieldName="checkForUpdate" label="commons.check_for_update" help="commons.check_for_update_help" />
|
<FormCheckbox v-model="appSettings.checkForUpdate" @update:model-value="val => saveSetting('checkForUpdate', val)" fieldName="checkForUpdate" label="commons.check_for_update" help="commons.check_for_update_help" />
|
||||||
<VersionChecker />
|
<VersionChecker />
|
||||||
|
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('settings.security') }}</h4>
|
||||||
<!-- protect db -->
|
<!-- protect db -->
|
||||||
<FormCheckbox v-model="appSettings.useEncryption" @update:model-value="val => saveSetting('useEncryption', val)" fieldName="useEncryption" label="admin.forms.use_encryption.label" help="admin.forms.use_encryption.help" />
|
<FormCheckbox v-model="appSettings.useEncryption" @update:model-value="val => saveSetting('useEncryption', val)" fieldName="useEncryption" label="admin.forms.use_encryption.label" help="admin.forms.use_encryption.help" />
|
||||||
|
<h4 class="title is-4 pt-4 has-text-grey-light">{{ $t('admin.registrations') }}</h4>
|
||||||
<!-- disable registration -->
|
<!-- disable registration -->
|
||||||
<FormCheckbox v-model="appSettings.disableRegistration" @update:model-value="val => saveSetting('disableRegistration', val)" fieldName="disableRegistration" label="admin.forms.disable_registration.label" help="admin.forms.disable_registration.help" />
|
<FormCheckbox v-model="appSettings.disableRegistration" @update:model-value="val => saveSetting('disableRegistration', val)" fieldName="disableRegistration" label="admin.forms.disable_registration.label" help="admin.forms.disable_registration.help" />
|
||||||
<!-- disable SSO registration -->
|
<!-- disable SSO registration -->
|
||||||
|
@ -15,6 +15,7 @@ return [
|
|||||||
|
|
||||||
'admin' => 'Admin',
|
'admin' => 'Admin',
|
||||||
'app_setup' => 'App setup',
|
'app_setup' => 'App setup',
|
||||||
|
'registrations' => 'Registrations',
|
||||||
'users' => 'Users',
|
'users' => 'Users',
|
||||||
'users_legend' => 'Manage users registered on your instance or create new ones.',
|
'users_legend' => 'Manage users registered on your instance or create new ones.',
|
||||||
'admin_settings' => 'Admin settings',
|
'admin_settings' => 'Admin settings',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user