-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fuzd' into dev-with-private-account
- Loading branch information
Showing
8 changed files
with
430 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script lang="ts"> | ||
import Modal from '$lib/components/modals/Modal.svelte'; | ||
import type {account as Account} from './'; | ||
export let account: typeof Account; | ||
let doNotAskAgainSignature: boolean = false; | ||
</script> | ||
|
||
<Modal> | ||
<h3 class="text-lg font-bold">Welcome to Jolly-Roger</h3> | ||
<p class="py-4"> | ||
In order to continue and get a safe place to save data, you'll need to sign a message. Be carefull and only sign | ||
this message on trusted frontend. | ||
</p> | ||
<div class="form-control"> | ||
<label class="label cursor-pointer"> | ||
<span class="label-text">Do not ask again (trust computer)</span> | ||
<input type="checkbox" bind:checked={doNotAskAgainSignature} class="checkbox" /> | ||
</label> | ||
</div> | ||
<div class="modal-action"> | ||
<button on:click={() => account.rejectLoadingStep()} class="btn btn-error">Cancel</button> | ||
<button on:click={() => account.acceptLoadingStep({doNotAskAgainSignature})} class="btn">Sign</button> | ||
</div> | ||
</Modal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.