2022-06-15 13:25:51 +00:00
|
|
|
<template>
|
|
|
|
<div class="mainContainer pt-1">
|
|
|
|
<v-card flat class="pb-5 background" :class="$vuetify.theme.dark ? 'lighten-1' : 'darken-1'" :style="{borderRadius: `${roundTweak / 2}rem`}">
|
2022-06-15 14:03:25 +00:00
|
|
|
<v-card-title>{{ lang.mods.general.language }}</v-card-title>
|
2022-06-15 13:25:51 +00:00
|
|
|
<v-card-text>
|
|
|
|
<v-select v-model="page" background-color="background" :items="pages" label="Default Page" solo></v-select>
|
|
|
|
</v-card-text>
|
|
|
|
</v-card>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
|
|
|
|
computed: {
|
|
|
|
roundTweak() {
|
|
|
|
return this.$store.state.tweaks.roundTweak;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
page: "home",
|
|
|
|
langs: [],
|
|
|
|
lang: { mods: { startup: {} } }
|
|
|
|
};
|
|
|
|
},
|
|
|
|
|
|
|
|
watch: {
|
|
|
|
page: function (newVal) {
|
|
|
|
localStorage.setItem("startPage", newVal);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
this.langs = this.$lang(null, true);
|
|
|
|
|
|
|
|
const lang = this.$lang(); this.lang = lang;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.v-card {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
padding: 0 1em 1em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|