-
Notifications
You must be signed in to change notification settings - Fork 0
/
links.js
284 lines (203 loc) · 12.1 KB
/
links.js
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
var links = {
"Syllabus": "https://drive.google.com/drive/u/0/folders/1B3SsYJjyR7NAaGBIiY94nsV6n69Vf3Be",
/**
* EECS 441 Master Folder >
* EECS 441 GSI ONLY >
* EECS 441 - CURRENT TERM >
* Request Absence Form
*/
"Absence Form": "https://docs.google.com/forms/d/e/1FAIpQLSdgY_T2Gt04ToVcAjOHkDAcRX7BlQIak5CkDc60raRi3FuESw/viewform?usp=sf_link",
"Past Student Work": "https://drive.google.com/drive/folders/1szxdbP8n2eZhyC-mczMpex5Fn9ve8ddm",
"Reading folder": "https://drive.google.com/drive/u/0/folders/1yXcMB0Mqqfgp06wjK1P8ZUyK2dgw-bXg",
"Guest Speaker folder": "https://drive.google.com/drive/u/0/folders/1L3V4aNdom5KSCY6FiQ9wpNu9k9_yjH3T",
"Section 1 Recordings" : "https://leccap.engin.umich.edu/leccap/site/lmr3n6kaaa0o22gyh5t",
"Section 2 Recordings" : "https://leccap.engin.umich.edu/leccap/site/yqwzvof5qlbparhzkzd",
"Participation Sheet Section 1": "https://docs.google.com/spreadsheets/d/1yZ6wANJDsE9XBtaCtPVcjAqTTW_AkGfr/edit?usp=sharing&ouid=102661927327093264424&rtpof=true&sd=true",
"Participation Sheet Section 2": "https://docs.google.com/spreadsheets/d/1A0FARCI2qizfwcOURbcnhYxb4CA8luBm/edit?usp=sharing&ouid=102661927327093264424&rtpof=true&sd=true",
/**
* EECS 441 Master Folder >
* EECS 441 GSI ONLY >
* EECS 441 - CURRENT TERM >
* Section 1/2 >
* Grades >
* 441 CURRENT TERM Student View Grades - Section 1/2
*/
"Grades Sheet Section 1": "https://docs.google.com/spreadsheets/d/1hkcjJK12f64FHiAGidHkwwCX3sByisM3fsVAjE13Iig/edit?usp=sharing",
"Grades Sheet Section 2": "https://docs.google.com/spreadsheets/d/1yVG5HLBA2vEgIx94T8Ampcvtwl8XmsZ98jcY2XoONIg/edit?usp=sharing",
"Project Preso Evaluation Section 1": "https://docs.google.com/forms/d/e/1FAIpQLSeldokkRLpBuXBvUN0Oe_MolYdimUGGnYAD5PbePTg2kcnWxg/viewform?usp=sf_link",
"Project Preso Evaluation Section 2": "https://docs.google.com/forms/d/e/1FAIpQLSeGBX57qGlWv7PU7BRZwc3vVuvgc0_GRhCVinkUq6LJaAZ9xg/viewform?usp=sf_link",
"Company Preso Evaluation Section 1": "https://docs.google.com/forms/d/e/1FAIpQLSfnHzCnDqoet2_HYufhIlVlaTmaoAB8BXrv9dUPTPWg3NkUkQ/viewform?usp=sf_link",
"Company Preso Evaluation Section 2": "https://docs.google.com/forms/d/e/1FAIpQLSeS4HMdTOo619nIHz40rD6T9W6C75xR7wB2N0Cl9P37PsV_sw/viewform?usp=sf_link",
"Team Evaluation Section 1": "https://docs.google.com/forms/d/e/1FAIpQLSc95t4u0hAtLm0LiP7PHL8PMkg8x5DxMaapY2EpG10r2_jVlA/viewform?usp=sf_link",
"Team Evaluation Section 2": "https://docs.google.com/forms/d/e/1FAIpQLSdfqmYxpGwR8bn_3zA7ezfJ1YO7La__5LvtOFNPfUKkQzloRg/viewform?usp=sf_link",
/**
* EECS 441 Master Folder >
* EECS 441 Student Work >
* EECS 441 - CURRENT TERM >
* Section 1/2 >
* Pitch | Assignment | Company Analysis | Preso (Section 1/2)
*/
"Elevator Pitch Due Date": "Aug 28, Aug 30, Sep 4",
"Pitch folder Section 1": "https://drive.google.com/drive/u/0/folders/16sZjttFBrI7MGmcjsiZGRoK_Il8yXxyN",
"Pitch folder Section 2": "https://drive.google.com/drive/u/0/folders/1AibtJIwozcjpBbhdSlSEppCVhkHBDd4C",
"Assignment 0 Due Date": "Aug 28",
"Assignment 0 Folder Section 1": "https://drive.google.com/drive/u/0/folders/1Yy_58sUDszLyW-vhCt5uhWTKtCF9hwbZ",
"Assignment 0 Folder Section 2": "https://drive.google.com/drive/u/0/folders/18HAacbpDw2cxaTUF0Y_jiISCtRYd2ikP",
"Company Preso Due Date": "See schedule",
"Company Preso Folder Section 1": "https://drive.google.com/drive/u/0/folders/1AlqsR-_pCPczn8O-VzXx7Vhf31OwELci",
"Company Preso Folder Section 2": "https://drive.google.com/drive/u/0/folders/1-bTh0tcJtJ7cTabGzyfFDTIZEFgX5TCs",
"Preso 1 Due Date": "Sep 11",
"Preso 1 Folder Section 1": "https://drive.google.com/drive/u/0/folders/1vNhU9-MZ2KErDjIySvo07LM_aOPhmdSg",
"Preso 1 Folder Section 2": "https://drive.google.com/drive/u/0/folders/13F_OFusSTmcVPLDtLewyim-TwESpUP8K",
"Preso 2 Due Date": "Sep 27",
"Preso 2 Folder Section 1": "https://drive.google.com/drive/u/0/folders/19VKVifKuCtroJs2Nfp5OtyShbPbsjcVm",
"Preso 2 Folder Section 2": "https://drive.google.com/drive/u/0/folders/1UTpg9TwmriDR9tyFNX2ZYqmF2gqwhfuT",
"Preso 3 Due Date": "Nov 1",
"Preso 3 Folder Section 1": "https://drive.google.com/drive/u/0/folders/1UGm1PF0i6ldD2kABRqhriXDcvrMu1y0W",
"Preso 3 Folder Section 2": "https://drive.google.com/drive/u/0/folders/1hpBwdeU71VZFrXhZeflAgCuy6mhwLmca",
"Preso 4 Due Date": "Nov 11",
"Preso 4 Folder Section 1": "https://drive.google.com/drive/u/0/folders/1u7tyyXPdYDgxlnD8Gl7K9mSIMb0wneCg",
"Preso 4 Folder Section 2": "https://drive.google.com/drive/u/0/folders/1CCQkEABhcTp_M5K8FGoMqWkrMSMOjQOC",
"Preso 5 Due Date": "Dec 9",
"Preso 5 Folder Section 1": "https://drive.google.com/drive/u/0/folders/1Ik0k9w53v8ScNv1og3tCvt8mEthpTyox",
"Preso 5 Folder Section 2": "https://drive.google.com/drive/u/0/folders/13Ae7aNlnVtTdqmYZI1jFwWLtdiTSS_df",
/** EECS 441 Master Folder >
* EECS 441 GSI ONLY >
* EECS 441 - CURRENT TERM >
* Section 1/2 >
* Project Groups Form - Section 1/2
*/
"Project Groups Due Date": "class time",
"Project Groups Form Section 1": "https://docs.google.com/forms/d/e/1FAIpQLSdrEIHBzKvuXDl8Ewms-85nBP-P3yiZK-pzQcLjRqg0gnCwyQ/viewform?usp=sf_link",
"Project Groups Form Section 2": "https://docs.google.com/forms/d/e/1FAIpQLSelEDEiHfB6H4TNBNCSumTuNlU7bqS9GtEs6aBL_1iyFyvVoA/viewform?usp=sf_link",
}
/* ====================================
PROGRAMMER STUFF BELOW
==================================== */
function loadSection1() {
loadLinks();
var documentItem = document.getElementById("page-title");
documentItem.innerText = "EECS 441 Section 1";
documentItem = document.getElementById("section-title");
documentItem.innerText = "Section 1";
documentItem.href = "section-2.html";
documentItem = document.getElementById("participation-sheet");
documentItem.href = links["Participation Sheet Section 1"];
documentItem = document.getElementById("grades");
documentItem.href = links["Grades Sheet Section 1"];
documentItem = document.getElementById("recordings");
documentItem.href = links["Section 1 Recordings"];
documentItem = document.getElementById("project-eval");
documentItem.href = links["Project Preso Evaluation Section 1"];
documentItem = document.getElementById("company-eval");
documentItem.href = links["Company Preso Evaluation Section 1"];
documentItem = document.getElementById("team-eval");
documentItem.href = links["Team Evaluation Section 1"];
documentItem = document.getElementById("assign-0-folder");
documentItem.href = links["Assignment 0 Folder Section 1"];
documentItem = document.getElementById("preso-1-folder");
documentItem.href = links["Preso 1 Folder Section 1"];
documentItem = document.getElementById("preso-2-folder");
documentItem.href = links["Preso 2 Folder Section 1"];
documentItem = document.getElementById("preso-3-folder");
documentItem.href = links["Preso 3 Folder Section 1"];
documentItem = document.getElementById("preso-4-folder");
documentItem.href = links["Preso 4 Folder Section 1"];
documentItem = document.getElementById("preso-5-folder");
documentItem.href = links["Preso 5 Folder Section 1"];
documentItem = document.getElementById("company-preso-folder");
documentItem.href = links["Company Preso Folder Section 1"];
documentItem = document.getElementById("reading-folder");
documentItem.href = links["Reading folder"];
documentItem = document.getElementById("guest-folder");
documentItem.href = links["Guest Speaker folder"];
documentItem = document.getElementById("pitch-folder");
documentItem.href = links["Pitch folder Section 1"];
documentItem = document.getElementById("project-groups-forms");
documentItem.href = links["Project Groups Form Section 1"]
}
function loadSection2() {
loadLinks();
var documentItem = document.getElementById("page-title");
documentItem.innerText = "EECS 441 Section 2";
documentItem = document.getElementById("section-title");
documentItem.innerText = "Section 2";
documentItem.href = "section-1.html";
documentItem = document.getElementById("participation-sheet");
documentItem.href = links["Participation Sheet Section 2"];
documentItem = document.getElementById("grades");
documentItem.href = links["Grades Sheet Section 2"];
documentItem = document.getElementById("recordings");
documentItem.href = links["Section 2 Recordings"];
documentItem = document.getElementById("project-eval");
documentItem.href = links["Project Preso Evaluation Section 2"];
documentItem = document.getElementById("company-eval");
documentItem.href = links["Company Preso Evaluation Section 2"];
documentItem = document.getElementById("team-eval");
documentItem.href = links["Team Evaluation Section 2"];
documentItem = document.getElementById("assign-0-folder");
documentItem.href = links["Assignment 0 Folder Section 2"];
documentItem = document.getElementById("preso-1-folder");
documentItem.href = links["Preso 1 Folder Section 2"];
documentItem = document.getElementById("preso-2-folder");
documentItem.href = links["Preso 2 Folder Section 2"];
documentItem = document.getElementById("preso-3-folder");
documentItem.href = links["Preso 3 Folder Section 2"];
documentItem = document.getElementById("preso-4-folder");
documentItem.href = links["Preso 4 Folder Section 2"];
documentItem = document.getElementById("preso-5-folder");
documentItem.href = links["Preso 5 Folder Section 2"];
documentItem = document.getElementById("company-preso-folder");
documentItem.href = links["Company Preso Folder Section 2"];
documentItem = document.getElementById("reading-folder");
documentItem.href = links["Reading folder"];
documentItem = document.getElementById("guest-folder");
documentItem.href = links["Guest Speaker folder"];
documentItem = document.getElementById("pitch-folder");
documentItem.href = links["Pitch folder Section 2"];
documentItem = document.getElementById("project-groups-forms");
documentItem.href = links["Project Groups Form Section 2"]
}
function loadLinks() {
var documentItem = document.getElementById("syllabus");
documentItem.href = links["Syllabus"];
documentItem = document.getElementById("absence-form");
documentItem.href = links["Absence Form"];
documentItem = document.getElementById("past-work");
documentItem.href = links["Past Student Work"];
// Elevator pitch assignment
// documentItem = document.getElementById("pitch-folder");
// documentItem.href = links["Pitch folder"];
documentItem = document.getElementById("pitch-due");
documentItem.textContent = links["Elevator Pitch Due Date"];
// Company Preso assignment
documentItem = document.getElementById("company-preso-due");
documentItem.textContent = links["Company Preso Due Date"];
// Assignment 0
documentItem = document.getElementById("assign-0-due");
documentItem.textContent = links["Assignment 0 Due Date"];
// Preso 1
documentItem = document.getElementById("preso-1-due");
documentItem.textContent = links["Preso 1 Due Date"];
// Preso 2
documentItem = document.getElementById("preso-2-due");
documentItem.textContent = links["Preso 2 Due Date"];
// Preso 3
documentItem = document.getElementById("preso-3-due");
documentItem.textContent = links["Preso 3 Due Date"];
// Preso 4
documentItem = document.getElementById("preso-4-due");
documentItem.textContent = links["Preso 4 Due Date"];
// Preso 5
documentItem = document.getElementById("preso-5-due");
documentItem.textContent = links["Preso 5 Due Date"];
// Project groups
documentItem = document.getElementById("project-groups-due");
documentItem.textContent = links["Project Groups Due Date"]
}
function toggleAbout() {
var documentItem = document.getElementById("about");
console.log(documentItem.style.display);
if (documentItem.style.display == "none") documentItem.style.display = "block";
else documentItem.style.display = "none";
}