Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
9295c144
Commit
9295c144
authored
Apr 11, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add back button, rename functions
parent
ffc33805
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
setup.component.html
Breeze.UI/src/app/setup/setup.component.html
+3
-2
setup.component.ts
Breeze.UI/src/app/setup/setup.component.ts
+10
-5
No files found.
Breeze.UI/src/app/setup/setup.component.html
View file @
9295c144
...
...
@@ -5,5 +5,6 @@
<p>
Users who have previously used Breeze, can choose to recover their wallet.
</p>
<button
(
click
)="
createWallet
()"
>
Create
</button>
<button
(
click
)="
recoverWallet
()"
>
Recover
</button>
\ No newline at end of file
<button
(
click
)="
onCreateClicked
()"
>
Create
</button>
<button
(
click
)="
onRecoverClicked
()"
>
Recover
</button>
<button
(
click
)="
onBackClicked
()"
>
Back
</button>
Breeze.UI/src/app/setup/setup.component.ts
View file @
9295c144
import
{
Component
}
from
'@angular/core'
;
import
{
Location
}
from
'@angular/common'
;
import
{
Router
}
from
'@angular/router'
;
@
Component
({
...
...
@@ -7,12 +8,16 @@ import { Router } from '@angular/router';
styleUrls
:
[
'./setup.component.css'
],
})
export
class
SetupComponent
{
constructor
(
private
router
:
Router
)
{}
private
createWallet
()
{
this
.
router
.
navigate
([
'/setup/create'
])
constructor
(
private
router
:
Router
,
private
location
:
Location
)
{}
private
onCreateClicked
()
{
this
.
router
.
navigate
([
'/setup/create'
])
;
}
private
recoverWallet
()
{
this
.
router
.
navigate
([
'/setup/recover'
])
private
onRecoverClicked
()
{
this
.
router
.
navigate
([
'/setup/recover'
]);
}
private
onBackClicked
()
{
this
.
location
.
back
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment