-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (47 loc) · 2.17 KB
/
index.html
File metadata and controls
48 lines (47 loc) · 2.17 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
<!DOCTYPE html>
<html lang = "en">
<head>
<meta charset ="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sleep Tracker</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js"></script>
</head>
<body>
<div class = "center">
<h1 id = "title" class = "">DREAMS</h1>
<p id = "info"><b>D</b>ata <b>R</b>etrieval and <b>E</b>valuation for <b>A</b>dvanced <b>M</b>onitoring of <b>S</b>leep
<br> Use our free tool to develop analyze you're sleeping movement, and determine how to improve this in the future.
<br> Learn how to start with our <a href = "/howto/">easy-to-follow howto</a>!
</p>
<br>
<input type = "password" />
<div id = "chart-container">
<button class="button start-button">Start Graphing</button>
<button class="button stop-button">Stop Graphing</button>
<canvas id="chart" style="width: 100%; height: 500px;"></canvas> <!-- Increased height -->
<button class="button clear-button">Reset Graph and ALL DATA</button>
<button class="button end-button">End and Display Results</button>
</div>
<br><br><br><br><br><br><br><br>
<div id="wrapper">
<svg id="meter">
<circle id="outline_curves" class="circle outline" cx="50%" cy="50%">
</circle>
<circle id="low" class="circle range" cx="50%" cy="50%" stroke="#E04644">
</circle>
<circle id="avg" class="circle range" cx="50%" cy="50%" stroke="#FDE47F">
</circle>
<circle id="high" class="circle range" cx="50%" cy="50%" stroke="#39E75F">
</circle>
<circle id="mask" class="circle" cx="50%" cy="50%" >
</circle>
<circle id="outline_ends" class="circle outline" cx="50%" cy="50%">
</circle>
</svg>
<p id="lbl" id="value" for="">Your sleep score is <b>0%</b>.</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>