forked from Izzzio/BlockExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_old.html
More file actions
245 lines (209 loc) · 9.8 KB
/
index_old.html
File metadata and controls
245 lines (209 loc) · 9.8 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<!--
iZ³ | Izzzio Blockchain explorer - izzz.io
Forked from https://github.com/Izzzio/BlockExplorer for BitCoen project (bitcoen.io)
@author: Andrey Nedobylsky (admin@twister-vl.ru)
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>BitCoen Blockchain Explorer</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" href="explorer.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="/">
<img src="https://bitcoen.io/img/logo.png" alt="BitCoen">
</a>
<button class="navbar-toggler d-lg-none" type="button" data-toggle="collapse"
data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExampleDefault">
<ul class="navbar-nav mr-auto">
</ul>
<form class="form-inline mt-2 mt-md-0 searchForm">
<input class="form-control mr-sm-2" id="search" type="text" placeholder="Block id or hash" aria-label="Search">
<button class="btn btn-dark-green my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</nav>
</header>
<div class="container-fluid">
<div class="row">
<main role="main" class="col-md-12 pt-3">
<div>
Current connections: <span class="badge badge-primary" id="connections">0</span>
Blockchain Height: <span class="badge badge-success" id="height">0</span>
</div>
<div id="lastestBlocksPage">
<h2>Latest Blocks</h2>
<div class="table-responsive">
<table class="table table-striped" id="lastTransactions">
<thead>
<tr>
<th>#</th>
<th>Type</th>
<th>Age</th>
<th>Size in bytes</th>
</tr>
</thead>
<tbody>
<tr></tr>
</tbody>
</table>
</div>
</div>
<div id="blockDetailPage" style="display: none">
<div class="row">
<div class="col-md-4">
<h2>Block #<span class="blockIndex">0</span></h2>
</div>
<div class="col-md-6"></div>
<div class="col-md-2">
<a href="#" class="btn btn-secondary btn-block returnButton">Return</a>
</div>
</div>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10"><br>
<div class="row">
<div class="col-md-3">
<b>Block hash: </b>
</div>
<div class="col-md-9">
<span class="blockHash"></span>
</div>
<div class="col-md-3">
<b>Previous block hash: </b>
</div>
<div class="col-md-9">
<span class="blockPrevHash"></span>
</div>
</div>
<h2>Summary</h2>
<div class="row">
<div class="col-md-6">
<table class="table" style="table-layout: fixed">
<tbody>
<tr>
<td><strong><span>Height</span></strong></td>
<td class="text-right text-muted"><span class="blockIndex">0</span></td>
</tr>
<tr>
<td><strong><span>Timestamp</span></strong></td>
<td class="text-right text-muted ng-binding blockTimestamp"></td>
</tr>
<tr>
<td><strong><span>Start Timestamp</span></strong></td>
<td class="text-right text-muted ng-binding blockStartTimestamp"></td>
</tr>
<tr class="">
<td><strong><span>Previous Block</span></strong></td>
<td class="text-right"><a href="#" class="blockHref blockPrevious"></a></td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-6">
<table class="table">
<tbody>
<tr>
<td><strong><span>Size (bytes)</span></strong></td>
<td class="text-right text-muted ng-binding blockSize">99225</td>
</tr>
<tr>
<td><strong><span>Block type</span></strong></td>
<td class="text-right text-muted ng-binding blockType"></td>
</tr>
<tr>
<td><strong><span>Block sign</span></strong></td>
<td class="text-right text-muted ng-binding blockSign" style="overflow-x: scroll; max-width: 500px"></td>
</tr>
<tr>
<td><strong><span>Next Block</span></strong></td>
<td class="text-right"><a href="#" class="blockHref blockNext"></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<h2>Block data</h2>
<div class="col-md-12" style="overflow-x: scroll">
<code class="blockData"></code>
</div>
<br>
<h2>Parser</h2>
<div class="blockParserOutput">
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<div class="modal hide fade hide" id="loadingModal">
<div class="modal-body" style="text-align: center; padding-top: 20vh">
<h2 style="color: white">Waiting for blockchain connection...</h2>
<div class="loader" style="margin-left: 50vw;"></div>
</div>
</div>
<script>if(typeof module === 'object') {
window.module = module;
module = undefined;
}</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.1/moment.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"
integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"
integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"
crossorigin="anonymous"></script>
<script src="https://raw.githubusercontent.com/VitaminBlockchain/Candy/master/candy.js"></script>
<script src="candy.js?_=1"></script>
<script src="explorer.js?_=131"></script>
<!-- Parsers -->
<script src="parsers/CandyData.js"></script>
<script src="parsers/Smart.js"></script>
<script src="parsers/Transaction.js?_=123"></script>
<script src="parsers/WalletRegister.js"></script>
<!-- Parsers -->
<!-- Insert this line after script imports -->
<script>if(window.module) {
module = window.module;
}</script>
<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter45509076 = new Ya.Metrika({
id:45509076,
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true
});
} catch(e) { }
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () { n.parentNode.insertBefore(s, n); };
s.type = "text/javascript";
s.async = true;
s.src = "https://mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/45509076" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</body>
</html>