From d3540d58b4ab01b1aa2a0b5f844c858309e7ab30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Sun, 10 Mar 2024 04:59:46 +0900 Subject: [PATCH 01/13] feat: initialize new buttons controller --- static/index.html | 238 ++++++++---------- static/scripts/rewards/ButtonController.ts | 79 ++++++ .../scripts/rewards/invalidate-component.ts | 12 - .../claim-rewards-pagination.ts | 6 +- .../render-transaction/render-transaction.ts | 25 +- static/scripts/rewards/toaster.ts | 48 +--- static/scripts/rewards/web3/connect-wallet.ts | 5 +- static/scripts/rewards/web3/erc20-permit.ts | 10 +- static/scripts/rewards/web3/erc721-permit.ts | 8 +- .../web3/handle-if-on-correct-network.ts | 9 +- .../rewards/web3/verify-current-network.ts | 6 +- static/styles/rewards/claim-table.css | 34 ++- 12 files changed, 242 insertions(+), 238 deletions(-) create mode 100644 static/scripts/rewards/ButtonController.ts delete mode 100644 static/scripts/rewards/invalidate-component.ts diff --git a/static/index.html b/static/index.html index 2f324f2b..51507d96 100644 --- a/static/index.html +++ b/static/index.html @@ -1,111 +1,86 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ubiquity Rewards | Ubiquity DAO - - - - -
-
-
-
-
-
- -