|
|
|
@ -367,8 +367,30 @@ |
|
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
<div class=" max-w-xl lg:px-8 mx-auto px-4 text-primary-700"> |
|
|
|
|
<!-- Save wallet? --> |
|
|
|
|
{#if for_import} |
|
|
|
|
<div class="max-w-xl lg:px-8 mx-auto px-4 mb-8"> |
|
|
|
|
<span class="text-xl">Do you trust this device? </span> <br /> |
|
|
|
|
<div class="flex justify-center items-center my-4"> |
|
|
|
|
<Toggle class="" bind:checked={trusted} |
|
|
|
|
>Yes, save my wallet on this device</Toggle |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<p class="text-sm"> |
|
|
|
|
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}<br /> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
{/if} |
|
|
|
|
|
|
|
|
|
<div class="flex flex-col justify-centerspace-x-12 mt-4 mb-4"> |
|
|
|
|
{#if !loaded} |
|
|
|
|
Loading wallet... |
|
|
|
|
Loading pazzle... |
|
|
|
|
<svg |
|
|
|
|
class="animate-spin my-4 h-14 w-14 mx-auto" |
|
|
|
|
xmlns="http://www.w3.org/2000/svg" |
|
|
|
@ -391,28 +413,6 @@ |
|
|
|
|
/> |
|
|
|
|
</svg> |
|
|
|
|
{:else} |
|
|
|
|
<!-- Save wallet? --> |
|
|
|
|
{#if for_import} |
|
|
|
|
<div class="max-w-xl lg:px-8 mx-auto px-4 mb-8"> |
|
|
|
|
<span class="text-xl">Do you trust this device? </span> <br /> |
|
|
|
|
<div class="flex justify-center items-center my-4"> |
|
|
|
|
<Toggle class="" bind:checked={trusted} |
|
|
|
|
>Yes, save my wallet on this device</Toggle |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<p class="text-sm"> |
|
|
|
|
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}<br /> |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
{/if} |
|
|
|
|
|
|
|
|
|
<div class="flex flex-col justify-centerspace-x-12 mt-4 mb-4"> |
|
|
|
|
<button |
|
|
|
|
on:click={start_with_pazzle} |
|
|
|
|
class="mt-1 text-white bg-primary-700 hover:bg-primary-700/90 focus:ring-4 focus:ring-primary-100/50 rounded-lg text-lg px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-primary-700/55 mb-2" |
|
|
|
@ -423,6 +423,7 @@ |
|
|
|
|
/> |
|
|
|
|
Open with Pazzle! |
|
|
|
|
</button> |
|
|
|
|
{/if} |
|
|
|
|
<a |
|
|
|
|
on:click={start_with_mnemonic} |
|
|
|
|
class="mt-1 text-lg px-5 py-2.5 text-center inline-flex items-center mb-2 underline cursor-pointer" |
|
|
|
@ -438,7 +439,6 @@ |
|
|
|
|
/>Cancel</button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
{/if} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- The following steps have navigation buttons and fixed layout --> |
|
|
|
|