2019-07-07 02:22:56 -04:00
|
|
|
<template>
|
2022-02-19 00:18:01 -05:00
|
|
|
<div class="fd-page-with-tabs">
|
2022-02-19 00:39:14 -05:00
|
|
|
<tabs-settings />
|
2019-07-07 02:22:56 -04:00
|
|
|
|
2020-01-04 12:53:27 -05:00
|
|
|
<content-with-heading>
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #heading-left>
|
2020-08-23 02:52:46 -04:00
|
|
|
<div class="title is-4">Navbar items</div>
|
|
|
|
</template>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #content>
|
|
|
|
<p class="content">Select the top navigation bar menu items</p>
|
2020-08-23 02:52:46 -04:00
|
|
|
<div class="notification is-size-7">
|
2022-02-19 00:39:14 -05: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>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_playlists"
|
|
|
|
>
|
|
|
|
<template #label> Playlists </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_music"
|
|
|
|
>
|
|
|
|
<template #label> Music </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_podcasts"
|
|
|
|
>
|
|
|
|
<template #label> Podcasts </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_audiobooks"
|
|
|
|
>
|
|
|
|
<template #label> Audiobooks </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_radio"
|
|
|
|
>
|
|
|
|
<template #label> Radio </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_files"
|
|
|
|
>
|
|
|
|
<template #label> Files </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_menu_item_search"
|
|
|
|
>
|
|
|
|
<template #label> Search </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
|
|
|
</template>
|
|
|
|
</content-with-heading>
|
|
|
|
|
|
|
|
<content-with-heading>
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #heading-left>
|
2020-08-23 02:52:46 -04:00
|
|
|
<div class="title is-4">Album lists</div>
|
|
|
|
</template>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #content>
|
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_cover_artwork_in_album_lists"
|
|
|
|
>
|
|
|
|
<template #label> Show cover artwork in album list </template>
|
2020-08-23 02:52:46 -04:00
|
|
|
</settings-checkbox>
|
|
|
|
</template>
|
|
|
|
</content-with-heading>
|
|
|
|
|
|
|
|
<content-with-heading>
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #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
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #content>
|
|
|
|
<settings-checkbox
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_composer_now_playing"
|
|
|
|
>
|
|
|
|
<template #label> Show composer </template>
|
|
|
|
<template #info>
|
|
|
|
If enabled the composer of the current playing track is shown on the
|
|
|
|
"now playing page"
|
|
|
|
</template>
|
2020-03-14 09:13:37 -04:00
|
|
|
</settings-checkbox>
|
2022-02-19 00:39:14 -05:00
|
|
|
<settings-textfield
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="show_composer_for_genre"
|
|
|
|
:disabled="!settings_option_show_composer_now_playing"
|
|
|
|
placeholder="Genres"
|
|
|
|
>
|
|
|
|
<template #label> Show composer only for listed genres </template>
|
|
|
|
<template #info>
|
2020-01-04 12:53:27 -05:00
|
|
|
<p class="help">
|
2022-02-19 00:39:14 -05:00
|
|
|
Comma separated list of genres the composer should be displayed on
|
|
|
|
the "now playing page".
|
2020-01-04 12:53:27 -05:00
|
|
|
</p>
|
2022-02-19 00:39:14 -05:00
|
|
|
<p class="help">Leave empty to always show the composer.</p>
|
2020-01-04 12:53:27 -05:00
|
|
|
<p class="help">
|
2022-02-19 00:39:14 -05:00
|
|
|
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 />
|
2020-01-04 12:53:27 -05:00
|
|
|
</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>
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #heading-left>
|
2021-01-10 05:36:31 -05:00
|
|
|
<div class="title is-4">Recently added page</div>
|
2020-12-01 10:58:40 -05:00
|
|
|
</template>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<template #content>
|
|
|
|
<settings-intfield
|
|
|
|
category_name="webinterface"
|
|
|
|
option_name="recently_added_limit"
|
|
|
|
>
|
|
|
|
<template #label>
|
|
|
|
Limit the number of albums shown on the "Recently Added" page
|
|
|
|
</template>
|
2020-12-01 10:58:40 -05:00
|
|
|
</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>
|
2022-02-19 00:18:01 -05:00
|
|
|
import ContentWithHeading from '@/templates/ContentWithHeading.vue'
|
|
|
|
import TabsSettings from '@/components/TabsSettings.vue'
|
|
|
|
import SettingsCheckbox from '@/components/SettingsCheckbox.vue'
|
|
|
|
import SettingsTextfield from '@/components/SettingsTextfield.vue'
|
|
|
|
import SettingsIntfield from '@/components/SettingsIntfield.vue'
|
2019-07-07 02:22:56 -04:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'SettingsPageWebinterface',
|
2022-02-19 00:39:14 -05:00
|
|
|
components: {
|
|
|
|
ContentWithHeading,
|
|
|
|
TabsSettings,
|
|
|
|
SettingsCheckbox,
|
|
|
|
SettingsTextfield,
|
|
|
|
SettingsIntfield
|
|
|
|
},
|
2019-07-07 02:22:56 -04:00
|
|
|
|
|
|
|
computed: {
|
2022-02-19 00:39:14 -05:00
|
|
|
settings_option_show_composer_now_playing() {
|
2019-07-07 02:22:56 -04:00
|
|
|
return this.$store.getters.settings_option_show_composer_now_playing
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<style></style>
|