github.com/dawnbass68/maddcash@v0.0.0-20201001105353-c91c12cb36e5/static/templates/mempool.html (about)

     1  {{define "specific"}}{{$txs := .MempoolTxids.Mempool}}{{$data := .}}
     2  <h1>Mempool Transactions <small class="text-muted">by first seen time</small>
     3  </h1>
     4  <div class="row h-container">
     5      <h5 class="col-md-6 col-sm-12">{{$.MempoolTxids.MempoolSize}} Transactions in mempool</h5>
     6      <nav class="col-md-6 col-sm-12">{{template "paging" $data }}</nav>
     7  </div>
     8  <div class="data-div">
     9      <table class="table table-striped data-table table-hover">
    10          <thead>
    11              <tr>
    12                  <th style="width: 70%;">Transaction</th>
    13                  <th style="width: 30%;">First Seen Time</span></th>
    14              </tr>
    15          </thead>
    16          <tbody>
    17              {{- range $tx := $txs -}}
    18              <tr>
    19                  <td class="ellipsis"><a href="/tx/{{$tx.Txid}}">{{$tx.Txid}}</a></td>
    20                  <td>{{formatUnixTime $tx.Time}}</td>
    21              </tr>
    22              {{- end -}}
    23          </tbody>
    24      </table>
    25  </div>
    26  <nav>{{template "paging" $data }}</nav>
    27  {{end}}