-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
86 lines (77 loc) · 3.26 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Distributed Nano Proof of Work System</title>
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<link rel="stylesheet" href="static/css/fontawesome.min.css">
</head>
<body>
<main role="main" class="container">
<form class="mb-3">
<h1 class="mt-5">Distributed Nano Proof of Work System</h1>
<div id="payoutaddress">
<label for="payout">Your Payout Address</label>
<input type="text" class="form-control" id="payout"
value="nano_1ninja7rh37ehfp9utkor5ixmxyg8kme8fnzc4zty145ibch8kf5jwpnzr3r" placeholder="nano_1234..."
pattern="(nano|xrb)_[13]{1}[13456789abcdefghijkmnopqrstuwxyz]{59}" required>
</div>
<button id="statusbtn" class="btn btn-primary mt-3">Start</button>
</form>
<div class="row">
<div class="col-md-3 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title"><span id="hashpower">0</span> kH/s</h5>
<h6 class="card-subtitle text-muted">Hash rate</h6>
</div>
</div>
</div>
<div class="col-md-3 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title" id="workcounter">0</h5>
<h6 class="card-subtitle text-muted">Submitted work</h6>
</div>
</div>
</div>
<div class="col-md-3 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title" id="rewardcounter">0</h5>
<h6 class="card-subtitle text-muted">Rewarded work</h6>
</div>
</div>
</div>
<div class="col-md-3 mb-3">
<div class="card">
<div class="card-body">
<h5 class="card-title" id="lastwork">No work</h5>
<h6 class="card-subtitle text-muted">Last work value</h6>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12 mb-3">
<input type="checkbox" id="enablegraph" name="enablegraph" checked> Enable Graph
<div class="chart-container">
<canvas id="lastWorkChart"></canvas>
</div>
</div>
</div>
</main>
<footer class="container text-right">
<p>
<span id="connection_status">Disconnected</span> - <span id="last_heartbeat">No Heartbeat</span> - <a
href="https://github.com/BitDesert/nano-dpow-web" target="_blank">GitHub</a>
</p>
</footer>
<script src="static/js/nano-webgl-pow.js"></script>
<script src="static/js/mqtt.min.js"></script>
<script src="static/js/Chart.bundle.min.js"></script>
<script src="static/js/client.js"></script>
<script src="static/js/chart.js"></script>
</body>
</html>