summaryrefslogtreecommitdiff
path: root/rpcblockchainexplorer/templates/block.html
blob: 6807550345398abf7571c2fac20d4ec8cde7199f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "layout.html" %}

{% block content %}
<table class="table table-striped">
    {% for key_name in block.keys() %}
        <tr>
            <th>{{ key_name }}</th>
            <td>{{ block[key_name] }}</td>
        </tr>
    {% endfor %}
    {% if nextblockhash != None %}
        <tr>
            <th>nextblockhash</th>
            <td><a href="/block/{{ nextblockhash }}">{{ nextblockhash }}</a></td>
        </tr>
    {% endif %}
</table>

<h3>Transactions</h3>

<ul>
    {% for txid in txids %}
    <li><a href="/transaction/{{ txid }}">{{ txid }}</a></li>
    {% endfor %}
</ul>

{% endblock %}