-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
67 lines (61 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Student Tracker</title>
</head>
<body>
<!-- Prepare a container for your calendar. -->
<script src="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.min.js">
</script>
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link rel="stylesheet"
href="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.css" />
<!-- Prepare a container for your calendar. -->
<style>
.calendar {
width: 1000px;
font-family: Helvetica, arial;
border: 1px solid #DDDDDD;
border-radius: 3px;
min-height: 243px;
text-align: center;
margin: 0 auto;
margin-top: 20px;
}
</style>
<div class="calendar">
<!-- Loading stuff -->
Loading the data.
</div>
<script>
var studentList = [
'Jhadi1',
'Ghostwill20',
'cward22',
'harrisjl',
'CharlesBFerguson',
'mooseseatgrass',
'DoctorMighty',
'Dyealex',
'tronhd',
'lexierobot',
'Mtborren',
'VenusAMB',
'candigrl',
'tywanda',
'glitchgirl'];
for(var i = 0; i < studentList.length; i ++) {
var div = document.createElement("div");
div.classList.add("calendar")
<!--had a space that was not needed -->
new GitHubCalendar(div,studentList[i]);
document.body.appendChild(div);
new GitHubCalendar(div, studentList[i]);
document.body.appendChild(div);
}
</script>
</body>
</html>