mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-12-14 01:18:49 +00:00
39 lines
892 B
Vue
39 lines
892 B
Vue
<template>
|
|
<v-container fill-height>
|
|
<v-row align="center" justify="center">
|
|
<v-col md="4">
|
|
<h1 class="text-h4 mb-6 text-center">{{ $t('selectServer') }}</h1>
|
|
<div v-if="$store.state.servers.serverList">
|
|
<server-card
|
|
v-for="server in $store.state.servers.serverList"
|
|
:key="server.publicInfo.Id"
|
|
:server-info="server"
|
|
></server-card>
|
|
</div>
|
|
<add-server-form />
|
|
</v-col>
|
|
</v-row>
|
|
</v-container>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
import { mapActions } from 'vuex';
|
|
|
|
export default Vue.extend({
|
|
layout: 'fullpage',
|
|
auth: false,
|
|
head() {
|
|
return {
|
|
title: this.$store.state.page.title
|
|
};
|
|
},
|
|
created() {
|
|
this.setPageTitle({ title: this.$t('selectServer') });
|
|
},
|
|
methods: {
|
|
...mapActions('page', ['setPageTitle'])
|
|
}
|
|
});
|
|
</script>
|