From 0181b8a24537c2890513206e845a0daf7dba0f1f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 15 Nov 2016 12:35:43 +0100 Subject: [PATCH] Display token addresses --- js/src/dapps/basiccoin/Deploy/Event/event.css | 11 +++++++++++ js/src/dapps/basiccoin/Deploy/Event/event.js | 1 + js/src/dapps/basiccoin/Overview/Owner/owner.css | 6 ++++++ js/src/dapps/basiccoin/Overview/Owner/owner.js | 3 +++ 4 files changed, 21 insertions(+) diff --git a/js/src/dapps/basiccoin/Deploy/Event/event.css b/js/src/dapps/basiccoin/Deploy/Event/event.css index 52eada915..40768f6dc 100644 --- a/js/src/dapps/basiccoin/Deploy/Event/event.css +++ b/js/src/dapps/basiccoin/Deploy/Event/event.css @@ -46,11 +46,22 @@ a.link, a.link:hover, a.link:visited { } .address { + max-width: 250px; text-align: left; + + div { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } .description { text-align: left; + + div { + white-space: nowrap; + } } .center { diff --git a/js/src/dapps/basiccoin/Deploy/Event/event.js b/js/src/dapps/basiccoin/Deploy/Event/event.js index 889822208..b32795f7e 100644 --- a/js/src/dapps/basiccoin/Deploy/Event/event.js +++ b/js/src/dapps/basiccoin/Deploy/Event/event.js @@ -58,6 +58,7 @@ export default class Event extends Component {
{ isPending ? '' : coin.tla }
{ isPending ? '' : coin.name }
+
{ this.renderAddress(event.params.coin) }
{ this.renderAddress(event.params.owner) } diff --git a/js/src/dapps/basiccoin/Overview/Owner/owner.css b/js/src/dapps/basiccoin/Overview/Owner/owner.css index 13e89d061..f94945722 100644 --- a/js/src/dapps/basiccoin/Overview/Owner/owner.css +++ b/js/src/dapps/basiccoin/Overview/Owner/owner.css @@ -46,3 +46,9 @@ .icon { margin: 0 0 -4px 1em; } + +.byline { + opacity: 0.75; + font-size: 0.75em; + padding-top: 0.25em; +} diff --git a/js/src/dapps/basiccoin/Overview/Owner/owner.js b/js/src/dapps/basiccoin/Overview/Owner/owner.js index cc3003693..a86a27544 100644 --- a/js/src/dapps/basiccoin/Overview/Owner/owner.js +++ b/js/src/dapps/basiccoin/Overview/Owner/owner.js @@ -68,6 +68,9 @@ export default class Owner extends Component { +
+ { token.address } +
)); }