diff --git a/client/addPodcast.html b/client/addPodcast.html index 2c8fc7e..962c528 100644 --- a/client/addPodcast.html +++ b/client/addPodcast.html @@ -182,6 +182,7 @@ .then(function (response) { Vue.toasted.show("File uploaded successfully.", { theme: "bubble", + type: "success", position: "top-right", duration: 5000, }); @@ -191,6 +192,7 @@ if (error.response) { Vue.toasted.show(error.response.data?.message, { theme: "bubble", + type: "error", position: "top-right", duration: 5000, }); @@ -237,6 +239,7 @@ .then(function (response) { Vue.toasted.show("Podcast added successfully.", { theme: "bubble", + type: "success", position: "top-right", duration: 5000, }); @@ -246,6 +249,7 @@ if (error.response) { Vue.toasted.show(error.response.data?.message, { theme: "bubble", + type: "error", position: "top-right", duration: 5000, }); diff --git a/client/episodes.html b/client/episodes.html index 8723702..7647ba0 100644 --- a/client/episodes.html +++ b/client/episodes.html @@ -168,6 +168,7 @@ .then(function (response) { Vue.toasted.show("Podcast download enqueued.", { theme: "bubble", + type: "info", position: "top-right", duration: 5000, }); @@ -178,6 +179,7 @@ if (error.response) { Vue.toasted.show(error.response.data?.message, { theme: "bubble", + type: "error", position: "top-right", duration: 5000, }); @@ -192,6 +194,7 @@ .then(function (response) { Vue.toasted.show("Podcast file deleted.", { theme: "bubble", + type: "success", position: "top-right", duration: 5000, }); @@ -202,6 +205,7 @@ if (error.response) { Vue.toasted.show(error.response.data?.message, { theme: "bubble", + type: "error", position: "top-right", duration: 5000, }); @@ -219,6 +223,7 @@ .then(function (response) { Vue.toasted.show("Podcast played status updated.", { theme: "bubble", + type: "info", position: "top-right", duration: 5000, }); @@ -229,6 +234,7 @@ if (error.response) { Vue.toasted.show(error.response.data?.message, { theme: "bubble", + type: "error", position: "top-right", duration: 5000, }); diff --git a/client/index.html b/client/index.html index 9474d46..4fd2c6b 100644 --- a/client/index.html +++ b/client/index.html @@ -70,16 +70,16 @@