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
c1b5c2d1
Commit
c1b5c2d1
authored
Oct 05, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show active wallet name
parent
12878101
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
dashboard.component.html
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
+9
-3
dashboard.component.ts
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
+3
-1
No files found.
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
View file @
c1b5c2d1
...
@@ -5,7 +5,13 @@
...
@@ -5,7 +5,13 @@
<div
class=
"jumbotron jumbotron-fluid"
>
<div
class=
"jumbotron jumbotron-fluid"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"col-xs-12 col-md-4 text-left"
>
<div
class=
"col-xs-12 col-md-3 text-left"
>
<h5>
Active Wallet
</h5>
<p
class=
"lead"
>
<strong>
{{ walletName }}
</strong>
</p>
</div>
<div
class=
"col-xs-12 col-md-3 text-left"
>
<h5>
Active balance
</h5>
<h5>
Active balance
</h5>
<p
class=
"lead"
>
<p
class=
"lead"
>
<!--<strong><span class="h2">29</span>.76500293</strong>-->
<!--<strong><span class="h2">29</span>.76500293</strong>-->
...
@@ -22,7 +28,7 @@
...
@@ -22,7 +28,7 @@
<small class="text-uppercase">usd</small>
<small class="text-uppercase">usd</small>
</p>
</p>
</div>-->
</div>-->
<div
class=
"col-xs-12 col-md-
4
text-left"
>
<div
class=
"col-xs-12 col-md-
3
text-left"
>
<h5>
Unconfirmed balance
</h5>
<h5>
Unconfirmed balance
</h5>
<p
class=
"lead"
>
<p
class=
"lead"
>
<strong>
{{ (unconfirmedBalance | coinNotation) || (0 | coinNotation) }}
</strong>
<strong>
{{ (unconfirmedBalance | coinNotation) || (0 | coinNotation) }}
</strong>
...
@@ -30,7 +36,7 @@
...
@@ -30,7 +36,7 @@
</p>
</p>
</div>
</div>
<!-- /col-->
<!-- /col-->
<div
class=
"col-xs-12 col-md-
4
text-right"
>
<div
class=
"col-xs-12 col-md-
3
text-right"
>
<p>
<p>
<a
class=
"btn btn-secondary"
data-toggle=
"modal"
data-target=
"#modalReceive"
role=
"button"
(
click
)="
openReceiveDialog
()"
>
Receive
</a>
<a
class=
"btn btn-secondary"
data-toggle=
"modal"
data-target=
"#modalReceive"
role=
"button"
(
click
)="
openReceiveDialog
()"
>
Receive
</a>
<a
class=
"btn btn-primary ml-2"
data-toggle=
"modal"
data-target=
"#modalSend"
role=
"button"
(
click
)="
openSendDialog
()"
>
Send
</a>
<a
class=
"btn btn-primary ml-2"
data-toggle=
"modal"
data-target=
"#modalSend"
role=
"button"
(
click
)="
openSendDialog
()"
>
Send
</a>
...
...
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
View file @
c1b5c2d1
...
@@ -22,15 +22,17 @@ import { Subscription } from 'rxjs/Subscription';
...
@@ -22,15 +22,17 @@ import { Subscription } from 'rxjs/Subscription';
export
class
DashboardComponent
implements
OnInit
{
export
class
DashboardComponent
implements
OnInit
{
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
,
private
modalService
:
NgbModal
)
{}
constructor
(
private
apiService
:
ApiService
,
private
globalService
:
GlobalService
,
private
modalService
:
NgbModal
)
{}
public
walletName
:
string
;
public
coinUnit
:
string
;
public
confirmedBalance
:
number
;
public
confirmedBalance
:
number
;
public
unconfirmedBalance
:
number
;
public
unconfirmedBalance
:
number
;
public
transactionArray
:
TransactionInfo
[];
public
transactionArray
:
TransactionInfo
[];
public
coinUnit
:
string
;
private
walletBalanceSubscription
:
Subscription
;
private
walletBalanceSubscription
:
Subscription
;
private
walletHistorySubscription
:
Subscription
;
private
walletHistorySubscription
:
Subscription
;
ngOnInit
()
{
ngOnInit
()
{
this
.
startSubscriptions
();
this
.
startSubscriptions
();
this
.
walletName
=
this
.
globalService
.
getWalletName
();
this
.
coinUnit
=
this
.
globalService
.
getCoinUnit
();
this
.
coinUnit
=
this
.
globalService
.
getCoinUnit
();
};
};
...
...
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