owntone-server/web-src/src/pages/SettingsPageArtwork.vue

58 lines
2.1 KiB
Vue
Raw Normal View History

<template>
2022-02-19 06:18:01 +01:00
<div class="fd-page-with-tabs">
<tabs-settings />
<content-with-heading>
<template #heading-left>
2022-05-20 13:44:22 +02:00
<div class="title is-4" v-text="$t('page.settings.artwork.artwork')" />
</template>
<template #content>
2022-05-20 13:44:22 +02:00
<div class="content" v-text="$t('page.settings.artwork.explanation-1')" />
<div class="content" v-text="$t('page.settings.artwork.explanation-2')" />
<settings-checkbox v-if="spotify.libspotify_logged_in" category_name="artwork" option_name="use_artwork_source_spotify">
<template #label>
<span v-text="$t('page.settings.artwork.spotify')" />
<a href="https://www.spotify.com/" target="_blank">
<mdicon class="icon" name="open-in-new" size="16" />
</a>
</template>
</settings-checkbox>
2022-05-20 13:44:22 +02:00
<settings-checkbox category_name="artwork" option_name="use_artwork_source_discogs">
<template #label>
2022-05-20 13:44:22 +02:00
<span v-text="$t('page.settings.artwork.discogs')" />
<a href="https://www.discogs.com/" target="_blank">
<mdicon class="icon" name="open-in-new" size="16" />
</a>
</template>
</settings-checkbox>
2022-05-20 13:44:22 +02:00
<settings-checkbox category_name="artwork" option_name="use_artwork_source_coverartarchive">
<template #label>
2022-05-20 13:44:22 +02:00
<span v-text="$t('page.settings.artwork.coverartarchive')" />
<a href="https://coverartarchive.org/" target="_blank">
<mdicon class="icon" name="open-in-new" size="16" />
</a>
</template>
</settings-checkbox>
</template>
</content-with-heading>
</div>
</template>
<script>
2022-02-19 06:18:01 +01:00
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
import TabsSettings from '@/components/TabsSettings.vue'
import SettingsCheckbox from '@/components/SettingsCheckbox.vue'
export default {
name: 'SettingsPageArtwork',
components: { ContentWithHeading, TabsSettings, SettingsCheckbox },
computed: {
spotify() {
return this.$store.state.spotify
}
}
}
</script>
<style></style>