diff --git a/public/img/icons/copy.png b/public/img/icons/copy.png new file mode 100644 index 0000000..b43ca06 Binary files /dev/null and b/public/img/icons/copy.png differ diff --git a/public/src/css/common.css b/public/src/css/common.css index 38f7d10..9d3496a 100644 --- a/public/src/css/common.css +++ b/public/src/css/common.css @@ -486,11 +486,15 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: #9b9b9b; display: inline-block; height: 25px; + padding: 0; outline: none; text-align: center; width: 30px; } -.btn-copy { margin-left: 5px; } +.btn-copy { + background: #fff url('/img/icons/copy.png') center center no-repeat; + margin-left: 5px; +} .btn-copy .tooltip { display: inline-block; margin-left: 10px; diff --git a/public/src/js/directives.js b/public/src/js/directives.js index ed0b1cf..e576245 100644 --- a/public/src/js/directives.js +++ b/public/src/js/directives.js @@ -39,7 +39,7 @@ angular.module('insight') return { restric: 'A', scope: { clipCopy: '=clipCopy' }, - template: '
Copied!
', + template: '
Copied!
', link: function(scope, elm) { var clip = new ZeroClipboard(elm); diff --git a/public/src/js/services/global.js b/public/src/js/services/global.js old mode 100755 new mode 100644 diff --git a/public/views/block.html b/public/views/block.html index 6eaa1e6..e983dbd 100644 --- a/public/views/block.html +++ b/public/views/block.html @@ -5,7 +5,7 @@

Block

-

#{{ block.height }}

+

#{{block.height}}

@@ -14,19 +14,15 @@

Hashes

- - - - - - - - - - - - - + + + + + + + + +
Previous Block{{block.previousblockhash}}
Next Block{{block.nextblockhash}}
Merkle Root

{{block.merkleroot}}

Previous Block{{block.height-1}}
Next Block{{block.height+1}}
@@ -40,24 +36,30 @@ - + - + - + - - + - + + + + +
Number Of Transactions Number Of Transactions {{block.tx.length}}
Height Height {{block.height}} (Mainchain) (Orphaned)
Block Reward Block Reward {{$root.currency.getConvertion(block.reward)}}
Timestamp Timestamp {{block.time * 1000 | date:'medium'}}
Merkle Root + + {{block.merkleroot}} +