-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
58 lines (57 loc) · 3.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Timer</title>
<meta name="description" content="Single-page application which shows a countdown timer." />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="theme-color" content="#00aba9">
<meta property="og:title" content="Timer"/>
<meta property="og:description" content="Simple onscreen timer"/>
<meta property="og:type" content="website"/>
<meta name="msapplication-TileColor" content="#00aba9" />
<meta name="msapplication-TileImage" content="assets/images/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="assets/images/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="assets/images/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="assets/images/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="assets/images/mstile-310x310.png" />
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="assets/images/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/images/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/images/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/images/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="assets/images/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="assets/images/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="assets/images/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="assets/images/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="assets/images/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="assets/images/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="assets/images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="assets/images/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="assets/images/favicon-128.png" sizes="128x128" />
<link rel="manifest" href="assets/site.webmanifest">
<link href="assets/styles/timer.min.css" rel="stylesheet"/>
</head>
<body class="sound">
<div class="grid grid-cols-1 grid-rows-1 justify-items-center items-center h-full">
<div id="timer" class="text-9xl">00:00:00</div>
<div id="help" class="absolute left-5 bottom-5 right-5 p-3 border rounded">
<p>Enter desired time with <b>0-9</b> e.g 130 for 1 minutes and 30 seconds.<p>
<p>Clear time with <b>c</b></p>
<p>Start timer with <b>enter</b></p>
<p>Stop timer with <b>q</b></p>
<p>Toggle help with <b>h</b></p>
<p>Toggle sound with <b>s</b></p>
</div>
</div>
<script src="assets/scripts/timer.min.js"></script>
<script type="application/javascript">
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('sw.js', {
scope: './'
});
});
}
</script>
</body>
</html>