-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
306 lines (263 loc) · 18.7 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="Schedule Generator,Schedule Builder,Schedule,Builder,Generator,University,School">
<meta name="description" content="Schedule Storm is a Fast and Open Source University Schedule Generator. Supports UCalgary, UAlberta, MTRoyal, UWaterloo, ULethbridge...">
<title>Schedule Storm</title>
<!-- Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/assets/icons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/assets/icons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="/assets/icons/manifest.json">
<link rel="mask-icon" href="/assets/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/assets/icons/favicon.ico">
<meta name="msapplication-config" content="/assets/icons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Roboto Font -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic" rel='stylesheet' type='text/css'>
<!-- CSS Stylesheets -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- Bootstrap -->
<link rel="stylesheet" href="css/accordion.css"> <!-- Accordion CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/9.1.3/css/bootstrap-slider.min.css"><!-- Bootstrap Slider -->
<link rel="stylesheet" href="css/bootstrap-tour.min.css"> <!-- Intro.js CSS -->
<link rel="stylesheet" href="css/main.css"> <!-- Main CSS -->
<link rel="stylesheet" href="css/loading.css"> <!-- Loading animation CSS -->
<!-- JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Operative (Web Workers wraper) -->
<script src="js/operative.min.js"></script>
<!-- HTML2Canvas (for taking Schedule screenshots) -->
<script src="js/html2canvas.min.js"></script>
<!-- clipboard.js (for copying the schedule to clipboard) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.13/clipboard.min.js"></script>
<!-- Intro.js -->
<script src="js/bootstrap-tour.min.js"></script>
<!-- Production (transpiled ES6->ES5) JS, comment this line if you're in a dev environment -->
<script src="js/production_core.js"></script>
<!-- Development JS (ES6) (uncomment if you're in a dev environment) -->
<!--
<script src="js/core/Loading.js"></script>
<script src="js/core/Preferences.js"></script>
<script src="js/core/MyCourses.js"></script>
<script src="js/core/ClassList.js"></script>
<script src="js/core/Welcome.js"></script>
<script src="js/core/Calendar.js"></script>
<script src="js/core/Generator.js"></script>
<script src="js/core/Tutorial.js"></script>
-->
<!-- Modernizer -->
<script src="js/modernizr.js"></script>
<!-- Bootstrap -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Bootstrap Slider -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/9.1.3/bootstrap-slider.min.js"></script>
<script>
$('document').ready(function(){
welcomeobj = new Welcome();
calendar = new Calendar();
preferences = new Preferences();
});
</script>
</head>
<body style="font-family: 'Roboto', sans-serif">
<!-- Modal -->
<div class="modal fade" id="welcomeModal" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" style="font-size: 35px; font-weight: 300; text-align: center">Welcome to Schedule Storm</h4>
</div>
<div class="modal-body" style="border-bottom: 1px solid #e5e5e5; padding-bottom: 30px;">
<center id="uniModalList">
<p id="wantedData" style="padding-bottom: 20px;"></p>
<div class="btn-group-vertical btn-group-lg" role="group" id="dataList"></div>
</center>
</div>
</div>
</div>
</div>
<div class="modal fade" id="Preferences" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" style="font-size: 35px; font-weight: 300; text-align: center">Schedule Preferences</h4>
</div>
<div class="modal-body" style="border-bottom: 1px solid #e5e5e5">
<center>
<!-- (Shows ENG restricted classes outside of the Faculty of Engineering) -->
<p style="padding: 10px 0">
<input type="checkbox" value="" style="margin-right: 10px" id="engineeringCheckbox">Engineering Student?
<i class="glyphicon glyphicon-info-sign" data-toggle="tooltip" title="Shows ENGG restricted classes outside of the Faculty of Engineering" id='engineeringCheckboxTooltip'></i>
</p>
<p style="padding: 10px 0"><input type="checkbox" value="" style="margin-right: 10px" id="onlyOpenCheckbox">Show Only Open Classes?</p>
<p style="padding: 10px 0;">Quality Preference</p>
Time Slots
<input id="slider_rmp" type="text" data-slider-min="-100" data-slider-max="100" data-slider-step="1" data-slider-value="0" style="display: none" data-value="0" value="0" data-slider-tooltip="hide">
Instructors
<p style="padding-top: 20px; padding-bottom: 10px;">Morning Classes</p>
Hate
<input id="slider_morning" type="text" data-slider-min="-100" data-slider-max="100" data-slider-step="1" data-slider-value="0" style="display: none;" data-value="0" value="0" data-slider-tooltip="hide">
Love
<p style="padding-top: 20px; padding-bottom: 10px;">Night Classes</p>
Hate
<input id="slider_night" type="text" data-slider-min="-100" data-slider-max="100" data-slider-step="1" data-slider-value="0" style="display: none;" data-value="0" value="0" data-slider-tooltip="hide">
Love
<p style="padding-top: 20px; padding-bottom: 10px;">Consecutive Classes</p>
Hate
<input id="slider_consecutive" type="text" data-slider-min="-100" data-slider-max="100" data-slider-step="1" data-slider-value="0" style="display: none;" data-value="0" value="0" data-slider-tooltip="hide">
Love
<br>
<button type="button" class="btn btn-primary btn" style="margin-top: 40px" onclick="localStorage.removeItem('tour_end'); $('#Preferences').modal('hide'); var thistut = new Tutorial();"><span class="glyphicon glyphicon-info-sign"></span> Start Tour</button>
</center>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="About" role="dialog">
<div class="modal-dialog modal-lg">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" style="font-size: 35px; font-weight: 300; text-align: center">About Schedule Storm</h4>
</div>
<div class="modal-body" style="border-bottom: 1px solid #e5e5e5">
<h4 style="font-size:25px; font-weight:400; text-align: center; padding-bottom: 10px">What is Schedule Storm?</h4>
<center>
Schedule Storm is a multi-university schedule generator
<br>that tries to find the best schedule given your criteria
</center>
</div>
<div class="modal-body" style="border-bottom: 1px solid #e5e5e5">
<h4 style="font-size:25px; font-weight:400; text-align: center; padding-bottom: 10px">What's Better About It?</h4>
<center>
We wanted to make a schedule generator that was fast, expandable, customizable,
<br>and with client side schedule generation that takes into account Rate My Professor ratings.
<br><br>
Want a specific lecture or tutorial with other generated classes?
<br>Want to take into account RMP ratings and time slots?
<br>Hate mourning classes and just want some consecutive mid-day classes?
<br><br>You can do all of that with Schedule Storm
<br><br><br>
When you retrieve all the classes for a given Uni and Term, you get all the data. <br>
The total size for an average term is around 350KB (gzipped), so it's about the same size as a photo!<br><br>
When you're generating schedules or searching for classes, it is all done locally on your machine;<br>so you won't have to worry about it being too slow!
</center>
</div>
<div class="modal-body" style="border-bottom: 1px solid #e5e5e5">
<h4 style="font-size:25px; font-weight:400; text-align: center; padding-bottom: 10px;">Who developed Schedule Storm?</h4>
<center>
<div style="font-size: 18px; margin-bottom: 10px;">
<a href="https://github.com/Step7750">Stepan Fedorko-Bartos</a>
<div style="margin-top: 5px; font-size: 16px;">(Back-End Infrastructure, Front-End JS, Implemented UCalgary, MTRoyal, ULethbridge)</div>
</div>
<div style="font-size: 18px; margin-bottom: 17px;">
<a href="https://github.com/perplex">Ceegan Hale</a>
<div style="margin-top: 5px; font-size: 16px;">(Front-End CSS/HTML, Implemented UAlberta, UWaterloo)</div>
</div>
<br>If you'd like to get in touch, you can find our emails on Github or <a href="https://github.com/Step7750/ScheduleStorm">submit an issue</a></p>
</center>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span id="Brandname">Schedule <img alt='Brand' src="assets/logo.png"></span>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown noselect">
<a id="MyUniversity" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"></a>
<ul class="dropdown-menu"></ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div class="row">
<div class="col-md-6" id="courseSelector">
<div class="input-group">
<input type="text" id="searchcourses" class="form-control" placeholder="Search">
<!-- Location Dropdown -->
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="locationselect"><img src="assets/arrow.png"></button>
<ul class="dropdown-menu dropdown-menu-right" id="locationselectdropdown"></ul>
</div><!-- /btn-group -->
<!-- Term Dropdown -->
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="termselect"><img src="assets/arrow.png"></button>
<ul class="dropdown-menu dropdown-menu-right" id="termselectdropdown"></ul>
</div><!-- /btn-group -->
</div><!-- /input-group -->
<div id="CourseDataLoader" style="padding-top:10px;"></div>
<ul class="cd-accordion-menu animated headers-list" style="overflow: auto" id="classdatawraper">
<div id='classdata'></div>
</ul> <!-- cd-accordion-menu -->
</div><!-- /.col-xs-6 -->
<div id="MyCourses" class="col-md-5">
<span id="CourseList-title" style="float: left; margin-top: 5px;">My Courses</span>
<button type="button" class="btn btn-primary btn" data-toggle="modal" data-target="#Preferences" id="preferencesbutton" style="float: right;margin-bottom: 10px"><span class="glyphicon glyphicon-cog"></span> Preferences</button>
<button type="button" class="btn btn-primary btn" data-toggle="modal" data-target="#About" style="float: right; margin-right: 10px" id="aboutbutton"><span class="glyphicon glyphicon-info-sign"></span> About</button>
<ul class="nav nav-pills noselect" style="float: left; margin-left: 20px;" id="coursegroups"></ul>
<!-- Dynamically populated myclasses list -->
<ul class="cd-accordion-menu animated headers-list" style="clear:both" id="courseList">
<div id='myClasses'></div>
</ul>
</div><!-- /.col-xs-5 -->
<div id="schedule" class="col-md-5">
<div style="padding-bottom: 5px;" class="noselect">
<div style="text-align: center;" id="prevnextdiv">
<span style="font-size: 20px; color: #0275d8; cursor: pointer;" id="prevSchedule" title="Go to the previous schedule" data-toggle="tooltip">◀</span>
<span style="font-size: 16px; cursor: default;">
<div style="display: inline;" id="curGenIndex">0</div>
<div style="display: inline;">/</div>
<div style="display: inline;" id="totalGen">0</div>
</span>
<span style="font-size: 20px; color: #0275d8; cursor: pointer;" id="nextSchedule" title="Go to the next schedule" data-toggle="tooltip">▶</span>
</div>
<div style="float: left; margin-top: -21px;" id="scheduleutilities">
<button class="btn btn-default btn-xs" title="Download a Photo of your Schedule" data-toggle="tooltip" id="dlSchedulePhoto">
<span class="glyphicon glyphicon-picture"></span>
</button>
<button class="btn btn-default btn-xs" title="Upload a Photo of your Schedule to Imgur" data-toggle="tooltip" id="uploadToImgur">
<span class="glyphicon glyphicon-cloud-upload"></span>
</button>
<button class="btn btn-default btn-xs" title="Copy Schedule to Clipboard" data-toggle="tooltip" id="copySchedToClipboard">
<span class="glyphicon glyphicon-copy"></span>
</button>
<button class="btn btn-default btn-xs" title="Remove All Blocked Times" data-toggle="tooltip" id="removeBlockedTimes">
<span class="glyphicon glyphicon-hourglass"></span>
</button>
<button class="btn btn-default btn-xs" title="Share Your Schedule to Facebook" data-toggle="tooltip" id="shareToFacebook">
<span class="glyphicon" style="font-family: 'facebook-fontello'; min-width: 12px;"></span>
</button>
</div>
<div style="float: right; margin-top: -18px;">Score: <div id="scheduleScore" style="display: inline;">0</div></div>
</div>
<div class="calendar noselect" id="maincalendar">
<div id="calendarStatus"></div>
<div class="outer">
</div><!-- outer -->
</div><!-- Calendar -->
</div>
</div>
</body>
</html>