From 46e100f595a3db7aaab913bc4c12f4d6c5d01cd5 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 3 May 2016 14:44:36 -0700 Subject: Improve tx UI --- CHANGELOG.md | 2 ++ ui/app/components/pending-msg.js | 7 +++++++ ui/app/components/pending-tx.js | 7 +++++++ ui/app/conf-tx.js | 4 ++-- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff551cf7f..47cd69897 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/ui/app/components/pending-msg.js b/ui/app/components/pending-msg.js index cb6df2a3d..b0a6bb87d 100644 --- a/ui/app/components/pending-msg.js +++ b/ui/app/components/pending-msg.js @@ -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, diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index 2519998a5..2bfb89705 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -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, diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index 28f2db39c..d49d1f84c 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -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', -- cgit