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:
parent
e6c4d63ccd
commit
46e100f595
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- Add support for calls to `eth.sign`.
|
||||||
|
|
||||||
## 1.7.0 2016-04-29
|
## 1.7.0 2016-04-29
|
||||||
|
|
||||||
- Account detail view is now the primary view.
|
- Account detail view is now the primary view.
|
||||||
|
@ -30,6 +30,13 @@ PendingMsg.prototype.render = function() {
|
|||||||
key: msgData.id,
|
key: msgData.id,
|
||||||
}, [
|
}, [
|
||||||
|
|
||||||
|
h('h3', {
|
||||||
|
style: {
|
||||||
|
fontWeight: 'bold',
|
||||||
|
textAlign: 'center',
|
||||||
|
}
|
||||||
|
}, 'Sign Message'),
|
||||||
|
|
||||||
// account that will sign
|
// account that will sign
|
||||||
h(AccountPanel, {
|
h(AccountPanel, {
|
||||||
showFullAddress: true,
|
showFullAddress: true,
|
||||||
|
@ -30,6 +30,13 @@ PendingTx.prototype.render = function() {
|
|||||||
key: txData.id,
|
key: txData.id,
|
||||||
}, [
|
}, [
|
||||||
|
|
||||||
|
h('h3', {
|
||||||
|
style: {
|
||||||
|
fontWeight: 'bold',
|
||||||
|
textAlign: 'center',
|
||||||
|
}
|
||||||
|
}, 'Submit Transaction'),
|
||||||
|
|
||||||
// account that will sign
|
// account that will sign
|
||||||
h(AccountPanel, {
|
h(AccountPanel, {
|
||||||
showFullAddress: true,
|
showFullAddress: true,
|
||||||
|
@ -49,7 +49,7 @@ ConfirmTxScreen.prototype.render = function() {
|
|||||||
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
||||||
onClick: this.goHome.bind(this),
|
onClick: this.goHome.bind(this),
|
||||||
}),
|
}),
|
||||||
h('h2.page-subtitle', 'Confirm Transaction'),
|
h('h2.page-subtitle', 'Confirmation'),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
h('h3', {
|
h('h3', {
|
||||||
@ -64,7 +64,7 @@ ConfirmTxScreen.prototype.render = function() {
|
|||||||
},
|
},
|
||||||
onClick: () => state.dispatch(actions.previousTx()),
|
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', {
|
h('i.fa.fa-arrow-right.fa-lg.cursor-pointer', {
|
||||||
style: {
|
style: {
|
||||||
display: state.index + 1 === unconfTxList.length ? 'none' : 'inline-block',
|
display: state.index + 1 === unconfTxList.length ? 'none' : 'inline-block',
|
||||||
|
Loading…
Reference in New Issue
Block a user