-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (92 loc) · 4.25 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>NEAT</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="form.css" />
<!-- 3rd party js -->
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js"></script>
<script type="text/javascript" src="http://fgnass.github.io/spin.js/spin.min.js"></script>
<!-- NEAT js -->
<script type="text/javascript" src="neat.js" ></script>
<script type="text/javascript" src="graph.js" ></script>
<script type="text/javascript" src="data.js" ></script>
<script type="text/javascript" src="animation.js" ></script>
</head>
<body onresize="neat.resizeGraph()">
<div id="spinner_div">
<!-- Create a spinner while NEAT app is setting itself up -->
<script>animation.createSpinner("spinner_div");</script>
</div>
<div id="container">
<div id="header_div">
<img id="logo_img" alt="University of Portland Logo" src="res/up_logo.png">
<div class="clear"></div>
</div>
<div id="wrapper">
<div id="vis_div" ng-app="" ng-controller="neat.namesController" class="hide_until_init">
<div id="majors_tab_div" onclick="neat.switchTabTo(neat.MAJORS)"
tabindex="1" class="tab">
CS & EGR Enrollment over time
</div>
<div id="profs_tab_div" onclick="neat.switchTabTo(neat.PROFS)"
tabindex="2" class="tab non_selected_tab">
CS Students & Faculty over time
</div>
<div class="clear"> </div>
<div id="disp_div" class="app_container">
<div id="menu_div" class="menu_div" >
Years to include (counted by credits):
<div data-ng-repeat="i in [0,1,2,3]">
<input type="checkbox" id="{{classes[i]}}"
onclick="neat.updateGraph();">
<label for="{{classes[i]}}">{{classes[i]}}</label>
<br/>
</div>
<br/>
<div class="majors_display">
Majors to display:
<div data-ng-repeat="i in [0,1,2,3]">
<input type="checkbox" id="{{majorsAbbr[i]}}"
onclick="neat.updateGraph();">
<label for="{{majorsAbbr[i]}}">
{{majors[i]}}
</label>
<br/>
</div>
</div>
<div class="profs_display">
Display format:
<div>
<input type="radio" id="profs_ratio"
name="profs_display_format"
onclick="neat.updateGraph();">
<label for="profs_ratio">
professor student ratio
</label>
<br/>
<input type="radio" id="profs_raw"
name="profs_display_format"
onclick="neat.updateGraph();">
<label for="profs_raw">raw data</label>
<br/>
</div>
</div>
</div>
<div class="graph_div">
<div id="google_graph_div" class="google_graph_div"></div>
</div>
<div id="error_div" class="error_div"></div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="footer_div">
University of Portland logo © University of Portland
</div>
</div>
</body>