Unverified Commit ccafe8c3 authored by Pieterjan Vanhoof's avatar Pieterjan Vanhoof Committed by GitHub

Merge pull request #362 from stratisproject/ui

Switch to cancel button
parents 896e15e1 ec5ad760
{ {
"name": "Breeze", "name": "Breeze",
"description": "Graphical User Interface for Breeze Wallet.", "description": "Graphical User Interface for Breeze Wallet.",
"version": "0.2.1", "version": "0.3.0",
"author": { "author": {
"name": "Stratis Group", "name": "Stratis Group",
"email": "info@stratisplatform.com" "email": "info@stratisplatform.com"
......
<section id="breeze"> <section id="breeze">
<div class="login d-flex align-items-center text-center"> <div class="login d-flex align-items-center text-center">
<div class="container"> <div class="container">
<p class="textback text-left col-11 mx-auto">
<a (click)="onBackClicked()">
<span class="ico-arrow-left2"></span>
</a>
</p>
<h3 class="display-5">Secret words</h3> <h3 class="display-5">Secret words</h3>
<p class="lead">Please write down your secret words and password. <br>You will need <strong>both</strong> to recover your wallet in the future.</p> <p class="lead">Please write down your secret words and password. <br>You will need <strong>both</strong> to recover your wallet in the future.</p>
<div class="row d-flex justify-content-center mt-4"> <div class="row d-flex justify-content-center mt-4">
...@@ -15,10 +10,11 @@ ...@@ -15,10 +10,11 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="form-control-feedback text-center my-3">Write down your secret words and password before you continue</div> <div class="form-control-feedback text-center mt-3 mb-5">Write down your secret words and password before you continue</div>
<!-- /row--> <!-- /row-->
<div class="row d-flex justify-content-center"> <div class="row d-flex justify-content-center">
<!-- <button type="button" class="btn btn-linkgray btn-lg col-12">Save the list somewhere</button> --> <!-- <button type="button" class="btn btn-linkgray btn-lg col-12">Save the list somewhere</button> -->
<button type="button" class="btn btn-linkgray mr-4" (click)="onCancelClicked()">Cancel</button>
<button type="button" class="btn btn-darkgray btn-lg" (click)="onContinueClicked()">Continue</button> <button type="button" class="btn btn-darkgray btn-lg" (click)="onContinueClicked()">Continue</button>
</div> </div>
<!-- /row--> <!-- /row-->
......
...@@ -40,8 +40,8 @@ export class ShowMnemonicComponent implements OnInit, OnDestroy { ...@@ -40,8 +40,8 @@ export class ShowMnemonicComponent implements OnInit, OnDestroy {
this.router.navigate(['/setup/create/confirm-mnemonic'], { queryParams : { name: this.newWallet.name, mnemonic: this.newWallet.mnemonic, password: this.newWallet.password }}); this.router.navigate(['/setup/create/confirm-mnemonic'], { queryParams : { name: this.newWallet.name, mnemonic: this.newWallet.mnemonic, password: this.newWallet.password }});
} }
public onBackClicked() { public onCancelClicked() {
this.router.navigate(['/setup/create']); this.router.navigate(['']);
} }
ngOnDestroy() { ngOnDestroy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment