-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
478 lines (441 loc) · 20.4 KB
/
index.html
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/ergo.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/img/ergo.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Your Website Name</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<!-- Animation library for notifications -->
<link href="assets/css/animate.min.css" rel="stylesheet"/>
<!-- Paper Dashboard core CSS -->
<link href="assets/css/paper-dashboard.css" rel="stylesheet"/>
<!-- CSS for Demo Purpose, don't include it in your project -->
<link href="assets/css/demo.css" rel="stylesheet" />
<!-- Fonts and icons -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-87DrmpqHRiY8hPLIr7ByqhPIywuSsjuQAfMXAE0sMUpY3BM7nXjf+mLIUSvhDArs" crossorigin="anonymous">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Muli:400,300' rel='stylesheet' type='text/css'>
<link href="assets/css/themify-icons.css" rel="stylesheet">
</head>
<body>
<div class="wrapper">
<div class="sidebar" data-background-color="black" data-active-color="danger">
<!--
Tip 1: you can change the color of the sidebar's background using: data-background-color="white | black"
Tip 2: you can change the color of the active button using the data-active-color="primary | info | success | warning | danger"
-->
<div class="sidebar-wrapper">
<div class="logo">
<a href="Your Website" class="simple-text">
your website name
</a>
</div>
<ul class="nav">
<li class="active">
<a href="index.html">
<i class="fa fa-home"></i>
<p>Home</p>
</a>
</li>
<li>
<a href="dashboard.html">
<i class="fa fa-user"></i>
<p>Dashboard</p>
</a>
</li>
<li>
<a href="miners.html">
<i class="fa fa-user"></i>
<p>Miners</p>
</a>
</li>
<li>
<a href="blocks.html">
<i class="fa fa-cubes"></i>
<p>Blocks</p>
</a>
</li>
<li>
<a href="payments.html">
<i class="fa fa-credit-card"></i>
<p>Payments</p>
</a>
</li>
<li>
<a href="connect.html">
<i class="fa fa-server"></i>
<p>Connect</p>
</a>
</li>
</ul>
</div>
</div>
<div class="main-panel">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar bar1"></span>
<span class="icon-bar bar2"></span>
<span class="icon-bar bar3"></span>
</button>
<a class="navbar-brand" href="#">Pool Statistics</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
</li>
</ul>
</div>
</div>
</nav><br>
<div class="content">
<div class="container-fluid">
<img class="img-responsive" src="./assets/img/ergo-platform2.png"></class>
</div>
</class><br>
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-user"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Miners Online</p>
<div id="poolMiners"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="fas fa-chart-line"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Pool Hashrate</p>
<div id="poolHashRate"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-danger text-center">
<i class="ti-pulse"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Network difficulty</p>
<div id="networkDifficulty"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-danger text-center">
<i class="ti-pulse"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Network Hashrate</p>
<div id="networkHashRate"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-cubes"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Blockchain Height</p>
<div id="blockchainHeight"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-cube"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Last Network Block</p>
<div id="lastNetworkBlock"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="fal fa-percent"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Pool Fee</p>
<div id="poolFeePercent"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-money-bill"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Payout Scheme</p>
<div id="payoutScheme"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-cubes"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Pool Blocks</p>
<div id="poolBlocks"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="fa fa-money-bill"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Current Price</p>
<p id='info'></p>
<script>
const getBtcData = async () => {
fetch('https://min-api.cryptocompare.com/data/price?fsym=ERG&tsyms=USD')
.then(response => response.json())
.then(data => {
console.log(data);
document.getElementById("info").innerHTML = '<b> $'+ data.USD + '</b>'
});
}
getBtcData();
tcount=setInterval(function(){
tcount++
if (tcount==10) {getBtcData(); tcount=0}
document.getElementById("infotime").innerHTML = 'Next update in ' + (900-tcount) + ' seconds'
},1000);
</script>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="card">
<div class="content">
<div class="row">
<div class="col-xs-5">
<div class="icon-big icon-success text-center">
<i class="far fa-credit-card"></i>
</div>
</div>
<div class="col-xs-7">
<div class="numbers">
<p>Total Paid</p>
<div id="totalPaid"></div>
</div>
</div>
</div>
<div class="footer">
<hr />
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="header">
<h4 class="title">Pool Hashrate</h4>
<p class="category">24 Hours performance</p>
</div>
<div class="content">
<div id="chartStatsHashRate" class="ct-chart"></div>
<div class="footer">
<hr>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-12">
<div class="card ">
<div class="header">
<h4 class="title">Mining Calculator</h4>
</div>
<div class="content">
<a class="minerstat-widget" title="ERG mining calculator" data-coin="ERG" data-algo="Autolykos2" data-info="yes" data-style="light" data-color="" data-unit="MH" data-hashrate="100" data-width="" rel="nofollow" href="https://minerstat.com/coin/ERG">Ergo mining calculator</a><script async src="https://api.minerstat.com/v2/widgets/coin.js" charset="utf-8"></script>
<div class="footer">
<hr>
</div>
</div>
</div>
<div class="col--md-12>
<div class="card">
<div class="content"><center> Fully Compatible with <a href="https://nicehash.com"> NICEHASH </a> & <a href="https://miningrigrentals.com"> MINING RIG RENTALS </a></center>
</div>
<footer class="footer">
<div class="container-fluid">
<div class="copyright pull-center">
© <script>document.write(new Date().getFullYear())</script>, © <a href="https://miningcrypto.live">MININGCRYPTO.LIVE</a>
</div>
</div>
</footer>
</div>
</div>
</body>
<!-- Core JS Files -->
<script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>
<!-- Checkbox, Radio & Switch Plugins -->
<script src="assets/js/bootstrap-checkbox-radio.js"></script>
<!-- Charts Plugin -->
<script src="assets/js/chartist.min.js"></script>
<!-- Notifications Plugin -->
<script src="assets/js/bootstrap-notify.js"></script>
<!-- Google Maps Plugin -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>
<!-- Paper Dashboard Core javascript and methods for Demo purpose -->
<script src="./assets/js/paper-dashboard.js"></script>
<script src="./assets/js/miningcore-ui.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var renderCallback = $.Callbacks();
renderCallback.add(function () {
loadBlocksList();
function render() {
setInterval(function load() {
loadStatsData();
return load;
}(), 60000);
setInterval(function load() {
loadStatsChart();
return load;
}(), 600000);
}
render();
});
loadPools(renderCallback);
});
</script>
</html>