From 26e6459959bee550881d05f66362a0f9844c7172 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 21 Feb 2018 00:05:33 +0100 Subject: [PATCH] Request form component --- front/src/components/library/Home.vue | 10 ++- front/src/components/requests/Form.vue | 113 +++++++++++++++++++++++++ 2 files changed, 121 insertions(+), 2 deletions(-) create mode 100644 front/src/components/requests/Form.vue diff --git a/front/src/components/library/Home.vue b/front/src/components/library/Home.vue index cdcbe4b72..e4e22fc09 100644 --- a/front/src/components/library/Home.vue +++ b/front/src/components/library/Home.vue @@ -4,7 +4,7 @@
-
+

Latest artists

@@ -18,6 +18,10 @@
+
+

Music requests

+ +
@@ -30,6 +34,7 @@ import backend from '@/audio/backend' import logger from '@/logging' import ArtistCard from '@/components/audio/artist/Card' import RadioCard from '@/components/radios/Card' +import RequestForm from '@/components/requests/Form' const ARTISTS_URL = 'artists/' @@ -38,7 +43,8 @@ export default { components: { Search, ArtistCard, - RadioCard + RadioCard, + RequestForm }, data () { return { diff --git a/front/src/components/requests/Form.vue b/front/src/components/requests/Form.vue new file mode 100644 index 000000000..22d47d79c --- /dev/null +++ b/front/src/components/requests/Form.vue @@ -0,0 +1,113 @@ + + + + +