From 8e7887fa4005dc54cc4474d627044b14b48684c8 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 20 Jan 2014 17:39:27 -0300 Subject: [PATCH] isolate TX view --- public/views/transaction.html | 70 +++--------------------------- public/views/transaction/list.html | 68 +---------------------------- public/views/transaction/tx.html | 68 +++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 130 deletions(-) create mode 100644 public/views/transaction/tx.html diff --git a/public/views/transaction.html b/public/views/transaction.html index fe4afeb1..ddc6007c 100644 --- a/public/views/transaction.html +++ b/public/views/transaction.html @@ -5,66 +5,7 @@
- - -
- -
-
    -
  • - - - Address could not be parsed - {{vin.addr}} - {{vin.value}} BTC -
  • - -
-
-
    -
  • - No Inputs (Newly Generated isCoinBasens) - {{vinn.reward}} BTC -
  • -
-
-
- -
- -
- -
-
-
- {{vout.scriptPubKey.type}} -
-
- -
-
-
-
- -
- Feeds: {{tx.feeds}} -
- - - -
-
+
@@ -81,9 +22,12 @@ {{tx.time * 1000|date:'medium'}} - Block - Block - + Block + + +
diff --git a/public/views/transaction/list.html b/public/views/transaction/list.html index f8501c95..a8d35eb1 100644 --- a/public/views/transaction/list.html +++ b/public/views/transaction/list.html @@ -1,71 +1,5 @@
Loading...
There are not transactions
-
- {{tx.txid}} - {{tx.time * 1000 | date:'medium'}} -
- -
-
-
-
-

No Inputs (Newly Generated isCoinBasens)

-
-

{{vin.reward}} BTC

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

    {{vin.value}} BTC

    -
  • -
-
- -
-   -
- -
-
-
-
- {{vout.scriptPubKey.type}} -
-
-
-
- -
-
-

{{vout.value}} BTC

-
-
-
-
-
- -
-
-
- - - -
- Feeds: {{tx.feeds}} -
-
+
diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html new file mode 100644 index 00000000..a48c67b8 --- /dev/null +++ b/public/views/transaction/tx.html @@ -0,0 +1,68 @@ +
+ {{tx.txid}} + {{tx.time * 1000 | date:'medium'}} +
+ +
+
+
+
+

No Inputs (Newly Generated isCoinBasens)

+
+

{{vin.reward}} BTC

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

    {{vin.value}} BTC

    +
  • +
+
+ +
+   +
+ +
+
+
+
+ {{vout.scriptPubKey.type}} +
+
+
+
+ +
+
+

{{vout.value}} BTC

+
+
+
+
+
+ +
+
+
+ + + +
+ Feeds: {{tx.feeds}} +
+
+