arnaucube
arnaucube/goBlockchainDataAnalysisPublic Self-hosted repository
goBlockchainDataAnalysis/web/views/address/address.html
web/views/address/address.htmlRaw
 1<div class="row">
 2    <div class="col-sm-4">
 3        <div class="panel">
 4            <div class="panel-heading c_deepPurpleG300to500">
 5                <h3 class="panel-title">{{address.hash}}</h3>
 6            </div>
 7            <div class="panel-body">
 8                {{address.amount}}
 9            </div>
10        </div>
11    </div>
12    <div class="col-sm-8">
13        <div class="panel">
14            <div class="panel-heading c_deepPurpleG300to500">
15                <h3 class="panel-title">Blocks where address appears</h3>
16            </div>
17            <div class="panel-body">
18                <div class="list-group">
19                    <a ng-href="#!/block/{{block.height}}" class="list-group-item-text" ng-repeat="block in address.blocks">
20                        Block Height: {{block.height}}
21                        <br> Hash: {{block.hash}}
22                        <br> {{block.datet}}
23                        <br> Size: {{block.size}} bytes
24                        <br>
25                    </a>
26                </div>
27            </div>
28        </div>
29    </div>
30</div>
31
32<div class="row">
33    <div class="col-sm-12">
34        <div class="panel">
35            <div class="panel-heading c_deepPurpleG300to500">
36                <h3 class="panel-title">Tx where address appears</h3>
37            </div>
38            <div class="panel-body">
39                <table class="table table-hover">
40                    <thead>
41                        <tr>
42                            <th>BlockHeight</th>
43                            <th>From</th>
44                            <th>To</th>
45                            <th>Amount</th>
46                            <th></th>
47                        </tr>
48                    </thead>
49                    <tbody>
50                        <tr ng-repeat="tx in address.txs">
51                            <td style="max-width:20px; overflow:hidden;">
52                                <a ng-href="#!/block/{{tx.blockheight}}" class="list-group-item-text">
53                                    {{tx.blockheight}}
54                                </a>
55                            </td>
56                            <td style="max-width:20px; overflow:hidden;">
57                                <a ng-href="#!/address/{{tx.from}}" class="list-group-item-text">
58                                    {{tx.from}}
59                                </a>
60                            </td>
61                            <td style="max-width:20px; overflow:hidden;">
62                                <a ng-href="#!/address/{{tx.to}}" class="list-group-item-text">
63                                    {{tx.to}}
64                                </a>
65                            </td>
66                            <td>{{tx.amount}}</td>
67                            <td><a ng-href="#!/tx/{{tx.id}}">View</a></td>
68                        </tr>
69                    </tbody>
70                </table>
71            </div>
72        </div>
73    </div>
74</div>