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
d5a25a09
Commit
d5a25a09
authored
Jul 11, 2017
by
Pieterjan Vanhoof
Committed by
GitHub
Jul 11, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #161 from stratisproject/ui
Various UX improvements
parents
8183df98
21c53d41
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
24 deletions
+25
-24
package.json
Breeze.UI/package.json
+18
-18
login.component.html
Breeze.UI/src/app/login/login.component.html
+1
-1
dashboard.component.html
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
+1
-1
history.component.html
Breeze.UI/src/app/wallet/history/history.component.html
+1
-1
send.component.ts
Breeze.UI/src/app/wallet/send/send.component.ts
+3
-2
transaction-details.component.html
...et/transaction-details/transaction-details.component.html
+1
-1
No files found.
Breeze.UI/package.json
View file @
d5a25a09
...
@@ -41,28 +41,28 @@
...
@@ -41,28 +41,28 @@
},
},
"private"
:
true
,
"private"
:
true
,
"dependencies"
:
{
"dependencies"
:
{
"@angular/animations"
:
"^4.2.
5
"
,
"@angular/animations"
:
"^4.2.
6
"
,
"@angular/common"
:
"^4.2.
5
"
,
"@angular/common"
:
"^4.2.
6
"
,
"@angular/compiler"
:
"^4.2.
5
"
,
"@angular/compiler"
:
"^4.2.
6
"
,
"@angular/core"
:
"^4.2.
5
"
,
"@angular/core"
:
"^4.2.
6
"
,
"@angular/forms"
:
"^4.2.
5
"
,
"@angular/forms"
:
"^4.2.
6
"
,
"@angular/http"
:
"^4.2.
5
"
,
"@angular/http"
:
"^4.2.
6
"
,
"@angular/platform-browser"
:
"^4.2.
5
"
,
"@angular/platform-browser"
:
"^4.2.
6
"
,
"@angular/platform-browser-dynamic"
:
"^4.2.
5
"
,
"@angular/platform-browser-dynamic"
:
"^4.2.
6
"
,
"@angular/platform-server"
:
"^4.2.
5
"
,
"@angular/platform-server"
:
"^4.2.
6
"
,
"@angular/router"
:
"^4.2.
5
"
,
"@angular/router"
:
"^4.2.
6
"
,
"@ng-bootstrap/ng-bootstrap"
:
"^1.0.0-alpha.27"
,
"@ng-bootstrap/ng-bootstrap"
:
"^1.0.0-alpha.27"
,
"angular2-material-datepicker"
:
"^0.5.0"
,
"angular2-material-datepicker"
:
"^0.5.0"
,
"core-js"
:
"^2.4.1"
,
"core-js"
:
"^2.4.1"
,
"electron-context-menu"
:
"^0.9.1"
,
"electron-context-menu"
:
"^0.9.1"
,
"ngx-clipboard"
:
"^8.0.3"
,
"ngx-clipboard"
:
"^8.0.3"
,
"rxjs"
:
"5.4.
1
"
,
"rxjs"
:
"5.4.
2
"
,
"zone.js"
:
"^0.8.12"
"zone.js"
:
"^0.8.12"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@angular/cli"
:
"^1.2.0"
,
"@angular/cli"
:
"^1.2.0"
,
"@angular/compiler-cli"
:
"^4.2.
5
"
,
"@angular/compiler-cli"
:
"^4.2.
6
"
,
"autoprefixer"
:
"^7.1.
1
"
,
"autoprefixer"
:
"^7.1.
2
"
,
"codelyzer"
:
"3.1.2"
,
"codelyzer"
:
"3.1.2"
,
"concurrently"
:
"^3.5.0"
,
"concurrently"
:
"^3.5.0"
,
"copyfiles"
:
"1.2.0"
,
"copyfiles"
:
"1.2.0"
,
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
"karma-jasmine"
:
"~1.1.0"
,
"karma-jasmine"
:
"~1.1.0"
,
"karma-jasmine-html-reporter"
:
"^0.2.2"
,
"karma-jasmine-html-reporter"
:
"^0.2.2"
,
"karma-sourcemap-loader"
:
"^0.3.7"
,
"karma-sourcemap-loader"
:
"^0.3.7"
,
"less-loader"
:
"^4.0.
4
"
,
"less-loader"
:
"^4.0.
5
"
,
"minimist"
:
"1.2.0"
,
"minimist"
:
"1.2.0"
,
"mkdirp"
:
"0.5.1"
,
"mkdirp"
:
"0.5.1"
,
"node-sass"
:
"^4.5.3"
,
"node-sass"
:
"^4.5.3"
,
...
@@ -102,12 +102,12 @@
...
@@ -102,12 +102,12 @@
"source-map-loader"
:
"^0.2.1"
,
"source-map-loader"
:
"^0.2.1"
,
"style-loader"
:
"^0.18.2"
,
"style-loader"
:
"^0.18.2"
,
"stylus-loader"
:
"^3.0.1"
,
"stylus-loader"
:
"^3.0.1"
,
"ts-node"
:
"~3.
1
.0"
,
"ts-node"
:
"~3.
2
.0"
,
"tslint"
:
"~5.
4.3
"
,
"tslint"
:
"~5.
5.0
"
,
"typescript"
:
"2.3.4"
,
"typescript"
:
"2.3.4"
,
"url-loader"
:
"^0.5.9"
,
"url-loader"
:
"^0.5.9"
,
"webdriver-manager"
:
"12.0.6"
,
"webdriver-manager"
:
"12.0.6"
,
"webpack"
:
"^3.
0
.0"
,
"webpack"
:
"^3.
1
.0"
,
"webpack-dev-server"
:
"~2.5.
0
"
"webpack-dev-server"
:
"~2.5.
1
"
}
}
}
}
Breeze.UI/src/app/login/login.component.html
View file @
d5a25a09
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<p
class=
"lead"
>
Looks like you're new here.
<br
/>
Please create or restore a wallet.
</p>
<p
class=
"lead"
>
Looks like you're new here.
<br
/>
Please create or restore a wallet.
</p>
</ng-template>
</ng-template>
<div
class=
"row d-flex justify-content-center"
>
<div
class=
"row d-flex justify-content-center"
>
<button
type=
"button"
class=
"btn btn-
darkgray
btn-lg"
(
click
)="
onCreateClicked
()"
>
Create or restore a wallet
</button>
<button
type=
"button"
class=
"btn btn-
link
btn-lg"
(
click
)="
onCreateClicked
()"
>
Create or restore a wallet
</button>
</div>
</div>
</div>
</div>
<!-- /container-->
<!-- /container-->
...
...
Breeze.UI/src/app/wallet/dashboard/dashboard.component.html
View file @
d5a25a09
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<h5
class=
"text-uppercase"
>
Latest Transactions
</h5>
<h5
class=
"text-uppercase"
>
Latest Transactions
</h5>
<div
*
ngIf=
"transactions; else noTransactions"
>
<div
*
ngIf=
"transactions; else noTransactions"
>
<div
*
ngFor=
"let transaction of transactions; let i=index"
>
<div
*
ngFor=
"let transaction of transactions; let i=index"
>
<div
class=
"card"
*
ngIf=
"i<3"
>
<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 text-uppercase align-bottom"
>
{{ transaction.type }}
</li>
<li
class=
"list-inline-item hidden-xs-down col text-uppercase align-bottom"
>
{{ transaction.type }}
</li>
...
...
Breeze.UI/src/app/wallet/history/history.component.html
View file @
d5a25a09
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<h5
class=
"text-uppercase"
>
Transactions
</h5>
<h5
class=
"text-uppercase"
>
Transactions
</h5>
<div
*
ngIf=
"transactions; else noTransactions"
>
<div
*
ngIf=
"transactions; else noTransactions"
>
<div
*
ngFor=
"let transaction of transactions"
>
<div
*
ngFor=
"let transaction of transactions"
>
<div
class=
"card"
>
<div
class=
"card"
(
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 text-uppercase align-bottom"
>
{{ transaction.type }}
</li>
<li
class=
"list-inline-item hidden-xs-down col text-uppercase align-bottom"
>
{{ transaction.type }}
</li>
...
...
Breeze.UI/src/app/wallet/send/send.component.ts
View file @
d5a25a09
...
@@ -26,7 +26,7 @@ export class SendComponent {
...
@@ -26,7 +26,7 @@ export class SendComponent {
private
buildSendForm
():
void
{
private
buildSendForm
():
void
{
this
.
sendForm
=
this
.
fb
.
group
({
this
.
sendForm
=
this
.
fb
.
group
({
"address"
:
[
""
,
Validators
.
required
],
"address"
:
[
""
,
Validators
.
required
],
"amount"
:
[
""
,
Validators
.
required
],
"amount"
:
[
""
,
Validators
.
compose
([
Validators
.
required
,
Validators
.
pattern
(
/^
[
0-9
]
+
(\.[
0-9
]{0,8})?
$/
)])
],
"fee"
:
[
2
,
Validators
.
required
],
"fee"
:
[
2
,
Validators
.
required
],
"password"
:
[
""
,
Validators
.
required
]
"password"
:
[
""
,
Validators
.
required
]
});
});
...
@@ -64,7 +64,8 @@ export class SendComponent {
...
@@ -64,7 +64,8 @@ export class SendComponent {
'required'
:
'An address is required.'
'required'
:
'An address is required.'
},
},
'amount'
:
{
'amount'
:
{
'required'
:
'An amount is required.'
'required'
:
'An amount is required.'
,
'pattern'
:
'Enter a valid amount. Only positive numbers are allowed.'
},
},
'fee'
:
{
'fee'
:
{
'required'
:
'A fee is required.'
'required'
:
'A fee is required.'
...
...
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.html
View file @
d5a25a09
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<li
class=
"list-inline-item col blockLabel"
>
Transaction ID
</li>
<li
class=
"list-inline-item col blockLabel"
>
Transaction ID
</li>
<li
class=
"list-inline-item col-9 blockText blockID"
><code>
{{ transaction.id }}
</code></li>
<li
class=
"list-inline-item col-9 blockText blockID"
><code>
{{ transaction.id }}
</code></li>
<span
class=
"float-right"
><a
ngxClipboard
[
cbContent
]="
transaction
.
id
"
(
click
)="
onCopiedClick
()"
>
copy
</a></span>
<span
class=
"float-right"
><a
ngxClipboard
[
cbContent
]="
transaction
.
id
"
(
click
)="
onCopiedClick
()"
>
copy
</a></span>
<span
class=
"badge badge-success list-inline-item col
blockLabel
"
*
ngIf=
"copied"
>
The transaction ID has been copied to your clipboard.
</span>
<span
class=
"badge badge-success list-inline-item col"
*
ngIf=
"copied"
>
The transaction ID has been copied to your clipboard.
</span>
</ul>
</ul>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
...
...
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