1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'master' into i340+1

This commit is contained in:
Frankie 2016-06-28 12:07:48 -07:00
commit c548a1225b
7 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- Fixed bug where MetaMask interfered with PDF loading. - Fixed bug where MetaMask interfered with PDF loading.
- Moved switch account icon into menu bar. - Moved switch account icon into menu bar.
- Changed status shapes to be a yellow warning sign for failure and ellipsis for pending transactions.
## 2.4.4 2016-06-23 ## 2.4.4 2016-06-23

View File

@ -107,6 +107,7 @@ AccountDetailScreen.prototype.render = function () {
h('img.cursor-pointer.color-orange', { h('img.cursor-pointer.color-orange', {
src: 'images/copy.svg', src: 'images/copy.svg',
title: 'Copy Address',
onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)), onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)),
style: { style: {
margin: '0px 5px', margin: '0px 5px',
@ -115,6 +116,7 @@ AccountDetailScreen.prototype.render = function () {
h('img.cursor-pointer.color-orange', { h('img.cursor-pointer.color-orange', {
src: 'images/key-32.png', src: 'images/key-32.png',
title: 'Export Private Key',
onClick: () => this.requestAccountExport(selected), onClick: () => this.requestAccountExport(selected),
style: { style: {
margin: '0px 5px', margin: '0px 5px',

View File

@ -62,6 +62,7 @@ NewComponent.prototype.render = function () {
}, },
}, [ }, [
h('img.cursor-pointer.color-orange', { h('img.cursor-pointer.color-orange', {
title: 'Copy Address',
src: 'images/copy.svg', src: 'images/copy.svg',
onClick: (event) => { onClick: (event) => {
event.stopPropagation() event.stopPropagation()

View File

@ -157,6 +157,7 @@ App.prototype.renderAppBar = function () {
width: '23.5px', width: '23.5px',
marginRight: '8px', marginRight: '8px',
}, },
title: 'Switch Accounts',
onClick: (event) => { onClick: (event) => {
event.stopPropagation() event.stopPropagation()
this.props.dispatch(actions.showAccountsPage()) this.props.dispatch(actions.showAccountsPage())

View File

@ -15,7 +15,7 @@ TransactionIcon.prototype.render = function () {
const { transaction, txParams, isMsg } = this.props const { transaction, txParams, isMsg } = this.props
if (transaction.status === 'rejected') { if (transaction.status === 'rejected') {
return h('i.fa.fa-exclamation-triangle.fa-lg.error', { return h('i.fa.fa-exclamation-triangle.fa-lg.warning', {
style: { style: {
width: '24px', width: '24px',
}, },

View File

@ -57,7 +57,7 @@ TransactionListItem.prototype.render = function () {
// large identicon // large identicon
h('.identicon-wrapper.flex-column.flex-center.select-none', [ h('.identicon-wrapper.flex-column.flex-center.select-none', [
transaction.status === 'unconfirmed' ? h('.red-dot', ' ') transaction.status === 'unconfirmed' ? h('i.fa.fa-ellipsis-h', {style: { fontSize: '27px' }})
: h(TransactionIcon, { txParams, transaction, isTx, isMsg }), : h(TransactionIcon, { txParams, transaction, isTx, isMsg }),
]), ]),

View File

@ -171,6 +171,11 @@ app sections
.error { .error {
color: #E20202; color: #E20202;
} }
.warning {
color: #FFAE00;
}
.lock { .lock {
width: 50px; width: 50px;
height: 50px; height: 50px;