-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
121 lines (106 loc) · 3.78 KB
/
index.html
File metadata and controls
121 lines (106 loc) · 3.78 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v6.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/underscore@1.12.0/underscore-min.js"></script>
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap" rel="stylesheet">
<title>UBC Mathematics Undergraduate Program</title>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XKD62LW606"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XKD62LW606');
</script>
</head>
<body>
<div id="dashboard">
<header id="header">
<h2>UBC Mathematics</h2>
</header>
<div id="program-track-nav">
</div>
<div id="course-info">
<script id="course-info-template" type="text/template">
<h3>MATH <%= number %> <%= title %></h3>
<p><%= description %></p>
<% if (prereqs.length > 0) { %>
<h4>Prerequisites</h4>
<ul><% _.each(prereqs, function(prereq) { %>
<li><%= prereq.description %></li>
<% }); %>
</ul>
<% }; %>
<% if (coreqs.length > 0) { %>
<h4>Corequisites</h4>
<ul><% _.each(coreqs, function(coreq) { %>
<li><%= coreq.description %></li>
<% }); %>
</ul>
<% }; %>
<% if (notes.length > 0) { %>
<h4>Notes</h4>
<p><%= notes %></p>
<% }; %>
</script>
</div>
<div id="course-map"><svg></svg></div>
<div id="program-info">
<div id="program-info1">
<script id="program-info1-template" type="text/template">
<h3><%= name %></h3>
<p><%= description1 %></p>
<% if (typeof(courses) !== "undefined") { %>
<p>Courses: <%= courses %></p>
<% }; %>
</script>
</div>
<div id="program-info2">
<script id="program-info2-template" type="text/template">
<% if (typeof(quote) !== "undefined") { %>
<img src="img/<%= image %>" class="reflection">
<p style="text-align: center;"><em>"<%= quote %>"</em></p>
<% } else { %>
<img src="img/ubc.png" class="reflection">
<% }; %>
</script>
</div>
<div id="show-more">Show more +</div>
</div>
<div id="program-info-more">
<div id="program-info1-more">
<script id="program-info1-more-template" type="text/template">
<h3><%= name %></h3>
<p><%= description1 %></p>
<% if (typeof(courses) !== "undefined") { %>
<p>Courses: <%= courses %></p>
<p>Suggested courses from other departments: <%= suggested %></p>
<% }; %>
<p><%= description2 %></p>
</script>
</div>
<div id="program-info2-more">
<script id="program-info2-more-template" type="text/template">
<% if (typeof(quote) !== "undefined") { %>
<img src="img/<%= image %>" class="reflection">
<p style="text-align: center;"><em>"<%= quote %>"</em></p>
<p>Name: <%= name %></p>
<p>Degree: <%= degrees %></p>
<p>Currently: <%= currently %></p>
<p>Most relevant courses: <%= courses %></p>
<p>Reflection: <%= reflection %></p>
<% } else { %>
<img src="img/ubc.png" class="reflection">
<% }; %>
</script>
</div>
<div id="show-less">Show less -</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>