-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathcalendar.html
58 lines (55 loc) · 1.59 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
<!DOCTYPE html>
<html>
<head>
<title>WDI7 Calendar</title>
<style>
*{
margin:0;
padding:0;
border:0;
}
iframe{
display:block;
width:100vw;
height:90vh;
}
kbd{
color:blue;
}
</style>
<script>
window.onload = function(){
var cal = document.getElementById("cal");
cal.src = "https://calendar.google.com/calendar/embed?" + qs([
["title", "WDIDC 7"],
["mode", "WEEK"],
["height", "600"],
["wkst", "1"],
["color", "#FFFFFF"],
["src", "generalassemb.ly_hvuk7leun1gm7l54auuroirla8@group.calendar.google.com"],
["color", "#A32929"],
["src", "generalassemb.ly_pg526s3seikupkl90r401oufkc@group.calendar.google.com"],
["color", "#0D7813"],
["src", "generalassemb.ly_0igakc2jbm95n2408hgkqe5gks@group.calendar.google.com"],
["color", "#333333"],
["src", "generalassemb.ly_cgu6n7pe6833ar2h70i9gsu2tk@group.calendar.google.com"],
["color", "#D47F1E"],
["src", "generalassemb.ly_g91sskipgn6lh30071d3g9kr8s@group.calendar.google.com"],
["ctz", "America/New_York"]
]);
console.dir(cal.src);
function qs(params){
var out = [];
params.forEach(function(pair){
out.push(pair[0] + "=" + encodeURIComponent(pair[1]));
});
return out.join("&");
}
}
</script>
</head>
<body>
<iframe id="cal" src="/" scrolling="no"></iframe>
<p>Add meetups and other cool events to the WDI-DC Student Activities calendar! Create the event in your Google account, and then under "Add Guests" include the address <kbd>generalassemb.ly_cgu6n7pe6833ar2h70i9gsu2tk@group.calendar.google.com</kbd>.</p>
</body>
</html>