blockbook/static/templates/mempool.html

27 lines
956 B
HTML

{{define "specific"}}{{$txs := .MempoolTxids.Mempool}}{{$data := .}}
<h1>Mempool Transactions <small class="text-muted">by time of appearance</small>
</h1>
<div class="row h-container">
<h5 class="col-md-6 col-sm-12">{{$.MempoolTxids.MempoolSize}} transactions in mempool</h5>
<nav class="col-md-6 col-sm-12">{{template "paging" $data }}</nav>
</div>
<div class="data-div">
<table class="table table-striped data-table table-hover">
<thead>
<tr>
<th style="width: 70%;">Transaction</th>
<th style="width: 30%;">Time</th>
</tr>
</thead>
<tbody>
{{- range $tx := $txs -}}
<tr>
<td class="ellipsis"><a href="/tx/{{$tx.Txid}}">{{$tx.Txid}}</a></td>
<td>{{formatUnixTime $tx.Time}}</td>
</tr>
{{- end -}}
</tbody>
</table>
</div>
<nav>{{template "paging" $data }}</nav>
{{end}}