Merge pull request #24 from Unending/bubble_color

added type to toasted bubble
pull/18/merge
Akhil Gupta 4 years ago committed by GitHub
commit e15815d648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
});

@ -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,
});

@ -138,6 +138,7 @@
"All episodes of this podcast have been enqueued to download.",
{
theme: "bubble",
type: "info",
position: "top-right",
duration: 5000,
}
@ -147,6 +148,7 @@
if (error.response) {
Vue.toasted.show(error.response.data?.message, {
theme: "bubble",
type: "error",
position: "top-right",
duration: 5000,
});
@ -168,6 +170,7 @@
.then(function (response) {
Vue.toasted.show("Podcast deleted successfully.", {
theme: "bubble",
type: "success",
position: "top-right",
duration: 5000,
});
@ -178,6 +181,7 @@
if (error.response) {
Vue.toasted.show(error.response.data?.message, {
theme: "bubble",
type: "error",
position: "top-right",
duration: 5000,
});
@ -200,6 +204,7 @@
.then(function (response) {
Vue.toasted.show("Podcast Episodes deleted successfully.", {
theme: "bubble",
type: "success",
position: "top-right",
duration: 5000,
});
@ -208,6 +213,7 @@
if (error.response) {
Vue.toasted.show(error.response.data?.message, {
theme: "bubble",
type: "error",
position: "top-right",
duration: 5000,
});

@ -170,6 +170,7 @@ function downloadToDisk(id){
Vue.toasted.show('Podcast download enqueued.' ,{
theme: "bubble",
position: "top-right",
type: "info",
duration : 5000
});
var row = document.getElementById('podcast-'+id);
@ -181,6 +182,7 @@ function downloadToDisk(id){
Vue.toasted.show(error.response.data?.message, {
theme: "bubble",
position: "top-right",
type: "error",
duration : 5000
})
}

@ -89,6 +89,7 @@ var app = new Vue({
.then(function(response){
Vue.toasted.show('Settings saved successfully.' ,{
theme: "bubble",
type: "success",
position: "top-right",
duration : 5000
})
@ -100,6 +101,7 @@ var app = new Vue({
Vue.toasted.show(error.response.data?.message, {
theme: "bubble",
type: "error",
position: "top-right",
duration : 5000
})

Loading…
Cancel
Save