2019-07-07 02:22:56 -04:00
|
|
|
<template>
|
2020-01-04 12:53:27 -05:00
|
|
|
<div>
|
|
|
|
<tabs-settings></tabs-settings>
|
2019-07-07 02:22:56 -04:00
|
|
|
|
2020-01-04 12:53:27 -05:00
|
|
|
<content-with-heading>
|
|
|
|
<template slot="heading-left">
|
2020-08-23 02:52:46 -04:00
|
|
|
<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">
|
2020-10-18 01:40:48 -04:00
|
|
|
If you select more items than can be shown on your screen then the burger menu will disappear.
|
2020-08-23 02:52:46 -04:00
|
|
|
</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">
|
2020-01-04 12:53:27 -05:00
|
|
|
<div class="title is-4">Now playing page</div>
|
|
|
|
</template>
|
2019-07-07 02:22:56 -04:00
|
|
|
|
2020-01-04 12:53:27 -05:00
|
|
|
<template slot="content">
|
2020-03-14 09:13:37 -04:00
|
|
|
<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">
|
2020-01-04 12:53:27 -05:00
|
|
|
<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>
|
2020-03-14 09:13:37 -04:00
|
|
|
</template>
|
|
|
|
</settings-textfield>
|
2020-01-04 12:53:27 -05:00
|
|
|
</template>
|
|
|
|
</content-with-heading>
|
2020-12-01 10:58:40 -05:00
|
|
|
|
|
|
|
<content-with-heading>
|
|
|
|
<template slot="heading-left">
|
|
|
|
<div class="title is-4">Recently Added</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template slot="content">
|
|
|
|
<settings-intfield category_name="webinterface" option_name="recently_added_limit">
|
|
|
|
<template slot="label"> Limit on number of albums to show on 'Recently Added' page</template>
|
|
|
|
</settings-intfield>
|
|
|
|
</template>
|
|
|
|
</content-with-heading>
|
2020-01-04 12:53:27 -05:00
|
|
|
</div>
|
2019-07-07 02:22:56 -04:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import ContentWithHeading from '@/templates/ContentWithHeading'
|
2020-01-04 12:53:27 -05:00
|
|
|
import TabsSettings from '@/components/TabsSettings'
|
2020-03-14 09:13:37 -04:00
|
|
|
import SettingsCheckbox from '@/components/SettingsCheckbox'
|
|
|
|
import SettingsTextfield from '@/components/SettingsTextfield'
|
2020-12-01 10:58:40 -05:00
|
|
|
import SettingsIntfield from '@/components/SettingsIntfield'
|
2019-07-07 02:22:56 -04:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'SettingsPageWebinterface',
|
2020-12-01 10:58:40 -05:00
|
|
|
components: { ContentWithHeading, TabsSettings, SettingsCheckbox, SettingsTextfield, SettingsIntfield },
|
2019-07-07 02:22:56 -04:00
|
|
|
|
|
|
|
computed: {
|
|
|
|
settings_option_show_composer_now_playing () {
|
|
|
|
return this.$store.getters.settings_option_show_composer_now_playing
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|