From e98e46e1a269649574fdd256fdc6a5d358f3f5fe Mon Sep 17 00:00:00 2001 From: grey Date: Wed, 17 May 2023 17:46:51 +0200 Subject: [PATCH] Improved UI Toast Tooling --- src/frontend/partials/controls.eta.html | 8 ++- src/frontend/partials/head.eta.html | 1 + static/js/editCategory.js | 35 ++----------- static/js/editStorages.js | 69 +++---------------------- static/js/formHandler.js | 23 ++------- static/js/normalizeToast.js | 1 + static/js/toastHandler.js | 27 ++++++++++ 7 files changed, 52 insertions(+), 112 deletions(-) create mode 100644 static/js/toastHandler.js diff --git a/src/frontend/partials/controls.eta.html b/src/frontend/partials/controls.eta.html index c6e1cdb..94ac86a 100644 --- a/src/frontend/partials/controls.eta.html +++ b/src/frontend/partials/controls.eta.html @@ -34,7 +34,13 @@ -
+ +