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
eeed9db1
Commit
eeed9db1
authored
Oct 13, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'design' of
http://www.github.com/stratisproject/breeze
into design
parents
5e0431fa
336f4ba1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
36 deletions
+51
-36
dashboard.component.html
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
+11
-12
transaction-details.component.html
...et/transaction-details/transaction-details.component.html
+7
-7
_custom.scss
Breeze.UI/src/scss/_custom.scss
+14
-6
_jumbotron.scss
Breeze.UI/src/scss/_jumbotron.scss
+1
-1
styles.css
Breeze.UI/src/styles.css
+17
-9
styles.css.map
Breeze.UI/src/styles.css.map
+1
-1
No files found.
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
View file @
eeed9db1
...
@@ -4,14 +4,11 @@
...
@@ -4,14 +4,11 @@
<!-- JUMBOTRON-->
<!-- JUMBOTRON-->
<div
class=
"jumbotron jumbotron-fluid"
>
<div
class=
"jumbotron jumbotron-fluid"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"col-xs-12 text-left"
>
<h5
class=
"text-capitalize walletName"
>
{{ walletName }}
</h5>
</div>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"row d-flex align-items-center"
>
<div
class=
"col-xs-12 col-md-3 text-left"
>
<div
class=
"col-md-4 text-left"
>
<h5>
Active Wallet
</h5>
<p
class=
"lead"
>
<span
class=
"walletName text-capitalize"
>
{{ walletName }}
</span>
</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>-->
...
@@ -28,7 +25,7 @@
...
@@ -28,7 +25,7 @@
<small class="text-uppercase">usd</small>
<small class="text-uppercase">usd</small>
</p>
</p>
</div>-->
</div>-->
<div
class=
"col-
xs-12 col-md-3
text-left"
>
<div
class=
"col-
md-4
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>
...
@@ -36,7 +33,7 @@
...
@@ -36,7 +33,7 @@
</p>
</p>
</div>
</div>
<!-- /col-->
<!-- /col-->
<div
class=
"col-
xs-12 col-md-3
text-right"
>
<div
class=
"col-
md-4
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>
...
@@ -58,16 +55,18 @@
...
@@ -58,16 +55,18 @@
<div
class=
"card"
*
ngIf=
"i<3"
(
click
)="
openTransactionDetailDialog
(
transaction
)"
>
<div
class=
"card"
*
ngIf=
"i<3"
(
click
)="
openTransactionDetailDialog
(
transaction
)"
>
<div
class=
"card-block text-nowrap"
>
<div
class=
"card-block text-nowrap"
>
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item hidden-xs-down col-
3
text-uppercase align-bottom"
>
{{ transaction.transactionType }}
</li>
<li
class=
"list-inline-item hidden-xs-down col-
2
text-uppercase align-bottom"
>
{{ transaction.transactionType }}
</li>
<li
class=
"list-inline-item col-
4
amount text-left align-baseline"
>
<li
class=
"list-inline-item col-
3
amount text-left align-baseline"
>
<span
*
ngIf=
"transaction.transactionType == 'received'"
class=
"text-success"
>
+
</span>
<span
*
ngIf=
"transaction.transactionType == 'received'"
class=
"text-success"
>
+
</span>
<span
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"text-danger"
>
-
</span>
<span
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"text-danger"
>
-
</span>
{{ transaction.transactionAmount + transaction.transactionFee | coinNotation }}
{{ transaction.transactionAmount + transaction.transactionFee | coinNotation }}
<small
class=
"text-uppercase"
>
{{ coinUnit }}
</small>
<small
class=
"text-uppercase"
>
{{ coinUnit }}
</small>
</li>
<li
class=
"list-inline-item col amount text-left align-baseline"
>
<span
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"badge badge-success text-capitalize"
>
Confirmed
</span>
<span
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"badge badge-success text-capitalize"
>
Confirmed
</span>
<span
*
ngIf=
"!transaction.transactionConfirmedInBlock"
class=
"badge badge-warning text-capitalize"
>
Pending
</span>
<span
*
ngIf=
"!transaction.transactionConfirmedInBlock"
class=
"badge badge-warning text-capitalize"
>
Pending
</span>
</li>
</li>
<li
class=
"list-inline-item col text-right align-baseline transactionDate"
>
{{ transaction.transactionTimestamp * 1000 | date:'medium' }}
</li>
<li
class=
"list-inline-item col
-3
text-right align-baseline transactionDate"
>
{{ transaction.transactionTimestamp * 1000 | date:'medium' }}
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
...
...
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.html
View file @
eeed9db1
...
@@ -8,28 +8,28 @@
...
@@ -8,28 +8,28 @@
<h5
class=
"modal-title text-uppercase"
id=
"modalDetail"
>
Transaction Details
</h5>
<h5
class=
"modal-title text-uppercase"
id=
"modalDetail"
>
Transaction Details
</h5>
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Type
</li>
<li
class=
"list-inline-item col blockLabel"
>
Type
</li>
<li
class=
"list-inline-item col-
9
blockText text-capitalize"
>
{{ transaction.transactionType }}
</li>
<li
class=
"list-inline-item col-
8
blockText text-capitalize"
>
{{ transaction.transactionType }}
</li>
</ul>
</ul>
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Amount
</li>
<li
class=
"list-inline-item col blockLabel"
>
Amount
</li>
<li
*
ngIf=
"transaction.transactionType == 'received'"
class=
"list-inline-item col-
9
blockText text-success"
>
{{ transaction.transactionAmount | coinNotation }} {{ coinUnit }}
</li>
<li
*
ngIf=
"transaction.transactionType == 'received'"
class=
"list-inline-item col-
8
blockText text-success"
>
{{ transaction.transactionAmount | coinNotation }} {{ coinUnit }}
</li>
<li
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"list-inline-item col-
9
blockText text-danger"
>
-{{ transaction.transactionAmount + transaction.transactionFee | coinNotation }} {{ coinUnit }}
</li>
<li
*
ngIf=
"transaction.transactionType == 'sent'"
class=
"list-inline-item col-
8
blockText text-danger"
>
-{{ transaction.transactionAmount + transaction.transactionFee | coinNotation }} {{ coinUnit }}
</li>
</ul>
</ul>
<!-- <ul class="list-inline row" *ngIf="transaction.transactionType == 'sent'">
<!-- <ul class="list-inline row" *ngIf="transaction.transactionType == 'sent'">
<li class="list-inline-item col blockLabel">Fee</li>
<li class="list-inline-item col blockLabel">Fee</li>
<li *ngIf="transaction.transactionType == 'sent'" class="list-inline-item col-
9
blockText text-danger">{{ transaction.transactionFee | coinNotation }} {{ coinUnit }}</li>
<li *ngIf="transaction.transactionType == 'sent'" class="list-inline-item col-
8
blockText text-danger">{{ transaction.transactionFee | coinNotation }} {{ coinUnit }}</li>
</ul> -->
</ul> -->
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Date
</li>
<li
class=
"list-inline-item col blockLabel"
>
Date
</li>
<li
class=
"list-inline-item col-
9
blockText"
>
{{ transaction.transactionTimestamp * 1000 | date:'medium' }}
</li>
<li
class=
"list-inline-item col-
8
blockText"
>
{{ transaction.transactionTimestamp * 1000 | date:'medium' }}
</li>
</ul>
</ul>
<ul
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"list-inline row"
>
<ul
*
ngIf=
"transaction.transactionConfirmedInBlock"
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Block
</li>
<li
class=
"list-inline-item col blockLabel"
>
Block
</li>
<li
class=
"list-inline-item col-
9
blockText"
>
#{{ transaction.transactionConfirmedInBlock }}
</li>
<li
class=
"list-inline-item col-
8
blockText"
>
#{{ transaction.transactionConfirmedInBlock }}
</li>
</ul>
</ul>
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Confirmations
</li>
<li
class=
"list-inline-item col blockLabel"
>
Confirmations
</li>
<li
class=
"list-inline-item col-
9
blockText"
>
{{ confirmations }}
</li>
<li
class=
"list-inline-item col-
8
blockText"
>
{{ confirmations }}
</li>
</ul>
</ul>
<ul
class=
"list-inline row"
>
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel mb-3"
>
Transaction ID
</li>
<li
class=
"list-inline-item col blockLabel mb-3"
>
Transaction ID
</li>
...
...
Breeze.UI/src/scss/_custom.scss
View file @
eeed9db1
...
@@ -15,8 +15,8 @@ a, button {
...
@@ -15,8 +15,8 @@ a, button {
}
}
button
{
button
{
&
:disabled
{
&
:disabled
{
background
:
#EFEFEF
!
important
;
background
:
lighten
(
$gray
,
20%
)
!
important
;
border-color
:
#EFEFEF
!
important
;
border-color
:
lighten
(
$gray
,
20%
)
!
important
;
&
:hover
{
cursor
:
not
-
allowed
!
important
;}
&
:hover
{
cursor
:
not
-
allowed
!
important
;}
}
}
}
}
...
@@ -136,6 +136,14 @@ em {
...
@@ -136,6 +136,14 @@ em {
h5
{
h5
{
font-size
:
.85em
;
font-size
:
.85em
;
color
:
$gray-dark
;
color
:
$gray-dark
;
margin-bottom
:
0
;
&
.walletName
{
color
:
$black
;
font-size
:
1em
;
font-weight
:
bolder
;
margin-bottom
:
1
.5em
;
}
}
}
p
{
margin-bottom
:
0
!
important
;}
p
{
margin-bottom
:
0
!
important
;}
.lead
{
.lead
{
...
@@ -144,10 +152,6 @@ em {
...
@@ -144,10 +152,6 @@ em {
font-weight
:
500
;
font-weight
:
500
;
margin-bottom
:
0
;
margin-bottom
:
0
;
.walletName
{
font-size
:
0
.7em
;
font-weight
:
normal
;
}
.h2
{
.h2
{
font-size
:
2em
;
font-size
:
2em
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -267,6 +271,9 @@ em {
...
@@ -267,6 +271,9 @@ em {
font-style
:
italic
;
font-style
:
italic
;
}
}
.btn-link
{
padding
:
0
!
important
;}
.btn-link
{
padding
:
0
!
important
;}
.btn-primary
{
&
:disabled
{
opacity
:
1
!
important
;}
}
}
}
#modalReceive
{
#modalReceive
{
.modal-body
{
padding
:
0
3em
;}
.modal-body
{
padding
:
0
3em
;}
...
@@ -277,6 +284,7 @@ em {
...
@@ -277,6 +284,7 @@ em {
color
:
$blue
;
color
:
$blue
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
font-size
:
.825em
;
font-size
:
.825em
;
line-height
:
2em
;
}
}
.blockText
{
.blockText
{
color
:
$darkgray
;
color
:
$darkgray
;
...
...
Breeze.UI/src/scss/_jumbotron.scss
View file @
eeed9db1
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
@include
border-radius
(
$border-radius-lg
);
@include
border-radius
(
$border-radius-lg
);
@include
media-breakpoint-up
(
sm
)
{
@include
media-breakpoint-up
(
sm
)
{
padding
:
(
$jumbotron-padding
*
2
)
$jumbotron-padding
;
padding
:
$jumbotron-padding
$jumbotron-padding
;
}
}
}
}
...
...
Breeze.UI/src/styles.css
View file @
eeed9db1
...
@@ -17,8 +17,8 @@ a:hover, button:hover {
...
@@ -17,8 +17,8 @@ a:hover, button:hover {
}
}
button
:disabled
{
button
:disabled
{
background
:
#
EFEFEF
!important
;
background
:
#
d3d7de
!important
;
border-color
:
#
EFEFEF
!important
;
border-color
:
#
d3d7de
!important
;
}
}
button
:disabled:hover
{
button
:disabled:hover
{
...
@@ -161,6 +161,14 @@ em.display-4 {
...
@@ -161,6 +161,14 @@ em.display-4 {
.jumbotron
h5
{
.jumbotron
h5
{
font-size
:
.85em
;
font-size
:
.85em
;
color
:
#878685
;
color
:
#878685
;
margin-bottom
:
0
;
}
.jumbotron
h5
.walletName
{
color
:
#444
;
font-size
:
1em
;
font-weight
:
bolder
;
margin-bottom
:
1.5em
;
}
}
.jumbotron
p
{
.jumbotron
p
{
...
@@ -174,11 +182,6 @@ em.display-4 {
...
@@ -174,11 +182,6 @@ em.display-4 {
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.jumbotron
.lead
.walletName
{
font-size
:
0.7em
;
font-weight
:
normal
;
}
.jumbotron
.lead
.h2
{
.jumbotron
.lead
.h2
{
font-size
:
2em
;
font-size
:
2em
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -322,6 +325,10 @@ em.display-4 {
...
@@ -322,6 +325,10 @@ em.display-4 {
padding
:
0
!important
;
padding
:
0
!important
;
}
}
#modalSend
.btn-primary
:disabled
{
opacity
:
1
!important
;
}
#modalReceive
.modal-body
{
#modalReceive
.modal-body
{
padding
:
0
3em
;
padding
:
0
3em
;
}
}
...
@@ -334,6 +341,7 @@ em.display-4 {
...
@@ -334,6 +341,7 @@ em.display-4 {
color
:
#7385A0
;
color
:
#7385A0
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
font-size
:
.825em
;
font-size
:
.825em
;
line-height
:
2em
;
}
}
#modalDetail
.blockText
,
#modalCheck
.blockText
,
#modalSettings
.blockText
{
#modalDetail
.blockText
,
#modalCheck
.blockText
,
#modalSettings
.blockText
{
...
@@ -3794,7 +3802,7 @@ tbody.collapse.show {
...
@@ -3794,7 +3802,7 @@ tbody.collapse.show {
background-color
:
#fff
;
background-color
:
#fff
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
border
:
1px
solid
rgba
(
68
,
68
,
68
,
0.15
);
border
:
1px
solid
rgba
(
68
,
68
,
68
,
0.15
);
border-radius
:
0.25rem
;
border-radius
:
50px
;
}
}
.dropdown-divider
{
.dropdown-divider
{
...
@@ -5315,7 +5323,7 @@ a.badge:focus, a.badge:hover {
...
@@ -5315,7 +5323,7 @@ a.badge:focus, a.badge:hover {
@media (min-width: 576px) {
@media (min-width: 576px) {
.jumbotron {
.jumbotron {
padding:
3.
5rem 1.75rem;
padding:
1.7
5rem 1.75rem;
}
}
}
}
...
...
Breeze.UI/src/styles.css.map
View file @
eeed9db1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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