diff options
author | Dan <danjm.com@gmail.com> | 2017-09-20 16:06:31 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-26 09:29:43 +0800 |
commit | 2c474b0d6e487652cf16e224e19deb0bf68abedb (patch) | |
tree | 502649e328b73083d823bde01d70c86b0dc27d12 /ui/app/components | |
parent | 0eeba3771c2396c12de3f254dbfaae957344411d (diff) | |
download | dexon-wallet-2c474b0d6e487652cf16e224e19deb0bf68abedb.tar.gz dexon-wallet-2c474b0d6e487652cf16e224e19deb0bf68abedb.tar.zst dexon-wallet-2c474b0d6e487652cf16e224e19deb0bf68abedb.zip |
Export private key modal body ui.
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/modals/export-private-key-modal.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/app/components/modals/export-private-key-modal.js b/ui/app/components/modals/export-private-key-modal.js index bbcd25e0..28b988f5 100644 --- a/ui/app/components/modals/export-private-key-modal.js +++ b/ui/app/components/modals/export-private-key-modal.js @@ -37,5 +37,27 @@ ExportPrivateKeyModal.prototype.render = function () { h('div.account-modal-divider'), + h('span.modal-body-title', 'Download Private Keys'), + + h('div.private-key-password', {}, [ + h('span.private-key-password-label', 'Type Your Password'), + + h('input.private-key-password-input', { + type: 'password', + placeholder: 'Type password', + }), + ]), + + h('div.private-key-password-warning', `Warning: Never disclose this key. + Anyone with your private keys can take steal any assets held in your + account.` + ), + + h('div.export-private-key-buttons', {}, [ + h('button.btn-clear.btn-cancel', {}, 'Cancel'), + + h('button.btn-clear', 'Download'), + ]), + ]) } |