blockbook/static/templates/mempool.html
2023-02-01 17:58:37 +01:00

25 lines
816 B
HTML

{{define "specific"}}{{$txs := .MempoolTxids.Mempool}}{{$data := .}}
<div class="row">
<div class="col-lg-6"><h1>Mempool Transactions</h1><h5 class="mb-lg-0">{{$.MempoolTxids.MempoolSize}} transactions in mempool</h5></div>
<div class="col-lg-6">{{if $txs}}{{template "paging" $data }}{{end}}</div>
</row>
{{if $txs}}
<table class="table data-table table-hover">
<thead>
<tr>
<th style="width: 70%;">Transaction</th>
<th style="width: 30%;">Time of appearance</th>
</tr>
</thead>
<tbody>
{{range $tx := $txs}}
<tr>
<td class="ellipsis"><a href="/tx/{{$tx.Txid}}">{{$tx.Txid}}</a></td>
<td>{{unixTimeSpan $tx.Time}}</td>
</tr>
{{end}}
</tbody>
</table>
{{end}}
{{template "paging" $data }}
{{end}}