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
4671564c
Commit
4671564c
authored
Nov 09, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add loading indicator to login, create, recovery and sending process
parent
c215c2cc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
117 additions
and
5 deletions
+117
-5
login.component.html
Breeze.UI/src/app/login/login.component.html
+7
-1
create.component.html
Breeze.UI/src/app/setup/create/create.component.html
+7
-1
recover.component.html
Breeze.UI/src/app/setup/recover/recover.component.html
+7
-1
send.component.html
Breeze.UI/src/app/wallet/send/send.component.html
+7
-1
_custom.scss
Breeze.UI/src/scss/_custom.scss
+43
-0
styles.css
Breeze.UI/src/styles.css
+45
-0
styles.css.map
Breeze.UI/src/styles.css.map
+1
-1
No files found.
Breeze.UI/src/app/login/login.component.html
View file @
4671564c
...
@@ -40,9 +40,15 @@
...
@@ -40,9 +40,15 @@
</form>
</form>
</div>
</div>
<!-- /row-->
<!-- /row-->
<div
class=
"row d-flex justify-content-center"
>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"!isDecrypting"
>
<button
type=
"submit"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
openWalletForm
.
valid
||
isDecrypting
"
(
click
)="
onDecryptClicked
()"
>
Decrypt
</button>
<button
type=
"submit"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
openWalletForm
.
valid
||
isDecrypting
"
(
click
)="
onDecryptClicked
()"
>
Decrypt
</button>
</div>
</div>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"isDecrypting"
>
<div
class=
"spinner"
>
<div
class=
"double-bounce1"
></div>
<div
class=
"double-bounce2"
></div>
</div>
</div>
</div>
</div>
<!-- /row-->
<!-- /row-->
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"hasWallet;else no_wallet"
>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"hasWallet;else no_wallet"
>
...
...
Breeze.UI/src/app/setup/create/create.component.html
View file @
4671564c
...
@@ -31,9 +31,15 @@
...
@@ -31,9 +31,15 @@
</form>
</form>
</div>
</div>
<!-- /row-->
<!-- /row-->
<div
class=
"row d-flex justify-content-center"
>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"!isCreating"
>
<button
type=
"button"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
createWalletForm
.
valid
||
isCreating
"
(
click
)="
onCreateClicked
()"
>
Create
</button>
<button
type=
"button"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
createWalletForm
.
valid
||
isCreating
"
(
click
)="
onCreateClicked
()"
>
Create
</button>
</div>
</div>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"isCreating"
>
<div
class=
"spinner"
>
<div
class=
"double-bounce1"
></div>
<div
class=
"double-bounce2"
></div>
</div>
</div>
<!-- /row-->
<!-- /row-->
</div>
</div>
<!-- /container-->
<!-- /container-->
...
...
Breeze.UI/src/app/setup/recover/recover.component.html
View file @
4671564c
...
@@ -35,9 +35,15 @@
...
@@ -35,9 +35,15 @@
</form>
</form>
</div>
</div>
<!-- /row-->
<!-- /row-->
<div
class=
"row d-flex justify-content-center"
>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"!isRecovering"
>
<button
type=
"button"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
recoverWalletForm
.
valid
||
isRecovering
"
(
click
)="
onRecoverClicked
()"
>
Recover
</button>
<button
type=
"button"
class=
"btn btn-darkgray btn-lg"
[
disabled
]="!
recoverWalletForm
.
valid
||
isRecovering
"
(
click
)="
onRecoverClicked
()"
>
Recover
</button>
</div>
</div>
<div
class=
"row d-flex justify-content-center"
*
ngIf=
"isRecovering"
>
<div
class=
"spinner"
>
<div
class=
"double-bounce1"
></div>
<div
class=
"double-bounce2"
></div>
</div>
</div>
<!-- /row-->
<!-- /row-->
</div>
</div>
<!-- /container-->
<!-- /container-->
...
...
Breeze.UI/src/app/wallet/send/send.component.html
View file @
4671564c
...
@@ -54,9 +54,15 @@
...
@@ -54,9 +54,15 @@
<div
class=
"row d-flex justify-content-center"
>
<div
class=
"row d-flex justify-content-center"
>
<a><button
type=
"button"
class=
"btn btn-link col-12"
(
click
)="
activeModal
.
close
('
Close
click
')"
>
Cancel
</button></a>
<a><button
type=
"button"
class=
"btn btn-link col-12"
(
click
)="
activeModal
.
close
('
Close
click
')"
>
Cancel
</button></a>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
*
ngIf=
"!isSending"
>
<button
type=
"submit"
class=
"btn btn-lg btn-primary"
[
disabled
]="!
sendForm
.
valid
||
isSending
"
(
click
)="
send
()"
>
Send
</button>
<button
type=
"submit"
class=
"btn btn-lg btn-primary"
[
disabled
]="!
sendForm
.
valid
||
isSending
"
(
click
)="
send
()"
>
Send
</button>
</div>
</div>
<div
class=
"modal-footer"
*
ngIf=
"isSending"
>
<div
class=
"spinner"
>
<div
class=
"double-bounce1"
></div>
<div
class=
"double-bounce2"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
Breeze.UI/src/scss/_custom.scss
View file @
4671564c
...
@@ -534,6 +534,49 @@ $curve: cubic-bezier(0.650, 0.000, 0.450, 1.000);
...
@@ -534,6 +534,49 @@ $curve: cubic-bezier(0.650, 0.000, 0.450, 1.000);
}
}
}
}
// Loading spinner
.spinner
{
width
:
40px
;
height
:
40px
;
position
:
relative
;
margin
:
0
auto
;
}
.double-bounce1
,
.double-bounce2
{
width
:
100%
;
height
:
100%
;
border-radius
:
50%
;
background-color
:
#333
;
opacity
:
0
.6
;
position
:
absolute
;
top
:
0
;
left
:
0
;
-webkit-animation
:
sk-bounce
2
.0s
infinite
ease-in-out
;
animation
:
sk-bounce
2
.0s
infinite
ease-in-out
;
}
.double-bounce2
{
-webkit-animation-delay
:
-1
.0s
;
animation-delay
:
-1
.0s
;
}
@-webkit-keyframes
sk-bounce
{
0
%
,
100
%
{
-webkit-transform
:
scale
(
0
.0
)
}
50
%
{
-webkit-transform
:
scale
(
1
.0
)
}
}
@keyframes
sk-bounce
{
0
%
,
100
%
{
transform
:
scale
(
0
.0
);
-webkit-transform
:
scale
(
0
.0
);
}
50
%
{
transform
:
scale
(
1
.0
);
-webkit-transform
:
scale
(
1
.0
);
}
}
// Tumblebit
// Tumblebit
#Tumblebit
{
#Tumblebit
{
padding-top
:
4em
;
padding-top
:
4em
;
...
...
Breeze.UI/src/styles.css
View file @
4671564c
...
@@ -869,6 +869,51 @@ input.cmn-toggle-round-flat:checked + label:after {
...
@@ -869,6 +869,51 @@ input.cmn-toggle-round-flat:checked + label:after {
color
:
#1B354B
;
color
:
#1B354B
;
}
}
.spinner
{
width
:
40px
;
height
:
40px
;
position
:
relative
;
margin
:
0
auto
;
}
.double-bounce1
,
.double-bounce2
{
width
:
100%
;
height
:
100%
;
border-radius
:
50%
;
background-color
:
#333
;
opacity
:
0.6
;
position
:
absolute
;
top
:
0
;
left
:
0
;
-webkit-animation
:
sk-bounce
2.0s
infinite
ease-in-out
;
animation
:
sk-bounce
2.0s
infinite
ease-in-out
;
}
.double-bounce2
{
-webkit-animation-delay
:
-1.0s
;
animation-delay
:
-1.0s
;
}
@-webkit-keyframes
sk-bounce
{
0
%,
100
%
{
-webkit-transform
:
scale
(
0
);
}
50
%
{
-webkit-transform
:
scale
(
1
);
}
}
@keyframes
sk-bounce
{
0
%,
100
%
{
transform
:
scale
(
0
);
-webkit-transform
:
scale
(
0
);
}
50
%
{
transform
:
scale
(
1
);
-webkit-transform
:
scale
(
1
);
}
}
#Tumblebit
{
#Tumblebit
{
padding-top
:
4em
;
padding-top
:
4em
;
}
}
...
...
Breeze.UI/src/styles.css.map
View file @
4671564c
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