2020-05-24 17:14:41 -07:00
|
|
|
<template>
|
2020-05-26 13:58:55 -07:00
|
|
|
<tab-switcher
|
|
|
|
ref="tabSwitcher"
|
|
|
|
class="settings_tab-switcher"
|
|
|
|
:side-tab-bar="true"
|
|
|
|
:scrollable-tabs="true"
|
2021-04-18 05:39:06 -07:00
|
|
|
:body-scroll-lock="bodyLock"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<div
|
|
|
|
:label="$t('settings.general')"
|
|
|
|
icon="wrench"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="general"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<GeneralTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.profile_tab')"
|
|
|
|
icon="user"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="profile"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<ProfileTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.security_tab')"
|
|
|
|
icon="lock"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="security"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<SecurityTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
:label="$t('settings.filtering')"
|
|
|
|
icon="filter"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="filtering"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<FilteringTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
:label="$t('settings.theme')"
|
2020-10-20 12:54:43 -07:00
|
|
|
icon="paint-brush"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="theme"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<ThemeTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.notifications')"
|
2020-10-20 12:54:43 -07:00
|
|
|
icon="bell"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="notifications"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<NotificationsTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.data_import_export_tab')"
|
|
|
|
icon="download"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="dataImportExport"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<DataImportExportTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.mutes_and_blocks')"
|
|
|
|
:fullHeight="true"
|
2020-10-20 12:54:43 -07:00
|
|
|
icon="eye-slash"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="mutesAndBlocks"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<MutesAndBlocksTab />
|
2020-05-24 17:14:41 -07:00
|
|
|
</div>
|
2020-05-26 13:58:55 -07:00
|
|
|
<div
|
|
|
|
:label="$t('settings.version.title')"
|
2020-10-20 12:54:43 -07:00
|
|
|
icon="info"
|
2020-09-03 05:45:13 -07:00
|
|
|
data-tab-name="version"
|
2020-05-26 14:02:36 -07:00
|
|
|
>
|
2020-05-26 13:58:55 -07:00
|
|
|
<VersionTab />
|
2020-05-24 17:14:41 -07:00
|
|
|
</div>
|
2020-05-26 13:58:55 -07:00
|
|
|
</tab-switcher>
|
2020-05-24 17:14:41 -07:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./settings_modal_content.js"></script>
|
|
|
|
|
|
|
|
<style src="./settings_modal_content.scss" lang="scss"></style>
|