-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (51 loc) · 1.97 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
<!DOCTYPE html>
<html>
<header>
<link rel="stylesheet" href="style.css">
</header>
<body>
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<div id="page">
<div class="statbox"><span>WebDollar</span> Proof of Stake Calculator
<div id="quote">
Calculate the amount of Web$ you will earn with PoS (not yet implemented on WebDollar Blockchain)
</div>
</div>
<div class="inputbox" style="color:#F4733D">
Your stake: <input class="textbox" id='stake' type="text" name="your stake"> </input>
<section>
<button id="js-trigger-overlay" type="button" onclick="calculatePos()">Calculate Earning</button>
</section>
</div>
<div class="statbox" style="color:#F4733D">
<div class="number" id='dailyPos'> </div>
<div class="type" id = 'show1' style="color:#FAB669">/Day
<div class="details" style="color:#F4733D">With a total of 5,14 B WebDollars put at stake</div>
</div>
</div>
<div class="statbox" style="color:#F1F73E">
<div class="number" id='monthlyPos'> </div>
<div class="type" id = 'show2' style="color:#F4F799">/Month
<div class="details" style="color:#F1F73E">With a total of 5,14 B WebDollars put at stake</div>
</div>
</div>
<div class="statbox" style="color:#A4E838">
<div class="number" id='annualPos'> </div>
<div class="type" id = 'show3' style="color:#C6F27E">/Year
<div class="details" style="color:#A4E838">With a total of 5.14 B WebDollars put at stake</div>
</div>
</div>
</div>
<script src="./pos.js"></script>
<script>
var input = document.getElementById("stake");
input.addEventListener("keyup", function(event) {
event.preventDefault();
if (event.keyCode === 13) {
document.getElementById("js-trigger-overlay").click();
}
});
</script>
</body>
</html>