|
|
@ -33,6 +33,9 @@ function AccountDetailsModal () { |
|
|
|
|
|
|
|
|
|
|
|
module.exports = connect(mapStateToProps, mapDispatchToProps)(AccountDetailsModal) |
|
|
|
module.exports = connect(mapStateToProps, mapDispatchToProps)(AccountDetailsModal) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Not yet pixel perfect todos:
|
|
|
|
|
|
|
|
// fonts of qr-header and close button
|
|
|
|
|
|
|
|
|
|
|
|
AccountDetailsModal.prototype.render = function () { |
|
|
|
AccountDetailsModal.prototype.render = function () { |
|
|
|
const { selectedIdentity, selectedAddress, network } = this.props |
|
|
|
const { selectedIdentity, selectedAddress, network } = this.props |
|
|
|
|
|
|
|
|
|
|
@ -42,6 +45,7 @@ AccountDetailsModal.prototype.render = function () { |
|
|
|
|
|
|
|
|
|
|
|
h('div', {}, [ |
|
|
|
h('div', {}, [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Needs a border; requires changes to svg
|
|
|
|
h( |
|
|
|
h( |
|
|
|
Identicon, |
|
|
|
Identicon, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -53,12 +57,7 @@ AccountDetailsModal.prototype.render = function () { |
|
|
|
|
|
|
|
|
|
|
|
]), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
h('div', {}, [ |
|
|
|
h('div.account-details-modal-close', {}), |
|
|
|
'X', |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div', {}, [ |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h(QrView, { |
|
|
|
h(QrView, { |
|
|
|
Qr: { |
|
|
|
Qr: { |
|
|
@ -67,10 +66,6 @@ AccountDetailsModal.prototype.render = function () { |
|
|
|
} |
|
|
|
} |
|
|
|
}, []), |
|
|
|
}, []), |
|
|
|
|
|
|
|
|
|
|
|
h('div', {}, [ |
|
|
|
|
|
|
|
'Account Display', |
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// divider
|
|
|
|
// divider
|
|
|
|
h('div.account-details-modal-divider', { |
|
|
|
h('div.account-details-modal-divider', { |
|
|
|
style: {} |
|
|
|
style: {} |
|
|
|