diff --git a/src/components/MoviesList.vue b/src/components/MoviesList.vue deleted file mode 100644 index 9f5425d..0000000 --- a/src/components/MoviesList.vue +++ /dev/null @@ -1,386 +0,0 @@ - - - - diff --git a/src/components/Register.vue b/src/components/Register.vue index 508a606..c131456 100644 --- a/src/components/Register.vue +++ b/src/components/Register.vue @@ -2,12 +2,13 @@

Register new user

- - - + + + + + Register @@ -18,29 +19,26 @@ + + + \ No newline at end of file diff --git a/src/components/Settings.vue b/src/components/Settings.vue index 14bf5af..58e9f98 100644 --- a/src/components/Settings.vue +++ b/src/components/Settings.vue @@ -6,22 +6,24 @@ Sign in to your plex account to get information about recently added movies and to see your watch history
- - + + link plex account + +

Change password

- - + + + change password @@ -45,11 +47,12 @@ import storage from '@/storage.js' import SeasonedInput from '@/components/ui/SeasonedInput.vue' import SeasonedButton from '@/components/ui/SeasonedButton.vue' +import SeasonedMessages from '@/components/ui/SeasonedMessages.vue' import { plexAuthenticate } from '@/api.js' export default { - components: { SeasonedInput, SeasonedButton }, + components: { SeasonedInput, SeasonedButton, SeasonedMessages }, data(){ return{ userLoggedIn: '', @@ -73,11 +76,12 @@ export default { plexAuthenticate(username, password) .then((resp) => { - let data = resp.data; - console.log('response from plex:', data.user) + let data = resp.data; + this.messages.push({ type: 'success', title: 'Authenticated with plex', message: 'Successfully linked plex account with seasoned request' }) + // console.log('response from plex:', data.user) }) .catch((error) => { - console.log('error: ', error) + this.messages.push({ type: 'error', title: 'Something went wrong', message: error.message }) }) } }, diff --git a/src/components/Signin.vue b/src/components/Signin.vue index 46637e2..f8ce176 100644 --- a/src/components/Signin.vue +++ b/src/components/Signin.vue @@ -2,10 +2,8 @@

Sign in

- - + + sign in diff --git a/src/components/TorrentList.vue b/src/components/TorrentList.vue index 1321560..bea1b3f 100644 --- a/src/components/TorrentList.vue +++ b/src/components/TorrentList.vue @@ -75,7 +75,7 @@
- +
diff --git a/src/components/ui/SeasonedInput.vue b/src/components/ui/SeasonedInput.vue index ff43fb3..8946682 100644 --- a/src/components/ui/SeasonedInput.vue +++ b/src/components/ui/SeasonedInput.vue @@ -1,29 +1,37 @@