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
0e0da38d
Commit
0e0da38d
authored
Jul 26, 2018
by
Paul Herbert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2100 - Breeze Updates for ICO: latest
parent
5e3ec797
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
advanced-ico.component.html
.../wallet/advanced/advanced-ico/advanced-ico.component.html
+14
-2
advanced-ico.component.ts
...pp/wallet/advanced/advanced-ico/advanced-ico.component.ts
+5
-4
No files found.
Breeze.UI/src/app/wallet/advanced/advanced-ico/advanced-ico.component.html
View file @
0e0da38d
<div
class=
"container"
style=
"border:1px solid lightgray; border-radius: 4px; padding:10px; position: absolute; left:100px; width:
50
%"
>
<div
class=
"container"
style=
"border:1px solid lightgray; border-radius: 4px; padding:10px; position: absolute; left:100px; width:
65
%"
>
<h4>
ICO
</h4>
<div
style=
"margin-top:15px"
>
<div>
<label
style=
"font-size:1
3
px;margin-bottom:0px"
>
Extended Public Key
</label>
<label
style=
"font-size:1
4
px;margin-bottom:0px"
>
Extended Public Key
</label>
<div
class=
"myAddress"
*
ngIf=
"extPubKeyLoadingState.success; else elseFeedback"
><code
style=
"overflow-wrap: break-word"
>
{{ extPubKey }}
</code></div>
<ng-template
#
elseFeedback
>
<app-feedback
[
loading
]="
extPubKeyLoadingState
.
loading
"
...
...
@@ -10,5 +11,16 @@
[
erroredText
]="
extPubKeyLoadingState
.
erroredText
"
></app-feedback>
</ng-template>
</div>
<div
style=
"margin-top:20px"
>
<label
style=
"font-size:14px;margin-bottom:1px"
>
Generate Addresses
</label>
<div
class=
"input-group"
style=
"width:55%; height:35px"
>
<input
pattern=
"^[1-9]+$"
type=
"number"
class=
"form-control"
placeholder=
"Number to generate..."
style=
"border-radius: 0px"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-default"
type=
"button"
>
Go
</button>
</span>
</div>
</div>
</div>
</div>
Breeze.UI/src/app/wallet/advanced/advanced-ico/advanced-ico.component.ts
View file @
0e0da38d
import
{
Component
,
OnDestroy
}
from
'@angular/core'
;
import
{
Subscription
}
from
'rxJs/Subscription'
;
import
{
FormGroup
,
FormControl
,
Validators
,
FormBuilder
}
from
'@angular/forms'
;
import
{
AdvancedService
}
from
'./../advanced.service'
;
import
{
LoadingState
}
from
'./loadingState'
;
...
...
@@ -26,10 +27,6 @@ export class AdvancedIcoComponent implements OnDestroy {
return
this
.
_extPubKeyLoadingState
;
}
ngOnDestroy
()
{
this
.
extPubKeySubs
.
unsubscribe
();
}
private
loadExtPubKey
()
{
this
.
extPubKeyLoadingState
.
loading
=
true
;
this
.
extPubKeySubs
=
this
.
advancedService
.
getExtPubKey
()
...
...
@@ -40,4 +37,8 @@ export class AdvancedIcoComponent implements OnDestroy {
this
.
_extPubKey
=
key
;
this
.
extPubKeyLoadingState
.
loading
=
false
;
}
ngOnDestroy
()
{
this
.
extPubKeySubs
.
unsubscribe
();
}
}
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