1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Improve tx UI

This commit is contained in:
Dan Finlay 2016-05-03 14:44:36 -07:00
parent e6c4d63ccd
commit 46e100f595
4 changed files with 18 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## Current Master
- Add support for calls to `eth.sign`.
## 1.7.0 2016-04-29
- Account detail view is now the primary view.

View File

@ -30,6 +30,13 @@ PendingMsg.prototype.render = function() {
key: msgData.id,
}, [
h('h3', {
style: {
fontWeight: 'bold',
textAlign: 'center',
}
}, 'Sign Message'),
// account that will sign
h(AccountPanel, {
showFullAddress: true,

View File

@ -30,6 +30,13 @@ PendingTx.prototype.render = function() {
key: txData.id,
}, [
h('h3', {
style: {
fontWeight: 'bold',
textAlign: 'center',
}
}, 'Submit Transaction'),
// account that will sign
h(AccountPanel, {
showFullAddress: true,

View File

@ -49,7 +49,7 @@ ConfirmTxScreen.prototype.render = function() {
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: this.goHome.bind(this),
}),
h('h2.page-subtitle', 'Confirm Transaction'),
h('h2.page-subtitle', 'Confirmation'),
]),
h('h3', {
@ -64,7 +64,7 @@ ConfirmTxScreen.prototype.render = function() {
},
onClick: () => state.dispatch(actions.previousTx()),
}),
` Transaction ${state.index + 1} of ${unconfTxList.length} `,
` ${state.index + 1} of ${unconfTxList.length} `,
h('i.fa.fa-arrow-right.fa-lg.cursor-pointer', {
style: {
display: state.index + 1 === unconfTxList.length ? 'none' : 'inline-block',