forked from citris-ucmerced/citris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
203 lines (185 loc) · 8.61 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
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
<!DOCTYPE HTML>
<html>
<head>
<!-- Comment in head -->
<title>CITRIS @ 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">
<!--
#########################################################################################
# Are you a web developer for CITRIS? Looking to make modifications to this site? #
# #
# Contact Brian Hungerman (brianhungerman@gmail.com) if you have any questions/concerns #
# #
# This site is built with jQuery that functions as a very light-weight CMS. #
# Try to follow conventions in naming schemes and content organization. #
#########################################################################################
-->
<!-- IF SITE IS UNDER CONSTRUCTION, UNCOMMENT THE FOLLOWING DIV -->
<!-- <div style="position:fixed;width:500px;height:40px;left:-100px;top:60px; transform: rotate(-45deg);z-index:10000;background-color:lightcoral;">
<h2 style="color:white;"> Site under construction!</h2>
</div> -->
<div id="page-wrapper">
<!-- Header -->
<header id="header">
<div class="logo container">
<div>
<h1 id="logo">CITRIS @ UC Merced</h1>
</div>
</div>
</header>
<!-- Nav -->
<nav id="nav">
<a href="index">
<img style="position:absolute; z-index: 100000; margin: .5em 0em 0em .5em; float:left; height:36px; width:243px"
class="image featured" src="images/logo.png" />
</a>
<ul>
<li>
<a href="about">About</a>
<ul>
<li>
<a href="initiatives">Initiatives</a>
<li>
<li>
<a href="activities">Activities</a>
<ul>
<li>
<a href="activities#mac">Mobile App Challenge</a>
</li>
<li>
<a href="activities#atd">Ag Tech Day</a>
</li>
<li>
<a href="activities#fit">Frontiers in Technology</a>
</li>
<li>
<a href="activities#cad">Cyber Aware Day</a>
</li>
</ul>
</li>
<li>
<a href="people">People</a>
</li>
</ul>
</li>
<li>
<a href="news">News</a>
</li>
<li>
<a href="events">Events</a>
<ul>
<li>
<a href="events">Upcoming Events</a>
</li>
<li>
<a href="archive">Archived Events</a>
</li>
</ul>
</li>
<li>
<a href="research">Research</a>
<ul>
<li>
<a href="seed-grants">Seed Grants</a>
</li>
<li>
<a href="projects">Projects</a>
</li>
</ul>
</li>
<li>
<a href="aviation">Aviation</a>
</li>
<li>
<a href="donate">Donate</a>
</li>
</ul>
</nav>
<!-- Banner -->
<div id="banner-wrapper">
<section id="banner">
<h2 style="font-size:150%;">
CITRIS and the Banatao Institute create information technology solutions for society’s most pressing challenges.
</h2>
<!--
THIS LINE CONTROLS THE "CURRENT EVENT BUTTON" BLURB
CHANGE THE HREF AND TEXT FOR THE EVENT BEING ADVERTISED
-->
<a href="http://cyberaware.ucmerced.edu#register" class="button">Register for Cyber Aware Day!</a>
</section>
</div>
<!-- Main -->
<div id="main-wrapper">
<div id="main" class="container">
<div class="row 200%">
<div class="12u">
<!-- Who We Are: Controlled by HTML snippet in snippets/who-we-are.html -->
<div id="who-we-are"></div>
</div>
</div>
<div class="row 200%">
<div class="12u">
<h2 class="major">
<span>CITRIS Initiatives</span>
</h2>
<!-- Initiatives: Controlled by HTML snippet in snippets/initiatives.html -->
<div id="initiatives"></div>
<br/>
<!-- Programs: Controlled by HTML snippet in snippets/programs.html -->
<!-- <div id="programs"></div> -->
</div>
</div>
<div class="row 200%">
<div class="12u">
<!-- Recent News: Controlled by HTML snippet in snippets/recent-news.html -->
<h2 class="major">
<span>Recent News</span>
</h2>
<div id="recent-news"></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/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 () {
$("#who-we-are").load("snippets/who-we-are.html"); /*Who We Are: Controlled by HTML snippet in snippets/who-we-are.html*/
$("#initiatives").load("snippets/initiatives.html"); /*Initiatives: Controlled by HTML snippet in snippets/initiatives.html*/
$("#programs").load("snippets/programs.html");/*Programs: Controlled by HTML snippet in snippets/programs.html*/
$("#recent-news").load("snippets/recent-news.html");/*Recent News: Controlled by HTML snippet in snippets/recent-news.html*/
$("#footer").load("snippets/footer-extended.html"); /*Footer: Controlled by HTML snippet in snippets/footer.html*/
});
</script>
<script>
var lines = "banner";
var slide_count = 0;
$.get('images/banners/items.txt', function (data) {
lines = data.split("\n");
for (var i = 0; i < lines.length; i++) {
lines[i] = lines[i].split("\r")[0];
}
setInterval(function () {
document.getElementById("banner-wrapper").style.backgroundImage = "url('assets/css/images/overlay.png'), url('assets/css/images/overlay.png'), url('images/" + lines[slide_count++] + ".jpg')";
if (slide_count >= lines.length) slide_count = 0;
}, 5000);
}, "text");
</script>
</body>
</html>