diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-11 05:30:20 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-11 05:30:20 +0800 |
commit | c221f5ce79a1e24df4672e16bda8e85c434e11ba (patch) | |
tree | 518fbeb7ea0ce3cb485ad7a1cafd9b0c5bed78c9 /ui/app/components/pending-tx/confirm-deploy-contract.js | |
parent | 119c2b24238b84d5a9e3beabe572da42f8e2ffcb (diff) | |
download | tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar.gz tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar.bz2 tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar.lz tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar.xz tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.tar.zst tangerine-wallet-browser-c221f5ce79a1e24df4672e16bda8e85c434e11ba.zip |
Confirm Token and Confirm Contract v2
Diffstat (limited to 'ui/app/components/pending-tx/confirm-deploy-contract.js')
-rw-r--r-- | ui/app/components/pending-tx/confirm-deploy-contract.js | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/ui/app/components/pending-tx/confirm-deploy-contract.js b/ui/app/components/pending-tx/confirm-deploy-contract.js index 386e14afe..ea4aa1dde 100644 --- a/ui/app/components/pending-tx/confirm-deploy-contract.js +++ b/ui/app/components/pending-tx/confirm-deploy-contract.js @@ -270,7 +270,8 @@ ConfirmDeployContract.prototype.render = function () { h('button.confirm-screen-back-button', { onClick: () => backToAccountDetail(selectedAddress), }, 'BACK'), - h('div.confirm-screen-title', 'Confirm Transaction'), + h('div.confirm-screen-title', 'Confirm Contract'), + h('div.confirm-screen-header-tip'), ]), h('div.flex-row.flex-center.confirm-screen-identicons', [ h('div.confirm-screen-account-wrapper', [ @@ -278,11 +279,11 @@ ConfirmDeployContract.prototype.render = function () { Identicon, { address: fromAddress, - diameter: 100, + diameter: 60, }, ), h('span.confirm-screen-account-name', fromName), - h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)), + // h('span.confirm-screen-account-number', fromAddress.slice(fromAddress.length - 4)), ]), h('i.fa.fa-arrow-right.fa-lg'), h('div.confirm-screen-account-wrapper', [ @@ -292,14 +293,14 @@ ConfirmDeployContract.prototype.render = function () { ]), ]), - h('h3.flex-center.confirm-screen-sending-to-message', { - style: { - textAlign: 'center', - fontSize: '16px', - }, - }, [ - `You're deploying a new contract.`, - ]), + // h('h3.flex-center.confirm-screen-sending-to-message', { + // style: { + // textAlign: 'center', + // fontSize: '16px', + // }, + // }, [ + // `You're deploying a new contract.`, + // ]), this.renderHeroAmount(), @@ -326,17 +327,17 @@ ConfirmDeployContract.prototype.render = function () { ]), ]), - h('form#pending-tx-form.flex-column.flex-center', { + h('form#pending-tx-form', { onSubmit: this.onSubmit, }, [ - - // Accept Button - h('button.confirm-screen-confirm-button', ['CONFIRM']), - // Cancel Button h('div.cancel.btn-light.confirm-screen-cancel-button', { onClick: (event) => this.cancel(event, txMeta), }, 'CANCEL'), + + // Accept Button + h('button.confirm-screen-confirm-button', ['CONFIRM']), + ]), ]) ) |