-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (51 loc) · 2.04 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="theme-color" content="#fff">
<link rel="manifest" href="/manifest.webmanifest">
<title>BPM</title>
<meta name="description" content="BPM - Beats per Minute">
<meta name="keywords" content="BPM,Beats,Per,Minute,Beats Per Minute,Music,Speed,Audio,Velocity,Fast,Slow,60bpm,70bpm,80bpm,90bpm,100bpm,110bpm,120bpm">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="styles.css">
<script type="text/javascript" src="index.js"></script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<input type="text" class="previous-timestamp hidden" />
<div class="content">
<div class="title">
<h1>BPM</h1>
</div>
<div class="output">
<div class="info">
</div>
<div class="average">
<output name="bpm_average" for="last 5 taps"> </output>
</div>
<div class="history">
<output name="bpm_history_1" for="tapped speed"> </output>
<output name="bpm_history_2" for="tapped speed"> </output>
<output name="bpm_history_3" for="tapped speed"> </output>
<output name="bpm_history_4" for="tapped speed"> </output>
<output name="bpm_history_5" for="tapped speed"> </output>
</div>
</div>
<div class="buttons">
<button class="tap">Tap</button>
<button class="reset">Reset</button>
</div>
</div>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
navigator.serviceWorker
.register('./sw.js')
.then(function() { console.log('Service Worker Registered'); });
}
</script>
</body>
</html>