From 5e4b014c54356ee3b15fed776203165e66924080 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Thu, 6 Feb 2014 12:53:39 -0300 Subject: [PATCH] added blockhash to tx list. fix lookandfeel tx list, responsive support. hide link copy/paste for small devicas --- public/css/common.css | 13 +++++++++++- public/views/address.html | 2 +- public/views/block.html | 2 +- public/views/transaction.html | 6 +++--- public/views/transaction/tx.html | 35 ++++++++++++++++++++++++-------- 5 files changed, 43 insertions(+), 15 deletions(-) diff --git a/public/css/common.css b/public/css/common.css index 81eda36..8700862 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -231,6 +231,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin: 20px 0 10px; overflow: hidden; padding: 15px; + border: 1px solid #ccc; } .btn { @@ -302,7 +303,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { .line-mid { padding: 15px 0;} .line-top { border-top: 1px solid #EAEAEA; - padding: 15px 0; + padding: 15px 0 0 0; } /* Custom page CSS @@ -413,6 +414,16 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { .btn-copy { margin-left: 5px; } .btn-expand { margin-right: 5px; } +@media (max-width: 991px) { + .btn-copy { + display: none; + } +} + +.txid { + line-height: 26px; +} + .transaction-vin-vout .ellipsis { margin-bottom: 10px; } .transaction-vin-vout .btc-value { margin-left: 15px; } diff --git a/public/views/address.html b/public/views/address.html index 76c06ff..9c1fbb2 100644 --- a/public/views/address.html +++ b/public/views/address.html @@ -6,7 +6,7 @@
diff --git a/public/views/block.html b/public/views/block.html index 53e4aae..178b8cc 100644 --- a/public/views/block.html +++ b/public/views/block.html @@ -9,7 +9,7 @@

Block #{{ block.height }}

- + {{block.hash}}
diff --git a/public/views/transaction.html b/public/views/transaction.html index abb4533..d3425c8 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -9,7 +9,7 @@
-
+

Summary

@@ -25,8 +25,8 @@
Block - - {{tx.blockhash}} + + {{tx.blockhash}}
diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index 0b7062e..d1a3f03 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -1,10 +1,16 @@ -
- - - {{tx.txid}} - +
+
+ + +
-
+
+ +
+
+
@@ -92,9 +98,20 @@
-
- Fees: {{tx.fees}} -
+
+
+ + BlockHash + {{tx.blockhash}} + + +
+
+
+
+ +
+