-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
91 lines (80 loc) · 3.09 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>What Work When</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="What you should be working on at what time. A project with a user codable task schedule in a JSON file">
<meta name="author" content="humans.txt">
<link rel="stylesheet" href="/style.css">
<link rel="manifest" href="/site.webmanifest">
<link rel="canonical" href="https://whatworkwhen.netlify.com/">
<link rel="apple-touch-icon" href="/apple-touch-icon-192x192.png">
<link rel="apple-touch-startup-image" href="/apple-touch-icon.png">
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="What Work When">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#F9FCF9">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black">
<!--
Site handcoded by R Walker
Mar 2019
-->
<meta property="og:title" content="What Work When">
<meta property="og:type" content="website">
<meta property="og:image" content="/apple-touch-icon-192x192.png">
<meta property="og:url" content="https://whatworkwhen.netlify.com/">
<meta property="og:description" content="What you should be working on at what time. A project with a user codable task schedule in a JSON file">
<meta name="twitter:card" content="summary">
<meta name="twitter:url" content="https://whatworkwhen.netlify.com/">
<meta name="twitter:title" content="What Work When">
<meta name="twitter:description" content="What you should be working on at what time. A project with a user codable task schedule in a JSON file">
<meta name="twitter:image" content="/apple-touch-icon-192x192.png">
<meta name="twitter:creator" content="@mountainash">
<script>
if ('serviceWorker' in navigator) {
if (navigator.serviceWorker.controller) {
console.log('Active service worker already found, no need to register');
} else {
navigator.serviceWorker
.register('sw.js', {
scope: './'
})
.then(function(reg) {
console.log('Service Worker registered for scope: ' + reg.scope);
});
}
}
</script>
</head>
<body>
<main>
<header>
<h1>What Work When</h1>
<a href="#" role="button" id="activate-notifications" title="Enable Notifications">🔔</a>
</header>
<aside id="instructions">
<p>To setup: ensure you populate <tt>schedule.json</tt> with your task breakdown for the day & make sure JavaScript is enabled</p>
</aside>
<section>
<div id="clock">
<div id="clock-circle">
<div id="clock-face">
<span id="clock-hour"></span><span id="clock-minute"></span><span id="clock-second"></span>
</div>
<div id="digital-face">
<span id="digital-hour">11</span><span id="digital-minute">45</span><span id="digital-second">27</span>
</div>
</div>
</div>
<div id="tasks">
<ol>
<li><strong class="name">Task Name</strong> <span class="stime">0900</span>-<span class="etime">1000</span></li>
</ol>
</div>
</section>
</main>
<script src="cash.min.js"></script>
<script src="moment.min.js"></script>
<script src="script.min.js"></script>
</body>
</html>