-
Notifications
You must be signed in to change notification settings - Fork 2
/
newsletter.html
171 lines (165 loc) · 7.44 KB
/
newsletter.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!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]-->
</head>
<body class="homepage">
<div id="page-wrapper">
<!-- Header -->
<header id="header">
<div class="logo container">
<div>
<h1 id="logo">Newsletter</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">
<p style="text-align: center">
<font size="+2">
Keep in touch with CITRIS UC Merced.
<br />Sign up to our email list and never miss an event or update.
</font>
<iframe
width="75%"
height="640px"
src="https://forms.office.com/Pages/ResponsePage.aspx?id=o-nf9HjKmEm3p-bQaS6s5qPoZls2hIJGn5oME5D05pRURUtIMTJaRks1MlVVTVhKNVg4QUJOTlE2OSQlQCN0PWcu&embed=true"
frameborder="0"
marginwidth="0"
marginheight="0"
style="border: none; max-width: 100%; max-height: 100vh"
allowfullscreen
webkitallowfullscreen
mozallowfullscreen
msallowfullscreen
>
</iframe>
</p>
</div>
</div>
<!-- MAILCHIMP SIGNUP FORM -->
<!-- Begin Mailchimp Signup Form -->
<!-- <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://ucmerced.us10.list-manage.com/subscribe/post?u=0b2d1aa7475fba4aee57a3348&id=e877baef16" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div class="mc-field-group">
<label for="mce-FNAME">First Name <span class="asterisk">*</span>
</label>
<input type="text" value="" name="FNAME" class="required" id="mce-FNAME">
</div>
<div class="mc-field-group">
<label for="mce-LNAME">Last Name <span class="asterisk">*</span>
</label>
<input type="text" value="" name="LNAME" class="required" id="mce-LNAME">
</div>
<div class="mc-field-group">
<label for="mce-DISCOVER">How did you find out about CITRIS UCMerced </label>
<input type="text" value="" name="DISCOVER" class="" id="mce-DISCOVER">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<!-- <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_0b2d1aa7475fba4aee57a3348_e877baef16" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[6]='DISCOVER';ftypes[6]='text';fnames[7]='FACTS';ftypes[7]='radio';}(jQuery));var $mcj = jQuery.noConflict(true);</script> -->
<!--End mc_embed_signup-->
<!-- 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*/
$("#recent-news").load(
"snippets/recent-news.html"
); /*Recent News: Controlled by HTML snippet in snippets/recent-news.html*/
$.get("/news.csv").then(function (text, status, xhr) {
var data = $.csv.toObjects(text);
for (var i = 0; i < data.length; i++) {
switch (data[i].ID) {
default:
$("#news").append(
$.parseHTML(
'<article class="box post">' +
"<header>" +
"<h3>" +
'<a href="' +
data[i].LINK +
'">' +
data[i].TITLE +
"</a>" +
"</h3>" +
'<ul class="meta">' +
'<li class="icon fa-clock-o">' +
data[i].DATE +
"</li>" +
"</ul>" +
"</header>" +
'<a href="' +
data[i].LINK +
'" class="image featured">' +
'<img src="images/news/' +
data[i].ID +
'.jpg" alt="" />' +
"</a>" +
"<p>" +
data[i].DESCRIPTION +
"</p>" +
"</article>"
)
);
break;
}
}
});
});
</script>
</body>
</html>