2020-02-18 08:57:00 +01:00
|
|
|
<template>
|
|
|
|
<aside class="section container">
|
|
|
|
<h1 class="title">{{ $t("Settings") }}</h1>
|
|
|
|
<div class="columns">
|
2020-06-25 11:36:35 +02:00
|
|
|
<aside class="column is-one-quarter-desktop">
|
|
|
|
<ul>
|
2020-11-30 10:24:11 +01:00
|
|
|
<SettingMenuSection
|
|
|
|
:title="$t('Settings')"
|
|
|
|
:to="{ name: RouteName.GROUP_SETTINGS }"
|
|
|
|
>
|
2020-06-25 11:36:35 +02:00
|
|
|
<SettingMenuItem
|
|
|
|
:title="this.$t('Public')"
|
|
|
|
:to="{ name: RouteName.GROUP_PUBLIC_SETTINGS }"
|
|
|
|
/>
|
|
|
|
<SettingMenuItem
|
|
|
|
:title="this.$t('Members')"
|
|
|
|
:to="{ name: RouteName.GROUP_MEMBERS_SETTINGS }"
|
|
|
|
/>
|
|
|
|
</SettingMenuSection>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
2020-02-18 08:57:00 +01:00
|
|
|
<div class="column">
|
|
|
|
<router-view />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</aside>
|
|
|
|
</template>
|
|
|
|
<script lang="ts">
|
2020-10-09 15:26:37 +02:00
|
|
|
import { Component } from "vue-property-decorator";
|
|
|
|
import { mixins } from "vue-class-component";
|
|
|
|
import GroupMixin from "@/mixins/group";
|
2020-02-18 08:57:00 +01:00
|
|
|
import RouteName from "../../router/name";
|
2020-06-25 11:36:35 +02:00
|
|
|
import SettingMenuSection from "../../components/Settings/SettingMenuSection.vue";
|
|
|
|
import SettingMenuItem from "../../components/Settings/SettingMenuItem.vue";
|
2020-02-18 08:57:00 +01:00
|
|
|
|
|
|
|
@Component({
|
2020-06-25 11:36:35 +02:00
|
|
|
components: { SettingMenuSection, SettingMenuItem },
|
2020-02-18 08:57:00 +01:00
|
|
|
})
|
2020-10-09 15:26:37 +02:00
|
|
|
export default class Settings extends mixins(GroupMixin) {
|
2020-02-18 08:57:00 +01:00
|
|
|
RouteName = RouteName;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
aside.section {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|