-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathindex.html
More file actions
103 lines (93 loc) · 4.37 KB
/
Copy pathindex.html
File metadata and controls
103 lines (93 loc) · 4.37 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Course Critique</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Historical grade point average (GPA) for professors and courses offered at the Georgia Institute of Technology">
<meta name="author" content="SGA - Georgia Institute of Technology">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="default/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/bootswatch.css" rel="stylesheet">
<link href="css/critique.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
</head>
<body class="extra-space-top">
<!-- Beta Ribbon -->
<img src="img/beta_ribbon.png" class="beta-ribbon" alt="beta" />
<!-- Masthead
================================================== -->
<div class="container">
<header class="jumbotron subhead" id="overview">
<div class="row">
<div class="span7">
<h1>Course Critique</h1>
<p class="lead">Type in a Professor or Course Name</p>
</div>
</div>
</header>
<!-- Search Bar
================================================== -->
<div class="form-horizontal" style="padding-bottom: 15px;">
<input type="text" class="input-xxlarge" name="query" id="searchbox" placeholder="e.g. Math 1502" autocomplete="off" autofocus>
<script>
function submitSearch() {
search($("#searchbox").val());
}
$(document).ready(function() {
$("#searchbox").keyup(function(event) {
clearTimeout($(this).data('timer'));
var search = $(this).val();
if (search.length >= 3) {
$(this).data('timer', setTimeout(function() {
submitSearch();
}, 333)); //only query every 1/3 sec.
}
});
});
</script>
<button type="submit" id="searchSub" class="btn btn-primary" onclick="submitSearch();">Search</button>
</div>
<!-- Progress bars
================================================== -->
<div class="row">
<div class="span12">
<div class="progress search" style="height: 1px;">
<div class="bar" style="width: 100%;"></div>
</div>
</div>
</div>
<div id="searchResults">
<div id="topHits">
<table>
<thead>
<tr><td>Example Searches:</td></tr>
</thead>
<tbody>
<tr><td>ECE 3020</td></tr>
<tr><td>PHYS 2212</td></tr>
<tr><td>George P. Burdell</td></tr>
</tbody>
</table>
</div>
</div>
<!-- Footer
================================================== -->
<hr>
<footer id="footer">
<p class="pull-right"><a href="#">Back to top</a></p>
<div class="links"></div>
Made by <a href="author">SGA Course Critique Committee</a>. Open source under <a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a> where applicable.
Fork us at <a href="https://github.com/rvz7/gt-course-critique">github</a>.<br />
</footer>
</div><!-- /container -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
<script src="js/application.js"></script>
<script src="js/bootswatch.js"></script>
<script src="js/searchResults.js"></script>
</body>
</html>