Add hash to the list of blocks in explorer
This commit is contained in:
parent
80d81055cd
commit
deb4bc9338
@ -8,16 +8,18 @@
|
|||||||
<table class="table table-striped data-table table-hover">
|
<table class="table table-striped data-table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 20%;">Height</th>
|
<th style="width: 10%;">Height</th>
|
||||||
|
<th style="width: 48%;">Hash</th>
|
||||||
<th>Timestamp</span></th>
|
<th>Timestamp</span></th>
|
||||||
<th class="text-right" style="width: 20%;">Transactions</th>
|
<th class="text-right" style="width: 10%;">Transactions</th>
|
||||||
<th class="text-right" style="width: 20%;">Size</th>
|
<th class="text-right" style="width: 10%;">Size</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{- range $b := $blocks.Blocks -}}
|
{{- range $b := $blocks.Blocks -}}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/block/{{$b.Height}}">{{$b.Height}}</a></td>
|
<td><a href="/block/{{$b.Height}}">{{$b.Height}}</a></td>
|
||||||
|
<td class="ellipsis">{{$b.Hash}}</td>
|
||||||
<td>{{formatUnixTime $b.Time}}</td>
|
<td>{{formatUnixTime $b.Time}}</td>
|
||||||
<td class="text-right">{{$b.Txs}}</td>
|
<td class="text-right">{{$b.Txs}}</td>
|
||||||
<td class="text-right">{{$b.Size}}</td>
|
<td class="text-right">{{$b.Size}}</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user