-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblockList.html
More file actions
189 lines (182 loc) · 6.31 KB
/
blockList.html
File metadata and controls
189 lines (182 loc) · 6.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<title>Wisdom Public Chain主链浏览器</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/account.css" />
<link rel="stylesheet" type="text/css" href="css/deal.css" />
<link rel="stylesheet" type="text/css" href="css/nav.css"/>
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.css"/>
<script src="js/jquery.min.js"></script>
<script src="js/template.js" type="text/javascript" charset="utf-8"></script>
<script src="js/blockList.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<div id="page_header"></div>
<script>
$("#page_header").load("header.html");
</script>
<div class="clear">
</div>
<div class="con-box" style="margin-left: 0rem;">
<div class="wid-1200">
<div class="wid-75">
<div class="ant-bread">
<a href="index.html">
<i></i>
<span>Home</span></a>
<span class="arrows">></span>
<a href="block.html"><span>Block</span></a>
<span class="arrows">></span>
<span>Block Details</span>
<span class="in">
<input type="text"placeholder="Address/Trading hash" id="soso" style="width:50%;height:26px;"/>
<a style="min-width: 2%;"><span onclick="soso_tag()"><i class="fa fa-search"style="margin-left: -24px;"></i></span></a>
</span>
<span ></span>
</div>
</div>
<div class="blocks" style="margin-top: 2em;">
<h3 class="h3"><span>Block Details</span></h3>
<div class="subtitle">
<span>Survey</span>
<div class="tabs" style="display: block; transform: translate3d(0px, 0px, 0px); width: 60px;"></div>
</div>
<section class="section">
<div id="blocks_data_List">
<script type="text/json" id="tpl3">
<ul>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">BlockHash:</span>
<span><%=obj.blockHash%></span>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">BlockHeight:</span>
<span><%=obj.nHeight%></span>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Miner by:</span>
<span><a title="<%=obj.Minner%>" href="particulars.html?coinaddress=<%=obj.Minner%>"><%=obj.Minner%></a></span>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Block Reward:</span>
<span><%=obj.BlockRewade/100000000%> (WDC)</span>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Merkle root:</span>
<span><%=obj.hashMerkleRoot%></objspan>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Size:</span>
<span><%=obj.BlockSize%> (Bytes)</objspan>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Timestamp:</span>
<span><%=obj.ntime%></span>
</li>
<li class="licss" style="padding: 10px 20px;margin-bottom: 2px;">
<span style="width: 30%;">Transactions:</span>
<span><%=obj.Remarks%></span>
</li>
</ul>
</script>
</div>
</section>
<br />
<div class="subtitle" id="div_transaction">
<span>事务</span>
<div class="tabs" style="display: block; transform: translate3d(0px, 0px, 0px); width: 60px;"></div>
</div>
<section class="box" id="section_transaction">
<table class="" style="width: 100%;">
<colgroup>
<col>
<col>
<col>
<col>
<col>
<col>
<col>
<col>
</colgroup>
<thead class="ant-table-thead">
<tr>
<th class="">
<div>NO.</div>
</th>
<th class="">
<div>Txn Hash</div>
</th>
<th class="" >
<div>Type</div>
</th>
<th class="" >
<div>From</div>
</th>
<th class="" >
<div>To</div>
</th>
<th class="tr">
<div>Value(WDC)</div>
</th>
</tr>
</thead>
<tbody class="" id="transactions_data_List">
<script type="text/json" id="tpl4">
<%if(obj.length==0){%>
<tr>
<td class="" colspan="6">aaa</td>
</tr>
<%}else{%>
<% for(var i = 0;i<obj.length;i++){%>
<tr class="showtr" data-row-key="1">
<td class="" ><span class="" style="padding-left: 0px;"></span><%=i+1%></td>
<td title="<%=obj[i].hash%>"><%=obj[i].transactionhash%></td>
<td class=""><%=obj[i].type%></td>
<td style="width: 20%;">
<span>
<a class="cursor" title="<%=obj[i].fromaddress%>" href="particulars.html?coinaddress=<%=obj[i].fromaddress%>"><%=obj[i].fromaddress%></a>
</span>
</td>
<td class="">
<span>
<a class="cursor" title="<%=obj[i].toaddress%>" href="particulars.html?coinaddress=<%=obj[i].toaddress%>"><%=obj[i].toaddress%></a>
</span>
</td>
<td class="tr"><%=obj[i].amount%></td>
</tr>
<%}}%>
</script>
</tbody>
</table>
</section>
<table style="width: 100%;visibility: hidden;" id="table_showdiv">
<tbody>
<tr>
<td class="cursor" style="text-align: center;" colspan="6">点击展开</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="page_footer"></div>
<script>
$("#page_footer").load("footer.html");
</script>
<script>
function MyClick(flag) {
if (flag == 'show') {
document.getElementById('header-mobile-menu').setAttribute('class', 'header-mobile-menu show');
}
if (flag == 'hide') {
document.getElementById('header-mobile-menu').classList.remove('show')
}
}
</script>
<script src="js/public.js" type="text/javascript" charset="utf-8"></script>
<script src="js/account.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>