mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-09 05:53:23 -05:00
106 lines
4.2 KiB
Vue
106 lines
4.2 KiB
Vue
<template>
|
|
<div>
|
|
<tabs-settings></tabs-settings>
|
|
|
|
<content-with-heading>
|
|
<template slot="heading-left">
|
|
<div class="title is-4">Navbar items</div>
|
|
</template>
|
|
|
|
<template slot="content">
|
|
<p class="content">
|
|
Select the top navigation bar menu items
|
|
</p>
|
|
<div class="notification is-size-7">
|
|
If you select more items than can be shown on your screen then the burger menu will disappear.
|
|
</div>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_playlists">
|
|
<template slot="label"> Playlists</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_music">
|
|
<template slot="label"> Music</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_podcasts">
|
|
<template slot="label"> Podcasts</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_audiobooks">
|
|
<template slot="label"> Audiobooks</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_radio">
|
|
<template slot="label"> Radio</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_files">
|
|
<template slot="label"> Files</template>
|
|
</settings-checkbox>
|
|
<settings-checkbox category_name="webinterface" option_name="show_menu_item_search">
|
|
<template slot="label"> Search</template>
|
|
</settings-checkbox>
|
|
</template>
|
|
</content-with-heading>
|
|
|
|
<content-with-heading>
|
|
<template slot="heading-left">
|
|
<div class="title is-4">Album lists</div>
|
|
</template>
|
|
|
|
<template slot="content">
|
|
<settings-checkbox category_name="webinterface" option_name="show_cover_artwork_in_album_lists">
|
|
<template slot="label"> Show cover artwork in album list</template>
|
|
</settings-checkbox>
|
|
</template>
|
|
</content-with-heading>
|
|
|
|
<content-with-heading>
|
|
<template slot="heading-left">
|
|
<div class="title is-4">Now playing page</div>
|
|
</template>
|
|
|
|
<template slot="content">
|
|
<settings-checkbox category_name="webinterface" option_name="show_composer_now_playing">
|
|
<template slot="label"> Show composer</template>
|
|
<template slot="info">If enabled the composer of the current playing track is shown on the "now playing page"</template>
|
|
</settings-checkbox>
|
|
<settings-textfield category_name="webinterface" option_name="show_composer_for_genre"
|
|
:disabled="!settings_option_show_composer_now_playing"
|
|
placeholder="Genres">
|
|
<template slot="label">Show composer only for listed genres</template>
|
|
<template slot="info">
|
|
<p class="help">
|
|
Comma separated list of genres the composer should be displayed on the "now playing page".
|
|
</p>
|
|
<p class="help">
|
|
Leave empty to always show the composer.
|
|
</p>
|
|
<p class="help">
|
|
The genre tag of the current track is matched by checking, if one of the defined genres are included.
|
|
For example setting to <code>classical, soundtrack</code> will show the composer for tracks with
|
|
a genre tag of "Contemporary Classical".<br>
|
|
</p>
|
|
</template>
|
|
</settings-textfield>
|
|
</template>
|
|
</content-with-heading>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import ContentWithHeading from '@/templates/ContentWithHeading'
|
|
import TabsSettings from '@/components/TabsSettings'
|
|
import SettingsCheckbox from '@/components/SettingsCheckbox'
|
|
import SettingsTextfield from '@/components/SettingsTextfield'
|
|
|
|
export default {
|
|
name: 'SettingsPageWebinterface',
|
|
components: { ContentWithHeading, TabsSettings, SettingsCheckbox, SettingsTextfield },
|
|
|
|
computed: {
|
|
settings_option_show_composer_now_playing () {
|
|
return this.$store.getters.settings_option_show_composer_now_playing
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|