-
Notifications
You must be signed in to change notification settings - Fork 2
/
student-programs.html
154 lines (149 loc) 路 5.29 KB
/
student-programs.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
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<title>CITRIS and the Banatao Institute at UC Merced</title>
<link rel="icon" href="images/favicon.png" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8
]><script src="assets/js/ie/html5shiv.js"></script
><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 8
]><link rel="stylesheet" href="assets/css/ie8.css"
/><![endif]-->
<style type="text/css">
td,
th {
vertical-align: top;
padding: 2px;
}
</style>
</head>
<body class="homepage">
<div id="page-wrapper">
<header id="header">
<div class="logo container">
<div>
<h1 id="logo">Student Programs</h1>
</div>
</div>
</header>
<!-- NAVIGATION: Controlled by HTML snippet in snippets/nav.html -->
<nav id="nav"></nav>
<div id="main-wrapper">
<div id="main" class="container">
<div class="row">
<div class="12u">
<div class="content">
<p>
CITRIS strives to provide undergraduate students with an
opportunity for self-directed learning, and professional
development within a higher education institutional context.
These activities serve to develop awareness about professional
development options in order for students to develop career
pathways and set goals.
</p>
<div id="projects"></div>
</div>
</div>
</div>
</div>
</div>
<!-- FOOTER: Controlled by HTML snippet in snippets/footer.html-->
<div id="footer"></div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/jquery.csv.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/skel-viewport.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8
]><script src="assets/js/ie/respond.min.js"></script
><![endif]-->
<script src="assets/js/main.js"></script>
<script>
$(function () {
$("#nav").load(
"snippets/nav.html"
); /*Navigation: Controlled by HTML snippet in snippets/nav.html*/
$("#navPanel").load(
"snippets/nav.html"
); /*Navigation: Controlled by HTML snippet in snippets/nav.html*/
$("#footer").load(
"snippets/footer.html"
); /*FOOTER: Controlled by HTML snippet in snippets/footer.html*/
$.get("/student-programs.csv").then(function (text, status, xhr) {
var data = $.csv.toObjects(text);
for (var i = 0; i < data.length; i++) {
switch (data[i].AUTHOR_ID) {
case "":
$("#projects").append(
$.parseHTML(
'<section class="box features">' +
"<header>" +
"<h2>" +
data[i].TITLE +
"</h2>" +
"</header>" +
'<img class="image featured" src="images/projects/' +
data[i].ID +
'.jpg" alt="" />' +
'<p style="text-align: justify; text-justify: inter-word;">' +
data[i].TEXT +
"</p>" +
"</section>"
)
);
break;
default:
$("#projects").append(
$.parseHTML(
'<section class="box features">' +
"<header>" +
"<a href=/" +
data[i].LINK +
">" +
"<h2>" +
data[i].TITLE +
"</h2></a>" +
"</header>" +
"<table>" +
"<tr>" +
'<th style="width:74.5%">' +
"<a href=/" +
data[i].LINK +
">" +
'<img class="image featured" src="images/projects/' +
data[i].ID +
'.jpg" alt="" /></a>' +
'<p style="text-align: justify; text-justify: inter-word;">' +
data[i].TEXT +
"</p>" +
"</th>" +
'<th style="width:25.5%">' +
'<img style="float:top" class="image featured" src="images/people/' +
data[i].AUTHOR_ID +
'.jpg" alt="" />' +
'<p style="margin:0;">' +
data[i].AUTHOR +
"</p>" +
"<p>" +
data[i].POSITION +
"</p>" +
"</th>" +
"</tr>" +
"</table>" +
"</section>"
)
);
break;
}
}
});
});
</script>
</body>
</html>