From 67dc91bf099c630106cc036ef47401ae18b56aea Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 20 Apr 2016 06:10:50 +0800 Subject: [PATCH] link to tx page added --- src/templates/block.html | 4 ++-- src/templates/css/style.css | 47 ------------------------------------- src/templates/tx.html | 10 ++++---- 3 files changed, 7 insertions(+), 54 deletions(-) delete mode 100644 src/templates/css/style.css diff --git a/src/templates/block.html b/src/templates/block.html index 89c66c9..b98f569 100644 --- a/src/templates/block.html +++ b/src/templates/block.html @@ -42,7 +42,7 @@ {{#coinbase_txs}} - {{hash}} + {{hash}} {{sum_outputs}} {{tx_size}} {{version}} @@ -67,7 +67,7 @@ {{#blk_txs}} - {{hash}} + {{hash}} {{sum_outputs}} {{tx_fee}} {{mixin}} diff --git a/src/templates/css/style.css b/src/templates/css/style.css deleted file mode 100644 index 71825fe..0000000 --- a/src/templates/css/style.css +++ /dev/null @@ -1,47 +0,0 @@ -body { - margin: 0; - padding: 0; - color: white; - background-color: black; -} - -h1, h2, h3, h4, h5, h6 { - text-align: center; -} - -.center { - margin: auto; - width: 96%; - /*border: 1px solid #73AD21; - padding: 10px;*/ -} - -tr { - font-family: "Lucida Console", Monaco, monospace; - font-size : 12px; - height: 22px; -} - -td { - text-align: center; -} - -a:link { - text-decoration: none; - color: white; -} - -a:visited { - text-decoration: none; - color: white; -} - -a:hover { - text-decoration: underline; - color: white; -} - -a:active { - text-decoration: none; - color: white; -} \ No newline at end of file diff --git a/src/templates/tx.html b/src/templates/tx.html index d87e320..53b9f25 100644 --- a/src/templates/tx.html +++ b/src/templates/tx.html @@ -1,15 +1,15 @@
-

Tx hash (block height): {{blk_hash}} ({{blk_height}})

+

Tx hash (block height): {{tx_hash}} ({{blk_height}})

{{#have_prev_hash}} -
Previous block: {{prev_hash}}
+
Previous tx: {{prev_hash}}
{{/have_prev_hash}} {{#have_next_hash}} -
Next block: {{next_hash}}
+
Next tx: {{next_hash}}
{{/have_next_hash}} @@ -32,7 +32,7 @@ -

Miner reward transaction

+

Inputs {{inputs_no}}

@@ -53,7 +53,7 @@ -

Transactions ({{no_txs}})

+

Outputs ({{outputs_no}})

{{#have_txs}}
hash