From ccc23b8ddab8ef45541cc365f50db8fd88da1f51 Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Sat, 6 Jul 2024 17:31:50 +0300 Subject: [PATCH] more GUI fixes --- ng-app/src/lib/Login.svelte | 72 ++++++++++--------- .../src/lib/components/CopyToClipboard.svelte | 9 +-- .../src/lib/components/PasswordInput.svelte | 19 ++++- ng-app/src/routes/WalletCreate.svelte | 52 +++++++------- ng-app/tsconfig.json | 2 +- 5 files changed, 89 insertions(+), 65 deletions(-) diff --git a/ng-app/src/lib/Login.svelte b/ng-app/src/lib/Login.svelte index 84c7e01..4315cb9 100644 --- a/ng-app/src/lib/Login.svelte +++ b/ng-app/src/lib/Login.svelte @@ -113,7 +113,7 @@ let error; - let trusted = false; + let trusted = true; let mnemonic = ""; @@ -331,7 +331,7 @@ bind:this={top} > {#if step == "load"} -
660}> +

How to open your wallet? You have 2 options:

@@ -383,28 +383,28 @@
  • Enter the PIN code that you chose when you created your wallet.
  • -
    - - {#if for_import} -
    - Do you trust this device?
    -
    - Yes, save my wallet on this device -
    -

    - If you do, if this device is yours or is used by few trusted - persons of your family or workplace, and you would like to login - again from this device in the future, then you can save your - wallet on this device. To the contrary, if this device is public - and shared by strangers, do not save your wallet here. {#if !tauri_platform}By - selecting this option, you agree to save some cookies on your - browser.{/if}
    -

    + + {#if for_import} +
    + Do you trust this device?
    +

    + If you do, if this device is yours or is used by few trusted persons + of your family or workplace, and you would like to login again from + this device in the future, then you can save your wallet on this + device. To the contrary, if this device is public and shared by + strangers, do not save your wallet here. {#if !tauri_platform}By + selecting this option, you agree to saving some cookies on your + browser.{/if}
    +

    +
    + Yes, save my wallet on this device
    - {/if} +
    + {/if} +
    {#if !loaded} Loading pazzle... @@ -449,13 +449,15 @@ class="w-8 h-8 mr-2 -ml-1 transition duration-75 focus:outline-none group-hover:text-gray-900 dark:group-hover:text-white" />Cancel login - Open with Mnemonic instead - +
    @@ -477,11 +479,11 @@ Enter your 12 words mnemonic
    @@ -574,6 +576,9 @@
    @@ -690,7 +698,7 @@ />Cancel