-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
50 lines (44 loc) · 1.74 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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Netflix Watchtime / By ghrlt</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="content" style="display: none;">
<img src="medias/netflix.png" style="max-width: 40%; max-height: 20vh;">
<div class="separator">
<div></div>
</div>
<p style="padding-top: 2%;" class="text" data-text-key="youSpent"></p>
<span id="total-stat" class="watchtime"></span>
<p class="text" data-text-key="watchingNetflixContent"></p>
<div style="padding-top: 5rem;"></div>
<div id="stats">
<div class="stat">
<canvas id="timeproportion"></canvas>
</div>
<div class="stat">
<canvas id="hourproportion"></canvas>
</div>
<div class="stat">
<canvas id="contentproportion"></canvas>
</div>
</div>
<div style="position: fixed; bottom: 2rem; width: 100%; display: flex; justify-content: space-around;">
<a target="_blank" class="twitter-share-button" id="twitter-share-btn">
<i></i>
<span class="text" data-text-key="shareResults"></span>
</a>
</div>
</div>
<div id="loader">
<div class="netflix-loader"></div>
<p id="logs"></p>
</div>
</body>
<!--<script src="--countUp.umd.js"></script>-->
<script src="chart.js" ></script>
<script src="scripts.js" ></script>
</html>