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
4aa14b7c
Commit
4aa14b7c
authored
May 11, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show history
parent
c8fc92fb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
14 deletions
+22
-14
history.component.ts
Breeze.UI/src/app/wallet/history/history.component.ts
+5
-3
menu.component.css
Breeze.UI/src/app/wallet/menu/menu.component.css
+6
-0
menu.component.html
Breeze.UI/src/app/wallet/menu/menu.component.html
+11
-11
No files found.
Breeze.UI/src/app/wallet/history/history.component.ts
View file @
4aa14b7c
...
...
@@ -18,17 +18,19 @@ export class HistoryComponent {
private
errorMessage
:
string
;
ngOnInit
()
{
this
.
get
Wallet
History
();
this
.
getHistory
();
}
private
get
Wallet
History
()
{
private
getHistory
()
{
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
(),
this
.
globalService
.
getCoinType
())
this
.
apiService
.
getWalletHistory
(
walletInfo
)
.
subscribe
(
response
=>
{
if
(
response
.
status
>=
200
&&
response
.
status
<
400
)
{
if
(
response
.
json
().
transactions
.
length
>
0
)
{
this
.
transactions
=
response
.
json
().
transactions
;
}
}
},
error
=>
{
if
(
error
.
status
>=
400
)
{
...
...
Breeze.UI/src/app/wallet/menu/menu.component.css
View file @
4aa14b7c
.navbar
{
height
:
100px
;
width
:
100%
;
margin
:
0
;
padding
:
0
;
}
Breeze.UI/src/app/wallet/menu/menu.component.html
View file @
4aa14b7c
<nav
class=
"navbar navbar-
fixed-top
"
>
<nav
class=
"navbar navbar-
toggleable-sm navbar-fixed-top navbar-light bg-faded
"
>
<div
class=
"container"
>
<a
class=
"navbar-brand"
>
Breeze
</a>
<dashboard-component></dashboard-component>
<ul
class=
"nav navbar-nav"
routerLinkActive=
"active"
>
<ul
class=
"navbar-nav mr-auto"
routerLinkActive=
"active"
>
<li
class=
"nav-item"
><a
class=
"nav-link"
routerLink=
"dashboard"
>
Dashboard
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
routerLink=
"send"
>
Send
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
routerLink=
"receive"
>
Receive
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
routerLink=
"history"
>
History
</a></li>
<li
class=
"nav-item"
><a
class=
"nav-link"
(
click
)="
logOut
()"
>
Logout
</a></li>
</ul>
<div
class=
"navbar-brand"
>
Breeze
</div>
</div>
</nav>
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