From 6efbede3614fdf3efd20fb25fdb192227bbdde3e Mon Sep 17 00:00:00 2001 From: Bechi Date: Mon, 20 Jan 2014 15:31:02 -0300 Subject: [PATCH] fix transaction list --- public/css/common.css | 17 +++++--- public/views/transaction/list.html | 65 +++++++++++++++++++----------- 2 files changed, 54 insertions(+), 28 deletions(-) diff --git a/public/css/common.css b/public/css/common.css index af3ab74..5747588 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -36,6 +36,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { .m10h {margin: 0 10px;} .m20h {margin: 0 20px;} +.m5v {margin: 5px 0;} .m20v {margin: 20px 0;} .m50v {margin: 50px 0;} .m10b {margin-bottom: 10px;} @@ -107,6 +108,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { } .ellipsis { + width: 100%; display: block; white-space: nowrap; overflow: hidden; @@ -152,10 +154,15 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { } .block-tx { + overflow: hidden; border-radius: 2px; background: #F4F4F4; - margin: 20px 0; - padding: 20px; + margin: 20px 0 10px; + padding: 15px; +} + +.block-tx p { + margin: 0 0 5px; } .btn { @@ -208,7 +215,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { .line-top { padding: 10px 0; - margin-top: 10px; + margin-top: 5px; border-top: 1px solid #EAEAEA; } @@ -219,9 +226,9 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { #wrap > .container { padding: 60px 15px 0; } -.container .text-muted { +/*.container .text-muted { margin: 20px 0; -} +}*/ #footer > .container { padding-left: 15px; diff --git a/public/views/transaction/list.html b/public/views/transaction/list.html index 2012dcd..f8501c9 100644 --- a/public/views/transaction/list.html +++ b/public/views/transaction/list.html @@ -8,35 +8,46 @@
-
- No Inputs (Newly Generated isCoinBasens) - {{vin.reward}} BTC -
-
-
- {{vin.addr}} - {{vin.value}} BTC -

- Outpoint: - {{vin.txid}} -

+
+
+

No Inputs (Newly Generated isCoinBasens)

+

{{vin.reward}} BTC

+
    +
  • + + +
    +
    + Address could not be parsed + {{vin.addr}} +
    +
    +

    {{vin.value}} BTC

    +
  • +
-
+ +
 
-
+ +
-
+
- {{vout.scriptPubKey.type}} + {{vout.scriptPubKey.type}}
-
-
- {{address}} - {{vout.value}} BTC +
+
+ +
+
+

{{vout.value}} BTC

@@ -44,9 +55,17 @@
- Feeds: {{tx.feeds}} -
- {{tx.valueOut}} +
+
+ + + +
+ Feeds: {{tx.feeds}}