link to tx page added

master
moneroexamples 9 years ago
parent 76d0e0a319
commit 67dc91bf09

@ -42,7 +42,7 @@
</tr> </tr>
{{#coinbase_txs}} {{#coinbase_txs}}
<tr> <tr>
<td>{{hash}}</td> <td><a href="/tx/{{hash}}">{{hash}}</a>
<td>{{sum_outputs}}</td> <td>{{sum_outputs}}</td>
<td>{{tx_size}}</td> <td>{{tx_size}}</td>
<td>{{version}}</td> <td>{{version}}</td>
@ -67,7 +67,7 @@
</tr> </tr>
{{#blk_txs}} {{#blk_txs}}
<tr> <tr>
<td>{{hash}}</td> <td><a href="/tx/{{hash}}">{{hash}}</a></td>
<td>{{sum_outputs}}</td> <td>{{sum_outputs}}</td>
<td>{{tx_fee}}</td> <td>{{tx_fee}}</td>
<td>{{mixin}}</td> <td>{{mixin}}</td>

@ -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;
}

@ -1,15 +1,15 @@
<div> <div>
<H4>Tx hash (block height): {{blk_hash}} ({{blk_height}})</H4> <H4>Tx hash (block height): {{tx_hash}} ({{blk_height}})</H4>
{{#have_prev_hash}} {{#have_prev_hash}}
<H5>Previous block: <a href="/block/{{prev_hash}}">{{prev_hash}}</a></H5> <H5>Previous tx: <a href="/tx/{{prev_hash}}">{{prev_hash}}</a></H5>
{{/have_prev_hash}} {{/have_prev_hash}}
{{#have_next_hash}} {{#have_next_hash}}
<H5>Next block: <a href="/block/{{next_hash}}">{{next_hash}}</a></H5> <H5>Next tx: <a href="/tx/{{next_hash}}">{{next_hash}}</a></H5>
{{/have_next_hash}} {{/have_next_hash}}
@ -32,7 +32,7 @@
</tr> </tr>
</table> </table>
<h3>Miner reward transaction</h3> <h3>Inputs {{inputs_no}}</h3>
<table class="center"> <table class="center">
<tr> <tr>
<td>hash</td> <td>hash</td>
@ -53,7 +53,7 @@
<h3>Transactions ({{no_txs}})</h3> <h3>Outputs ({{outputs_no}})</h3>
{{#have_txs}} {{#have_txs}}
<table class="center" style="width:80%"> <table class="center" style="width:80%">
<tr> <tr>

Loading…
Cancel
Save