-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
114 lines (97 loc) · 4.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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<!-- vim: set ts=2 sw=2 et tw=80: -->
<html lang="en-CH">
<head>
<title>USI • Rooms availability</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="USI rooms availability" />
<meta property="og:site_name" content="USIrooms" />
<meta property="og:description" content="USI rooms availability" />
<meta property="og:title" content="USIrooms" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://usirooms.xyz" />
<meta property="og:image" content="https://usirooms.xyz/assets/images/android-chrome-512x512.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:description" content="USI rooms availability" />
<meta name="twitter:title" content="USIrooms" />
<meta property="twitter:url" content="https://usirooms.xyz" />
<meta name="twitter:image" content="https://usirooms.xyz/assets/images/android-chrome-512x512.png" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon-16x16.png" />
<link rel="manifest" href="assets/images/site.webmanifest" />
<link rel="mask-icon" href="assets/images/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="assets/images/favicon.ico" />
<meta name="msapplication-TileColor" content="#2b5797" />
<meta name="msapplication-config" content="assets/images/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<link rel="manifest" href="manifest.json" />
<link rel="stylesheet" href="assets/index.css?v=9" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3DG26HH904"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-3DG26HH904");
</script>
</head>
<body>
<h1 class="center">USI rooms availability</h1>
<div class="center">
<a href="?b=black" class="navLink" id="black">Black building</a> -
<a href="/" class="navLink active" id="east">East campus</a> -
<a href="?b=main" class="navLink" id="main">Main building</a> -
<a href="?b=red" class="navLink" id="red">Red building</a>
</div>
<div class="timepicker">
<h2 id="timepreviewer">Loading...</h2>
<input type="range" id="timemachine" />
</div>
<div class="room-map"></div>
<div class="schedule">
<h1>Schedule for today</h1>
<section class="times"></section>
<template id="room">
<div style="display: flex;">
<h2 class="room-title"></h2>
<a class="room-booking-link">Book now</a>
</div>
<ul class="list"></ul>
</template>
<template id="time-free">
<li>Free all day</li>
</template>
<template id="time-slot">
<li>
<span class="title"></span>
(<span class="start"></span>-<span class="end"></span>)
</li>
</template>
<div class="marginTop">
Free rooms can be booked by clicking on their respective "Book now" button and completing
the missing fields in the email.
</div>
</div>
<div class="warning center">
<h1>Disclaimer</h1>
This website was created and is maintained by some students as an unofficial project and is
not affiliated in any way with Università della Svizzera italiana.
USIrooms does not offer any correctness nor availability guarantees.
</div>
<footer>
©2023 USIrooms -
<a
href="https://github.com/Steeven9/USIrooms"
target="_blank"
rel="noopener"
>
GitHub
</a>
</footer>
<script type="module" src="app.js?v=12"></script>
</body>
</html>