-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
86 lines (73 loc) · 3.94 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 lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="css/style.css">
<title>Crypto Swings</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>Crypto Swings <a target="_blank" href="https://github.com/rhammell/crypto-swings"><i class="fab fa-github fa-xs"></i></a></h2>
<form id="search" class="form-inline">
<div class="form-group">
<label>See when </label>
<select id="product" class="parameter form-control">
<option value="BTC-USD" selected>BTC</option>
<option value="BCH-USD">BCH</option>
<option value="ETH-USD">ETH</option>
<option value="LTC-USD">LTC</option>
</select>
<label> prices changed by </label>
<select id="change" class="parameter form-control">
<option value="50">+50%</option>
<option value="40">+40%</option>
<option value="30">+30%</option>
<option value="20" selected>+20%</option>
<option value="10">+10%</option>
<option value="-10">-10%</option>
<option value="-20">-20%</option>
<option value="-30">-30%</option>
<option value="-40">-40%</option>
<option value="-50">-50%</option>
</select>
<label> within one</label>
<select id="time" class="parameter form-control">
<option value="1">Day</option>
<option value="7" selected>Week</option>
<option value="30">Month</option>
</select>
</div>
</form>
<svg id="chart"></svg>
<div class="table-responsive">
<table id="results" class="table table-striped">
<thead>
<tr>
<th>Start Date</th>
<th>Start Price</th>
<th>End Date</th>
<th>End Price</th>
<th>Days</th>
<th>Change</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
<script src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script src="js/process.js"></script>
</body>
</html>