This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcalendar.html
151 lines (130 loc) · 8.38 KB
/
calendar.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-144225776-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-144225776-4');
</script>
<!-- Browser/Platform Settings -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="skype_toolbar" content="skype_toolbar_parser_compatible">
<meta name="google" content="notranslate">
<meta name="mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="renderer" content="webkit">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<meta name="full-screen" content="yes">
<meta name="imagemode" content="force">
<meta name="browsermode" content="application">
<meta name="nightmode" content="disable">
<meta name="layoutmode" content="fitscreen">
<!-- Primary Meta Tags -->
<title>DiscoverSUTD 2020 - Calendar</title>
<meta name="title" content="DiscoverSUTD 2020 - Calendar">
<meta name="description" content="Event Calendar Guide for Freshmores!">
<meta name="author" content="OpenSUTD">
<meta name="keywords" content="discover, sutd, discoversutd, freshmore, freshman, freshmen, introductory, introduction, new, experience">
<meta name="robots" content="follow">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://opensutd.org/DiscoverSUTD-2020/calendar.html">
<meta property="og:title" content="DiscoverSUTD 2020 - Calendar">
<meta property="og:description" content="Event Calendar Guide for Freshmores!">
<meta property="og:image" content="assets/branding/discover.png">
<meta property="og:site_name" content="SUTD">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://opensutd.org/DiscoverSUTD-2020/calendar.html">
<meta property="twitter:title" content="DiscoverSUTD 2020 - Calendar">
<meta property="twitter:description" content="Event Calendar Guide for Freshmores!">
<meta property="twitter:image" content="assets/branding/discover.png">
<!-- Favicon Package -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/media/favicons/apple-touch-icon.png">
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="assets/media/favicons/apple-touch-icon-precomposed.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/media/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="assets/media/favicons/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/media/favicons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/media/favicons/favicon-16x16.png">
<link rel="manifest" href="assets/media/favicons/site.webmanifest">
<link rel="mask-icon" href="assets/media/favicons/safari-pinned-tab.svg" color="#cc0000">
<link rel="shortcut icon" href="assets/media/favicons/favicon.ico">
<meta name="apple-mobile-web-app-title" content="DiscoverSUTD">
<meta name="application-name" content="DiscoverSUTD">
<meta name="msapplication-TileColor" content="#cc0000">
<meta name="msapplication-TileImage" content="assets/media/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="assets/media/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- iOS Splashscreens Package -->
<link href="assets/media/splashscreens/iphone5_splash.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/iphone6_splash.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/iphoneplus_splash.png" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/iphonex_splash.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/iphonexr_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/iphonexsmax_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/ipad_splash.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="assets/media/splashscreens/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro">
<script type="text/javascript" src="assets/vendor/jquery/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="assets/vendor/papaparse/papaparse.min.js"></script>
<script type="text/javascript" src='assets/js/table.js'></script>
<link rel="stylesheet" type="text/css" href="assets/css/calendar.css">
<style>
#pleaserotate-graphic{
fill: #000;
}
#pleaserotate-backdrop {
color: #000;
background-color: #fee0e0;
}
</style>
</head>
<body>
<p><a href="https://opensutd.org/DiscoverSUTD-2020/">Return to Landing Page</a></p>
<h1>DiscoverSUTD Event Calendar</h1>
<p>NOTE: Mandatory events are shaded and highlighted in <span style="background-color:lightcoral;"><b> pink </b></span>.</p>
<div id="calendar-goes-here"></div>
</body>
<script type="text/javascript">
if (document.readyState !== 'loading') {
Papa.parse("https://opensutd.org/DiscoverSUTD-2020/calendar.csv", {
download: true,
header: true,
complete: generateCalendar
})
} else {
document.addEventListener('DOMContentLoaded', function () {
Papa.parse("https://opensutd.org/DiscoverSUTD-2020/calendar.csv", {
download: true,
header: true,
complete: generateCalendar
})
})
}
</script>
<script type="text/javascript">
var PleaseRotateOptions = {
onlyMobile: true,
forcePortrait: false,
message: "Please Rotate Your Device To See The Calendar Properly",
subMessage: "(or click/press the screen to continue anyway)"
}
</script>
<script src="assets/vendor/pleaserotate/pleaserotate.min.js"></script>
<!--
Psst. Hey you. Yes, you.
Curious chap, aren't you? You might be a good fit to join us!
Join the OpenSUTD Telegram Group at https://t.me/joinchat/C8HJABJqfwYEPoT4EYre-A
We're growing our team so that we can continue to do things for the SUTD community!
-->
</html>