From 4a664f71237acf283802dd455ed0dc5f9b474409 Mon Sep 17 00:00:00 2001 From: Bechi Date: Fri, 17 Jan 2014 16:18:27 -0300 Subject: [PATCH] transaction page --- public/css/common.css | 53 ++++++++-- public/views/transaction.html | 183 +++++++++++++++------------------- 2 files changed, 130 insertions(+), 106 deletions(-) diff --git a/public/css/common.css b/public/css/common.css index 3fc2670..b069739 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -34,6 +34,16 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { padding: 0 0 60px; } +.m10h {margin: 0 10px;} +.m20h {margin: 0 20px;} +.m20v {margin: 20px 0;} +.m50v {margin: 50px 0;} +.m10b {margin-bottom: 10px;} + +.vm { + vertical-align: middle; +} + .navbar-default { background-color: #8DC429; border-bottom: 4px solid #64920F; @@ -145,22 +155,45 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { border-radius: 2px; background: #F4F4F4; margin: 20px 0; - padding: 15px; + padding: 20px; } -.btn-primary { +.btn { + margin: 0 5px; border-radius: 2px; - background: #64920F; - border: 2px solid #557F08; +} +.btn-primary { + background: #8DC429; + border: 2px solid #76AF0F; } -.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { +.btn-primary:hover, .btn-primary:focus, .btn-primary:active, +.btn-primary.active, .open .dropdown-toggle.btn-primary, +.btn-success:hover, .btn-success:focus, .btn-success:active, +.btn-success.active, .open .dropdown-toggle.btn-success, +.btn-danger:hover, .btn-danger:focus, .btn-danger:active, +.btn-danger.active, .open .dropdown-toggle.btn-danger { background: #fff; border: 2px solid #ccc; color: #373D42; font-weight: 500; } +.btn-default { + background: #E7E7E7; + border: 2px solid #DCDCDC; +} + +.btn-success { + background: #2FA4D7; + border: 2px solid #237FA7; +} + +.btn-danger { + background: #AC0015; + border: 2px solid #6C0000; +} + /* Set the fixed height of the footer here */ #footer { height: 60px; @@ -217,7 +250,15 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { opacity: 1; } - +.tx-bg { + background-color: #F4F4F4; + width: 100%; + min-height: 340px; + position: absolute; + top: 0; + left: 0; + z-index: -9999; +} .badge { padding: 1px 9px 2px; diff --git a/public/views/transaction.html b/public/views/transaction.html index 7ba4744..8bca73b 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -1,35 +1,26 @@
- -
- {{tx.txid}} -
+
+ - - - - - - - - - - - - - - - - - - - - -
Input Output
+
+ +
    @@ -39,89 +30,81 @@
-
  - - - - - - - -
{{vout.scriptPubKey.type}} - -
-
- - - -
+
-
-
-
-
-

Summary

-
-
- - - - - - - - - - - - - - - -
Size{{tx.size}} (bytes)
Received Time{{tx.time * 1000|date:'medium'}}
BlockBlock
+
+ +
+ +
+
+
+ {{vout.scriptPubKey.type}} +
+
+ +
-
-
-
-

Inputs and Outputs

-
-
- - - - - - - - - - - - - - - -
Total Input{{tx.valueIn}} BTC
Total Output{{tx.valueOut}} BTC
Fees{{tx.feeds}} BTC
-
+ +
+ Feeds: {{tx.feeds}} +
+ + +
+
+
+ +
+
+

Summary

+ + + + + + + + + + + + + + + +
Size {{tx.size}} (bytes)
Received Time {{tx.time * 1000|date:'medium'}}
Block Block
+
+
+

Inputs and Outputs

+ + + + + + + + + + + + + + + +
Total Input{{tx.valueIn}} BTC
Total Output{{tx.valueOut}} BTC
Fees{{tx.feeds}} BTC