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
Show 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 @@
...
@@ -5,5 +5,6 @@
<p>
<p>
Users who have previously used Breeze, can choose to recover their wallet.
Users who have previously used Breeze, can choose to recover their wallet.
</p>
</p>
<button
(
click
)="
createWallet
()"
>
Create
</button>
<button
(
click
)="
onCreateClicked
()"
>
Create
</button>
<button
(
click
)="
recoverWallet
()"
>
Recover
</button>
<button
(
click
)="
onRecoverClicked
()"
>
Recover
</button>
\ No newline at end of file
<button
(
click
)="
onBackClicked
()"
>
Back
</button>
Breeze.UI/src/app/setup/setup.component.ts
View file @
9295c144
import
{
Component
}
from
'@angular/core'
;
import
{
Component
}
from
'@angular/core'
;
import
{
Location
}
from
'@angular/common'
;
import
{
Router
}
from
'@angular/router'
;
import
{
Router
}
from
'@angular/router'
;
@
Component
({
@
Component
({
...
@@ -7,12 +8,16 @@ import { Router } from '@angular/router';
...
@@ -7,12 +8,16 @@ import { Router } from '@angular/router';
styleUrls
:
[
'./setup.component.css'
],
styleUrls
:
[
'./setup.component.css'
],
})
})
export
class
SetupComponent
{
export
class
SetupComponent
{
constructor
(
private
router
:
Router
)
{}
constructor
(
private
router
:
Router
,
private
location
:
Location
)
{}
private
createWallet
()
{
private
onCreateClicked
()
{
this
.
router
.
navigate
([
'/setup/create'
])
this
.
router
.
navigate
([
'/setup/create'
])
;
}
}
private
recoverWallet
()
{
private
onRecoverClicked
()
{
this
.
router
.
navigate
([
'/setup/recover'
])
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