-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalytics.html
34 lines (28 loc) · 1.34 KB
/
analytics.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/popup.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
<style>
p
{
text-transform: uppercase !important;
letter-spacing: 1px;
word-spacing: 3px;
font-size: 1.3em !important;
}
</style>
</head>
<body>
<canvas style="display:block; align-items: center !important; margin: 30px; width: 100%; height: 50%;" id="analytics"></canvas>
<canvas style="display:block; align-items: center !important; margin: 30px; width: 100%; height: 50%;" id="avg_hours"></canvas>
<canvas style="display:block; align-items: center !important; margin: 30px; width: 100%; height: 50%;" id="hours_week"></canvas>
<p class="ui center aligned small header">Total number of days: <span id="d">0</span></p>
<p class="ui center aligned small red header">Hours not in Flow: <span id="nf">0</span></p>
<p class="ui center aligned small green header">Hours in Flow: <span id="f">0</span></p>
<br>
</body>
<script src="scripts/analytics.js"></script>
</html>