arnaucube
arnaucube/goBlockchainDataAnalysisPublic Self-hosted repository
goBlockchainDataAnalysis/web/views/blocks/blocks.html
web/views/blocks/blocks.htmlRaw
 1<div class="row">
 2  <div class="col-md-12">
 3    <div class="panel">
 4      <div class="panel-heading c_deepPurpleG300to500">
 5        <h3 class="panel-title">
 6            Last Blocks with amount
 7            <div ng-click="getBlocks()" class="btn btn-default pull-right">Previous</div>
 8        </h3>
 9      </div>
10      <div class="panel-body">
11          <table class="table table-hover">
12              <thead>
13                  <tr>
14                      <th>BlockHeight</th>
15                      <th>Txid</th>
16                      <th>Input</th>
17                      <th>Output</th>
18                  </tr>
19              </thead>
20              <tbody>
21                  <tr ng-repeat="tx in txs">
22                      <td style="max-width:20px; overflow:hidden;">
23                          <a ng-href="#!/block/{{tx.blockheight}}" class="list-group-item-text">
24                              {{tx.blockheight}}
25                          </a>
26                      </td>
27                      <td style="max-width:20px; overflow:hidden;">
28                          <a ng-href="#!/address/{{tx.from}}" class="list-group-item-text">
29                              {{tx.txid}}
30                          </a>
31                      </td>
32                      <td style="max-width:20px; overflow:hidden;">
33                          <table><tbody><tr ng-repeat="vin in tx.vin"><td>
34                              <a ng-href="#!/address/{{vin.address}}" class="list-group-item-text">
35                                  {{vin.address}}
36                              </a>
37                              :{{vin.amount}}
38                          </td></tr></tbody></table>
39                      </td>
40                      <td style="max-width:20px; overflow:hidden;">
41                          <table><tbody><tr ng-repeat="vout in tx.vout"><td>
42                              <a ng-href="#!/address/{{vout.address}}" class="list-group-item-text">
43                                  {{vout.address}}
44                              </a>
45                              :{{vout.value}}
46                          </td></tr></tbody></table>
47                      </td>
48                  </tr>
49              </tbody>
50          </table>
51        <ul class="pager">
52            <li><a class="withripple" ng-click="getPrev()">Previous</a></li>
53            Current page: {{page}}
54            <li><a class="withripple" ng-click="getNext()">Next</a></li>
55        </ul>
56      </div>
57    </div>
58  </div>
59</div>