2020-05-25 00:14:41 +00:00
|
|
|
<template>
|
2020-05-26 20:58:55 +00:00
|
|
|
<tab-switcher
|
|
|
|
ref="tabSwitcher"
|
|
|
|
class="settings_tab-switcher"
|
|
|
|
:side-tab-bar="true"
|
|
|
|
:scrollable-tabs="true"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
:label="$t('settings.general')"
|
|
|
|
icon="wrench"
|
|
|
|
>
|
|
|
|
<GeneralTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.profile_tab')"
|
|
|
|
icon="user"
|
|
|
|
>
|
|
|
|
<ProfileTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.security_tab')"
|
|
|
|
icon="lock"
|
|
|
|
>
|
|
|
|
<SecurityTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
:label="$t('settings.filtering')"
|
|
|
|
icon="filter"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-26 20:58:55 +00:00
|
|
|
<FilteringTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
:label="$t('settings.theme')"
|
|
|
|
icon="brush"
|
|
|
|
>
|
|
|
|
<ThemeTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.notifications')"
|
|
|
|
icon="chat"
|
|
|
|
>
|
|
|
|
<NotificationsTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.data_import_export_tab')"
|
|
|
|
icon="download"
|
|
|
|
>
|
|
|
|
<DataImportExportTab />
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
:label="$t('settings.mutes_and_blocks')"
|
|
|
|
:fullHeight="true"
|
|
|
|
class="full-height"
|
|
|
|
icon="eye-off"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-26 20:58:55 +00:00
|
|
|
<MutesAndBlocksTab />
|
2020-05-25 00:14:41 +00:00
|
|
|
</div>
|
2020-05-26 20:58:55 +00:00
|
|
|
<div
|
|
|
|
:label="$t('settings.version.title')"
|
|
|
|
icon="info-circled"
|
2020-05-25 00:43:55 +00:00
|
|
|
>
|
2020-05-26 20:58:55 +00:00
|
|
|
<VersionTab />
|
2020-05-25 00:14:41 +00:00
|
|
|
</div>
|
2020-05-26 20:58:55 +00:00
|
|
|
</tab-switcher>
|
2020-05-25 00:14:41 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./settings_modal_content.js"></script>
|
|
|
|
|
|
|
|
<style src="./settings_modal_content.scss" lang="scss"></style>
|