-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
190 lines (166 loc) · 8 KB
/
index.html
File metadata and controls
190 lines (166 loc) · 8 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Schedule With Me</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/clockpicker.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<!-- Custom CSS -->
<!--<link href="css/round-about.css" rel="stylesheet">-->
<!--jQuery-->
<script src="js/jquery-2.1.3.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<script src="js/clockpicker.js"></script>
<!--class adder-->
<div class="container">
<ul class = "class-list" id="class-listing">
<li class="select start">
<button type="button" class="class-adder" id="class-modal-button" data-toggle="modal" data-target="#class-modal">
+ class
</button>
</li>
</ul>
</div>
<!-- Class add Modal -->
<div class="modal fade" id="class-modal" tabindex="-1" role="dialog" aria-labelledby="class-modal-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<form id="class-adder">
<h1>add a class</h1>
<h2>class name</h2> <input type="text" class="input input-text form-control" name="class-name" id="class-name">
<h2>credit hours</h2> <input type="number" class="input input-number form-control" name="credit-hours" id="credit-hours">
<h2>professor</h2> <input type="text" class="input input-text form-control" name="professor" id="professor">
<h2>start time</h2>
<div class="input-group clockpicker" id="start-time" data-placement="bottom" data-align="top" data-twelvehour="true" data-autoclose="true">
<input type="text" class="form-control" value="" id="start-time-box">
<span class="input-group-addon">
<span class="glyphicon glyphicon-time"></span>
<input type="radio" name="start-radio-ampm" id="start-radio-am" checked="checked">
<label for="start-radio-am">am</label>
<input type="radio" name="start-radio-ampm" id="start-radio-pm">
<label for="start-radio-pm">pm</label>
</span>
</div>
<script type="text/javascript">
$('#start-time').clockpicker();
</script>
<h2>end time</h2>
<div class="input-group clockpicker" id="end-time" data-placement="bottom" data-align="top" data-twelvehour="true" data-autoclose="true">
<input type="text" class="form-control" value="" id="end-time-box">
<span class="input-group-addon">
<span class="glyphicon glyphicon-time"></span>
<input type="radio" name="end-radio-ampm" id="end-radio-am" checked="checked">
<label for="end-radio-am">am</label>
<input type="radio" name="end-radio-ampm" id="end-radio-pm">
<label for="end-radio-pm">pm</label>
</span>
</div>
<script type="text/javascript">
$('#end-time').clockpicker();
</script>
<h2>days of week</h2>
<form class="week" action="">
<span class="input-group-addon week-selection">
<input type="checkbox" name="day-week" value="Su" class="days" id="sunday"><label for="sunday">Sunday</label>
<input type="checkbox" name="day-week" value="M" class="days" id="monday"><label for="monday">Monday</label>
<input type="checkbox" name="day-week" value="Tu" class="days" id="tuesday"><label for="tuesday">Tuesday</label>
<input type="checkbox" name="day-week" value="W" class="days" id="wednesday"><label for="wednesday">Wednesday</label>
<input type="checkbox" name="day-week" value="Th" class="days" id="thursday"><label for="thursday">Thursday</label>
<input type="checkbox" name="day-week" value="F" class="days" id="friday"><label for="friday">Friday</label>
<input type="checkbox" name="day-week" value="Sa" class="days" id="saturday"><label for="saturday">Saturday</label>
</span>
</form>
<h2>must take this semester (but not necessarily at this time)</h2>
<div class="center">
<span class="input-group-addon">
<input type="radio" class="btn" name="semester-req" id="semester-radio-yes">
<label for="semester-radio-yes">yes</label>
<input type="radio" class="btn" name="semester-req" id="semester-radio-no">
<label for="semester-radio-no">no</label>
</span>
</div>
<div class="center">
<span class ="input-group-addon final-buttons">
<button type="button" class="btn btn-close" data-dismiss="modal" id="cancel-btn">close</button>
<button type="button" class="btn btn-add-class" data-dismiss="modal" id="add-class-button">add class</button>
</span>
</div>
</form>
</div>
</div>
</div>
</div>
<!--Optimize button-->
<div class="container">
<button type="button" class="optimize" id="optimizer" data-toggle="modal" data-target="#optimize-modal">
optimize
</button>
</div>
<!-- Optimize Modal -->
<div class="modal fade" id="optimize-modal" tabindex="-1" role="dialog" aria-labelledby="optimize-modal-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<form id="class-adder">
<h1>optimize settings</h1>
<h2>number of classes</h2>
<span class ="input-group-addon optimizationfix">
<span class="inlineblock">
<label for="min-classes">min</label>
</span>
<span class="inlineblock">
<input type="number" class="input input-number form-control" name="min" id="min-classes">
</span>
</span>
<span class ="input-group-addon optimizationfix">
<span class="inlineblock">
<label class="opt" for="max-classes">max</label>
</span>
<span class="inlineblock">
<input type="number" class="input input-number form-control opting" name="max" id="max-classes">
</span>
</span>
<h2>credit hours</h2>
<span class ="input-group-addon optimizationfix">
<span class="inlineblock">
<label for="min-hours">min</label>
</span>
<span class="inlineblock">
<input type="number" class="input input-number form-control" name="min" id="min-hours">
</span>
</span>
<span class ="input-group-addon optimizationfix">
<span class="inlineblock">
<label class="opt" for="max-hours">max</label>
</span>
<span class="inlineblock">
<input type="number" class="input input-number form-control opting" name="max" id="max-hours">
</span>
</span>
<h2>sort by</h2>
</form>
<button type="button" class="btn btn-close" id="btn-opt-close" data-dismiss="modal">close</button>
<button type="button" class="btn btn-add-class" id="optimize-button" data-dismiss="modal">optimize</button>
</div>
</div>
</div>
</div>
<!--bootstrap js shit-->
<script src="js/bootstrap.js"></script>
<script src="js/everything.js"></script>
</body>
</html>