Add hash to the list of blocks in explorer

This commit is contained in:
Martin Boehm 2018-10-01 17:01:44 +02:00
parent 80d81055cd
commit deb4bc9338

View File

@ -8,16 +8,18 @@
<table class="table table-striped data-table table-hover">
<thead>
<tr>
<th style="width: 20%;">Height</th>
<th style="width: 10%;">Height</th>
<th style="width: 48%;">Hash</th>
<th>Timestamp</span></th>
<th class="text-right" style="width: 20%;">Transactions</th>
<th class="text-right" style="width: 20%;">Size</th>
<th class="text-right" style="width: 10%;">Transactions</th>
<th class="text-right" style="width: 10%;">Size</th>
</tr>
</thead>
<tbody>
{{- range $b := $blocks.Blocks -}}
<tr>
<td><a href="/block/{{$b.Height}}">{{$b.Height}}</a></td>
<td class="ellipsis">{{$b.Hash}}</td>
<td>{{formatUnixTime $b.Time}}</td>
<td class="text-right">{{$b.Txs}}</td>
<td class="text-right">{{$b.Size}}</td>