From a0cf9560a4c8c6ca56f926d65cb8ebfb9401f3bd Mon Sep 17 00:00:00 2001 From: chme Date: Sat, 14 Mar 2020 14:13:37 +0100 Subject: [PATCH] [web-src] Add settings page for artwork providers --- web-src/src/components/SettingsCheckbox.vue | 113 ++++++++++++ web-src/src/components/SettingsTextfield.vue | 117 ++++++++++++ web-src/src/components/TabsSettings.vue | 5 + web-src/src/pages/SettingsPageArtwork.vue | 50 +++++ .../src/pages/SettingsPageWebinterface.vue | 172 ++---------------- web-src/src/router/index.js | 6 + 6 files changed, 305 insertions(+), 158 deletions(-) create mode 100644 web-src/src/components/SettingsCheckbox.vue create mode 100644 web-src/src/components/SettingsTextfield.vue create mode 100644 web-src/src/pages/SettingsPageArtwork.vue diff --git a/web-src/src/components/SettingsCheckbox.vue b/web-src/src/components/SettingsCheckbox.vue new file mode 100644 index 00000000..90a333b5 --- /dev/null +++ b/web-src/src/components/SettingsCheckbox.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/web-src/src/components/SettingsTextfield.vue b/web-src/src/components/SettingsTextfield.vue new file mode 100644 index 00000000..50f94997 --- /dev/null +++ b/web-src/src/components/SettingsTextfield.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/web-src/src/components/TabsSettings.vue b/web-src/src/components/TabsSettings.vue index be78f900..389ae68b 100644 --- a/web-src/src/components/TabsSettings.vue +++ b/web-src/src/components/TabsSettings.vue @@ -15,6 +15,11 @@ Remotes & Outputs + + + Artwork + + Online Services diff --git a/web-src/src/pages/SettingsPageArtwork.vue b/web-src/src/pages/SettingsPageArtwork.vue new file mode 100644 index 00000000..5be4c25c --- /dev/null +++ b/web-src/src/pages/SettingsPageArtwork.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/web-src/src/pages/SettingsPageWebinterface.vue b/web-src/src/pages/SettingsPageWebinterface.vue index 115f961a..47cdcb44 100644 --- a/web-src/src/pages/SettingsPageWebinterface.vue +++ b/web-src/src/pages/SettingsPageWebinterface.vue @@ -8,36 +8,15 @@ @@ -59,140 +38,17 @@ diff --git a/web-src/src/router/index.js b/web-src/src/router/index.js index 7b6d3f8b..6b4d6319 100644 --- a/web-src/src/router/index.js +++ b/web-src/src/router/index.js @@ -32,6 +32,7 @@ import SpotifyPageAlbum from '@/pages/SpotifyPageAlbum' import SpotifyPagePlaylist from '@/pages/SpotifyPagePlaylist' import SpotifyPageSearch from '@/pages/SpotifyPageSearch' import SettingsPageWebinterface from '@/pages/SettingsPageWebinterface' +import SettingsPageArtwork from '@/pages/SettingsPageArtwork' import SettingsPageOnlineServices from '@/pages/SettingsPageOnlineServices' import SettingsPageRemotesOutputs from '@/pages/SettingsPageRemotesOutputs' @@ -225,6 +226,11 @@ export const router = new VueRouter({ name: 'Settings Webinterface', component: SettingsPageWebinterface }, + { + path: '/settings/artwork', + name: 'Settings Artwork', + component: SettingsPageArtwork + }, { path: '/settings/online-services', name: 'Settings Online Services',