diff --git a/backend/templates/base.html b/backend/templates/base.html index 54676d3..afd2047 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -15,9 +15,12 @@ + + + - + @@ -88,16 +91,12 @@ - + - - + + @@ -105,6 +104,9 @@ + + {% block extrajs %}{% endblock %} {% endblock %} \ No newline at end of file diff --git a/backend/templates/songlist.html b/backend/templates/songlist.html index 7392a81..10df759 100644 --- a/backend/templates/songlist.html +++ b/backend/templates/songlist.html @@ -99,9 +99,13 @@ enqueue(localStorage.getItem("clientId"),id, name, function (response) { console.log(response); entryID = response["entry_id"]; - bootbox.alert({ - message: "Deine Eintragung wurde erfolgreich vorgenommen.", - }); + toast = { + title: "Erfolgreich eingetragen", + message: "Du wurdest erfolgreich eingetragen.", + status: TOAST_STATUS.SUCCESS, + timeout: 5000 + } + Toast.create(toast); console.log("Entry ID: " + entryID); addEntry(entryID); $("#enqueueModal").modal('hide');