mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-05 18:23:48 +00:00
77 lines
2.3 KiB
Vue
77 lines
2.3 KiB
Vue
<template>
|
|
<section id="viewport">
|
|
|
|
<ContentSidebar>
|
|
|
|
<!--User Headline-->
|
|
<UserHeadline class="user-headline"/>
|
|
|
|
<!--Locations-->
|
|
<ContentGroup title="Menu" class="navigator">
|
|
<div class="menu-list-wrapper">
|
|
<router-link :to="{name: 'Profile'}" class="menu-list-item link">
|
|
<div class="icon">
|
|
<user-icon size="17"></user-icon>
|
|
</div>
|
|
<div class="label">
|
|
{{ $t('menu.profile') }}
|
|
</div>
|
|
</router-link>
|
|
<router-link :to="{name: 'Password'}" class="menu-list-item link">
|
|
<div class="icon">
|
|
<lock-icon size="17"></lock-icon>
|
|
</div>
|
|
<div class="label">
|
|
{{ $t('menu.password') }}
|
|
</div>
|
|
</router-link>
|
|
<router-link v-if="config.storageLimit" :to="{name: 'Storage'}" class="menu-list-item link">
|
|
<div class="icon">
|
|
<hard-drive-icon size="17"></hard-drive-icon>
|
|
</div>
|
|
<div class="label">
|
|
{{ $t('menu.storage') }}
|
|
</div>
|
|
</router-link>
|
|
</div>
|
|
</ContentGroup>
|
|
</ContentSidebar>
|
|
|
|
<router-view/>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import ContentSidebar from '@/components/Sidebar/ContentSidebar'
|
|
import ContentGroup from '@/components/Sidebar/ContentGroup'
|
|
import UserHeadline from '@/components/Sidebar/UserHeadline'
|
|
import { mapGetters } from 'vuex'
|
|
import {
|
|
HardDriveIcon,
|
|
UserIcon,
|
|
LockIcon,
|
|
} from 'vue-feather-icons'
|
|
|
|
export default {
|
|
name: 'Settings',
|
|
computed: {
|
|
...mapGetters(['config']),
|
|
},
|
|
components: {
|
|
ContentSidebar,
|
|
HardDriveIcon,
|
|
UserHeadline,
|
|
ContentGroup,
|
|
UserIcon,
|
|
LockIcon,
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.user-headline {
|
|
margin-bottom: 38px;
|
|
}
|
|
</style>
|