-
Notifications
You must be signed in to change notification settings - Fork 0
/
dragDrop.html
83 lines (79 loc) · 10.5 KB
/
dragDrop.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
<!DOCTYPE HTML>
<html>
<head>
<!--written by P. Beuhler, J. Perez, J. Freeman, J. Goldsich -->
<link rel="stylesheet" href="dragDropScheduler.css">
<script src="sql.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="dragDropScheduler.js"></script>
</head>
<body>
<div style="color:#3366ff;font-family:arial;" align="center">
<h3>Course Planner - Pijamajammers</h3>
<Required id="Required" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Required Courses</div>
<div id="MATH125" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Calc 1" style="background:white">MATH 125</div>
<div id="CHEM150" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Chemistry for Engineers" style="background:white">CHEM 150</div>
<div id="AE245" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Intro to Aero" style="background:white">AE 245</div>
<div id="KUCore1" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "GE 2.1" style="background:white">KU Core 1</div>
<div id="MATH126" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Calc II" style="background:white">MATH 126</div>
<div id="KUCore2" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "GE 2.1" style="background:white">KU Core 2</div>
<div id="PHSX210" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Physics I Lecture" style="background:white">PHSX 210</div>
<div id="PHSX216" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Physics I Lab" style="background:white">PHSX 216</div>
<div id="AE211" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Computing for Engineers" style="background:white">AE 211</div>
<div id="KUCore3" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "GE 3H" style="background:white">KU Core 3</div>
<div id="MATH220" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Applied Differential Equations" style="background:white"><class>MATH 220</class></div>
<div id="CE301" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Statics and Dynamics" style="background:white">CE 301</div>
<div id="PHSX212" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Physics II Lecture" style="background:white">PHSX 212</div>
<div id="PHSX236" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Physics II Lab" style="background:white">PHSX 236</div>
<div id="AE345" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Fluid Dynamics" style="background:white">AE 345</div>
<div id="KUCore4" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "ECON" style="background:white">KU Core 4</div>
<div id="MATH127" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Calc III" style="background:white">MATH 127</div>
<div id="CE310" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Strength of Materials" style="background:white">CE 310</div>
<div id="AE360" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Intro to Astronautics" style="background:white">AE 360</div>
<div id="AE445" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aerodynamics & Performance" style="background:white">AE 445</div>
<div id="ME312" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Thermodynamics" style="background:white"><class>ME 312</class></div>
<div id="MATH290" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Elementary Linear Algebra" style="background:white">MATH 290</div>
<div id="AE550" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Dynamics of Flight I" style="background:white">AE 550</div>
<div id="AE571" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Rep. Propulsion" style="background:white">AE 571</div>
<div id="AE507" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aero. Structures I" style="background:white">AE 507</div>
<div id="AE545" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aerodynamics" style="background:white"><class>AE 545</class></div>
<div id="AE421" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Computer Graphics" style="background:white">AE 421</div>
<div id="AE551" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Dynamics of Flight II" style="background:white">AE 551</div>
<div id="AE572" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Jet Propulsion" style="background:white">AE 572</div>
<div id="AE508" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aero. Structures II" style="background:white">AE 508</div>
<div id="EECS316" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Circuits, Electronics, and Instrumentation Lecture" style="background:white">EECS 316</div>
<div id="EECS318" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Circuits, Electronics, and Instrumentation Lab" style="background:white">EECS 318</div>
<div id="AE521" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aircraft Design I" style="background:white">AE 521</div>
<div id="AE510" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Materials and Processes" style="background:white">AE 510</div>
<div id="AE590" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Senior Seminar" style="background:white">AE 590</div>
<div id="Tech1" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Technical Elective" style="background:white">Tech Elec 1</div>
<div id="KUCore5" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "AE 4.1" style="background:white">KU Core 5</div>
<div id="AE522" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aircraft Design II" style="background:white">AE 522/3/4</div>
<div id="AE430" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Aerospace Instrumentation" style="background:white">AE 430</div>
<div id="Tech2" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Technical Elective" style="background:white">Tech Elec 2</div>
<div id="Tech3" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "Technical Elective" style="background:white">Tech Elec 3</div>
<div id="KUCore6" draggable="true" onmouseover="hover(this)" onmouseleave="leave(this)" ondragstart="drag(event)" title = "AE 4.2" style="background:white">KU Core 6</div>
</Required>
<div id = "ColorKey">
<div class = "title">Color Key</div>
<div id="green" draggable="false" class="keyBlock" style="background:PaleGreen">Valid Choice</div>
<div id="wheat" draggable="false" class="keyBlock" style="background:Wheat">Coreq Missing for Selection</div>
<div id="indianred" draggable="false" class="keyBlock" style="background:IndianRed">Invalid Choice</div>
<div id="pink" draggable="false" class="keyBlock" style="background:Pink">Prereq Missing for selection</div>
<div id="gold" draggable="false" class="keyBlock" style="background:gold">Not Offered in Selected Semester</div>
<div id="DarkOrange" draggable="false" class="keyBlock" style="background:DarkOrange">Taking More than 19 Credits</div>
</div>
<Prereqs id="Prereqs" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Prior Credits</div></Prereqs>
<div id = "SemesterBlock">
<Semester id="s1" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Fall 1 (0 Cr)</div></Semester>
<Semester id="s2" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Spring 1 (0 Cr)</div></Semester>
<Semester id="s3" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Fall 2 (0 Cr)</div></Semester>
<Semester id="s4" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Spring 2 (0 Cr)</div></Semester>
<Semester id="s5" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Fall 3 (0 Cr)</div></Semester>
<Semester id="s6" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Spring 3 (0 Cr)</div></Semester>
<Semester id="s7" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Fall 4 (0 Cr)</div></Semester>
<Semester id="s8" draggable="false" ondrop="drop(event)" ondragover="allowDrop(event)"><div class = "title">Spring 4 (0 Cr)</div></Semester>
</div>
<Info id = "Info" draggable="false"><div class = "title">Info</div><div class = "paragraph"></div></Info>
</body>
</html>