github.com/trezor/blockbook@v0.4.1-0.20240328132726-e9a08582ee2c/static/templates/mempool.html (about)

     1  {{define "specific"}}{{$txs := .MempoolTxids.Mempool}}{{$data := .}}
     2  <div class="row">
     3      <div class="col-lg-6"><h1>Mempool Transactions</h1><h5 class="mb-lg-0">{{$.MempoolTxids.MempoolSize}} transactions in mempool</h5></div>
     4      <div class="col-lg-6">{{if $txs}}{{template "paging" $data }}{{end}}</div>
     5  </row>
     6  {{if $txs}}
     7  <table class="table data-table table-hover">
     8      <thead>
     9          <tr>
    10              <th style="width: 70%;">Transaction</th>
    11              <th style="width: 30%;">Time of appearance</th>
    12          </tr>
    13      </thead>
    14      <tbody>
    15          {{range $tx := $txs}}
    16          <tr>
    17              <td class="ellipsis"><a href="/tx/{{$tx.Txid}}">{{$tx.Txid}}</a></td>
    18              <td>{{unixTimeSpan $tx.Time}}</td>
    19          </tr>
    20          {{end}}
    21      </tbody>
    22  </table>
    23  {{end}}
    24  {{template "paging" $data }}
    25  {{end}}