-
Notifications
You must be signed in to change notification settings - Fork 0
/
live.html
executable file
·63 lines (53 loc) · 2.48 KB
/
live.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
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<title>UW Course Sequence Explorer</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<!-- d3 tooltip -->
<script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.v0.6.3.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="page-header">
<h1>UW Course Sequence Explorer</h1>
<p class="lead">Explore the UW course catalog through dynamic trees. CSE 512 Final Project. Dylan Babbs & Jordan Starkey. <a href="http://cse512-16s.github.io/fp-dbabbs-jordanstarkey95/">Learn more.</a></p>
</div>
<div class="form-inline">
<div class="form" id="program">
<!--<label for="courseInput">Select Program</label>-->
<input class="form-control" type="text" id="programInput" list="programs" placeholder="CSE">
<datalist id="programs"></datalist>
<button class="btn btn-primary" id="programSearch">Search Courses</button><br>
<span class="loading" id="loadingprograms">
<img src="https://webster.cs.washington.edu/images/babynames/loading.gif" alt="icon" />
Loading...
</span>
</div>
<div class="form" id="course">
<!--<label for="courseInput">Select Course</label>-->
<input class="form-control" type="text" id="courseInput" list="courses" placeholder="142">
<datalist id="courses"></datalist>
<button class="btn btn-primary" id="courseSearch">Search Sequence</button>
<span class="loading" id="loadingcourses">
<img src="https://webster.cs.washington.edu/images/babynames/loading.gif" alt="icon" />
Loading...
</span>
</div>
<div>
<span class="label label-default">Optional Prereq</span>
<span class="label label-primary">Required Prereq</span>
</div>
</div>
<div id="tree"></div>
<script type="text/javascript" src="demo.js"></script>
</div>
</body>
</html>