From 59a18680a1f22a15b05f5d458e300f639c0b7e8a Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 21 Aug 2024 11:50:08 +0200 Subject: [PATCH] refactor: move mini result chart to the new modal system closes #5811 --- frontend/src/html/pages/account.html | 5 - frontend/src/html/popups.html | 6 + frontend/src/styles/account.scss | 22 -- frontend/src/styles/popups.scss | 10 + .../src/ts/controllers/chart-controller.ts | 235 +++++++++--------- frontend/src/ts/event-handlers/global.ts | 5 +- .../account => modals}/mini-result-chart.ts | 41 +-- frontend/src/ts/pages/account.ts | 9 +- 8 files changed, 146 insertions(+), 187 deletions(-) rename frontend/src/ts/{elements/account => modals}/mini-result-chart.ts (59%) diff --git a/frontend/src/html/pages/account.html b/frontend/src/html/pages/account.html index 191b3eb86..f5ddf3c16 100644 --- a/frontend/src/html/pages/account.html +++ b/frontend/src/html/pages/account.html @@ -14,11 +14,6 @@
-
- -
-
-
diff --git a/frontend/src/html/popups.html b/frontend/src/html/popups.html index 850d74078..dc84f5cd1 100644 --- a/frontend/src/html/popups.html +++ b/frontend/src/html/popups.html @@ -4,6 +4,12 @@
+ +