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
944bed7a
Commit
944bed7a
authored
May 12, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Five transactions in dashboard
parent
db56b0ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
9 deletions
+21
-9
dashboard.component.html
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
+13
-9
dashboard.component.ts
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
+8
-0
No files found.
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
View file @
944bed7a
...
...
@@ -8,6 +8,12 @@
<div>
Current Value
</div>
<div>
Over 9000
</div>
</div>
<div
class=
"col"
>
<div>
<button
(
click
)="
openSendDialog
()"
class=
"btn"
>
SEND
</button>
<button
(
click
)="
openReceiveDialog
()"
class=
"btn"
>
RECEIVE
</button>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col"
>
...
...
@@ -20,17 +26,15 @@
<th>
Transaction ID
</th>
</thead>
<tr
*
ngFor=
"let transaction of transactions; let i=index"
>
<div
*
ngIf=
"i<5"
>
<!--<td *ngIf="{{ transaction.amount }} < 0; else received">SENT</td>
<td #received>RECEIVED</td>-->
<td>
{{ transaction.timestamp }}
</td>
<td>
{{ transaction.amount }}
</td>
<td>
{{ transaction.confirmed }}
</td>
<td>
{{ transaction.txId }}
</td>
</div>
<!--<td *ngIf="{{ transaction.amount }} < 0">SENT</td>
<td *ngIf="{{ transaction.amount }} > 0">RECEIVED</td>-->
<td
*
ngIf=
"i<5"
>
{{ transaction.timestamp }}
</td>
<td
*
ngIf=
"i<5"
>
{{ transaction.amount }}
</td>
<td
*
ngIf=
"i<5"
>
{{ transaction.confirmed }}
</td>
<td
*
ngIf=
"i<5"
>
{{ transaction.txId }}
</td>
</tr>
</table>
<ng-template
#
noTransactions
>
Looks like you haven't
had
any transactions yet
</ng-template>
<ng-template
#
noTransactions
>
Looks like you haven't
made
any transactions yet
</ng-template>
</div>
</div>
</div>
Breeze.UI/src/app/wallet/dashboard/dashboard.component.ts
View file @
944bed7a
...
...
@@ -23,6 +23,14 @@ export class DashboardComponent {
this
.
getHistory
();
};
private
openSendDialog
()
{
};
private
openReceiveDialog
()
{
};
private
getWalletBalance
()
{
let
walletInfo
=
new
WalletInfo
(
this
.
globalService
.
getWalletName
(),
this
.
globalService
.
getCoinType
())
this
.
apiService
.
getWalletBalance
(
walletInfo
)
...
...
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