Skip to content

Commit

Permalink
Merge pull request #362 from stratisproject/ui
Browse files Browse the repository at this point in the history
Switch to cancel button
  • Loading branch information
dev0tion authored Nov 20, 2017
2 parents 896e15e + ec5ad76 commit ccafe8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Breeze.UI/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Breeze",
"description": "Graphical User Interface for Breeze Wallet.",
"version": "0.2.1",
"version": "0.3.0",
"author": {
"name": "Stratis Group",
"email": "[email protected]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<section id="breeze">
<div class="login d-flex align-items-center text-center">
<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>
<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">
Expand All @@ -15,10 +10,11 @@ <h3 class="display-5">Secret words</h3>
</li>
</ul>
</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-->
<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 mr-4" (click)="onCancelClicked()">Cancel</button>
<button type="button" class="btn btn-darkgray btn-lg" (click)="onContinueClicked()">Continue</button>
</div>
<!-- /row-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }});
}

public onBackClicked() {
this.router.navigate(['/setup/create']);
public onCancelClicked() {
this.router.navigate(['']);
}

ngOnDestroy() {
Expand Down

0 comments on commit ccafe8c

Please sign in to comment.