From bbcff16dd6a72676e76a77d4ab809f9301709607 Mon Sep 17 00:00:00 2001 From: polarDefender Date: Wed, 29 May 2024 08:20:04 -0700 Subject: [PATCH] updated ui --- static/backup.html | 11 ++++++++++- static/css/backup.css | 12 +++++++++++- static/css/liquidity.css | 17 ++++++++++++++++- static/css/styles.css | 19 ++++++++++++++++++- static/index.html | 2 +- static/js/backup.js | 14 ++++++++++++-- static/js/seed.js | 4 ++++ static/liquidity.html | 19 ++++++++++--------- static/seed.html | 2 +- 9 files changed, 83 insertions(+), 17 deletions(-) diff --git a/static/backup.html b/static/backup.html index 61dc63a5..7c94bf59 100644 --- a/static/backup.html +++ b/static/backup.html @@ -64,10 +64,19 @@ +
+
+ +
+ +
+
diff --git a/static/js/backup.js b/static/js/backup.js index 9579648f..ac4c7ea5 100644 --- a/static/js/backup.js +++ b/static/js/backup.js @@ -1,11 +1,21 @@ $(() => { + let backup; let manual_backup; $("#backup").click(() => { - const checked = $("#backup").prop("checked"); + backup = $("#backup").prop("checked"); const nextButton = $("#next-button"); - if (checked) { + if (backup || manual_backup) { nextButton.removeClass("hidden-button"); } else { nextButton.addClass("hidden-button"); } }); + $("#manual-backup").click(()=>{ + manual_backup = $('#manual-backup').prop("checked"); + const nextButton = $("#next-button"); + if(backup || manual_backup) { + nextButton.removeClass("hidden-button"); + } else { + nextButton.addClass("hidden-button"); + }; + }); }); diff --git a/static/js/seed.js b/static/js/seed.js index 2574aa40..60ede163 100644 --- a/static/js/seed.js +++ b/static/js/seed.js @@ -3,6 +3,10 @@ $(() => { $("#seed-box-container").removeClass("blur-filter"); }); + $("#seed-box-container").click(() => { + $("#seed-box-container").removeClass("blur-filter"); + }); + $('#copied').click(() => { const checked = $("#copied").prop('checked'); const nextButton = $("#next-button"); diff --git a/static/liquidity.html b/static/liquidity.html index e31a60d7..62cbc8c4 100644 --- a/static/liquidity.html +++ b/static/liquidity.html @@ -44,22 +44,23 @@
-
-
+
@@ -67,7 +68,7 @@ diff --git a/static/seed.html b/static/seed.html index 97b07183..b1a71241 100644 --- a/static/seed.html +++ b/static/seed.html @@ -156,7 +156,7 @@ id="next-button" class="push-button hidden-button" onclick="location.href='connect.html'" - style="margin-top: 92px" + style="margin-top: 60px" > Next