-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
52 lines (48 loc) · 3.71 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
<html>
<head>
<title>What's open?</title>
<meta name="description" content="Find out which Caltech locations are open now!">
<meta property="og:url" content="http://whatsopen.caltech.edu" />
<meta property="og:title" content="What's open at Caltech?" />
<meta property="og:description" content="Find out which Caltech locations are open now!" />
<link rel="icon" type="image/png" href="favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<link href="style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="cssClassAddRemove.js"></script>
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript" src="data.js"></script>
<script type="text/javascript" src="functions.js"></script>
<!-- start Mixpanel --><script type="text/javascript">(function(f,b){if(!b.__SV){var a,e,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=f.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";e=f.getElementsByTagName("script")[0];e.parentNode.insertBefore(a,e)}})(document,window.mixpanel||[]);
mixpanel.init("6ec2338c97e3069bdf89ca53214c7684");</script><!-- end Mixpanel -->
<script type="text/javascript">mixpanel.track("Page loaded");</script>
</head>
<body>
<div id="container">
<div id="header">
<h3 id="currentTime"></h3>
<form id="whichPlaces">
<input type="checkbox" id="foodPlaces" onclick="redrawPlaces();"checked>Food
<input type="checkbox" id="libraryPlaces" onclick="redrawPlaces();">Libraries
<input type="checkbox" id="miscPlaces" onclick="redrawPlaces();">Miscellaneous
</form>
<hr>
</div>
<div id="content">
<h3>Open now:</h3>
<table id="openPlaces"></table>
<hr>
<h3>Closed now, next open at:</h3>
<table id="closedPlaces"></table>
<div id="footer">
<hr>
<p>Notice an error? Want to add a new place? <a id="wikilink" href="https://github.com/ialexryan/whatsopen.caltech.edu/wiki" target="_blank">Contribute to the wiki.</a></p>
<p>Created by <a id="melink" href="http://www.alexryan.org/" target="_blank">Alex Ryan '17</a>. Check out the source code <a id="githublink" href="https://github.com/ialexryan/whatsopen.caltech.edu" target="_blank">on Github!</a></p>
</div>
</div>
</div>
<script type="text/javascript">mixpanel.track_links("#melink", "clicked on link to my site", {"referrer": document.referrer});
mixpanel.track_links("#wikilink", "clicked on link to wiki", {"referrer": document.referrer});
mixpanel.track_links("#githublink", "clicked on link to Github", {"referrer": document.referrer});</script>
</body>
</html>