forked from klovaaxel/meeting-room-display
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (41 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#7BC572">
<meta name="description" content="Displays availabilty for meeting rooms and people">
<title>Meeting Room Display</title>
<link rel="stylesheet" href="css/style.css">
<link rel="manifest" href="manifest.webmanifest">
<link rel="apple-touch-icon" href="resources/icons/icon192.png">
</head>
<body onload="start()">
<div class="open" id="status"></div>
<section class="main">
<h1 id="name" class="name"></h1>
<p id="nextBookingTime" class="nextBookingTime"></p>
<img class="logo" src="" alt="">
<button onclick="localStorage.clear()">TEMP STORAGE CLEAR</button>
</section>
<section class="events">
<h2 id="weekDay" class="weekDay"></h2>
<div id="event-container" class="event-container"></div>
<div id="clock" class="clock"></div>
</section>
</body>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/ical2json/index.js"></script>
<script src="js/index.js"></script>
<script>
navigator.serviceWorker
.register('service-worker.js')
.then(function(registration){
console.log("Service Worker Registered", registration)
})
.catch(function(err){
console.log("Service Worker Failed to Register", err)
});
</script>
</html>