-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
239 lines (239 loc) · 12.8 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
<!DOCTYPE html>
<html>
<head>
<title>Exam Seat Planner</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css?v=1">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<header class="bg-primary">
<h1>Exam Seat Planner</h1>
</header>
<section>
<div class="section-center text-left">
<blockquote>
<p class="text-muted">This tool can save a lot of time for you, if you are the person who takes the responsibility of scheduling the students' seating in the exam halls during exams.</p>
</blockquote>
<hr>
<h3>Step 1 <small>Enter the detail of the rooms</small></h3>
<hr>
<div id="roomDetail" class="container">
<div class="row btn-row room-detail-row">
<div class="col-xs-6 col-sm-3">
<input type="number" class="form-control room-rows" placeholder="No. of Rows">
<span class="help-block has-error">Value must be a number</span>
</div>
<div class="col-xs-6 col-sm-3">
<input type="number" class="form-control room-cols" placeholder="No. of Columns">
<span class="help-block has-error">Value must be a number</span>
</div>
<div class="col-xs-6 col-sm-3">
<input type="text" class="form-control room-no" placeholder="Room Number" title="Default is 1,2,3..." data-default-rn="1">
</div>
<div class="col-xs-3 col-sm-2">
<button class="btn btn-primary add-btn add-room">Add Room</button>
<button type="button" class="btn btn-danger rmv-btn rmv-room">Remove Room</button>
</div>
<div class="col-xs-3 col-sm-1">
<button type="button" class="btn btn-danger rmv-btn-cross rmv-room-cross">×</button>
</div>
</div>
</div>
<hr>
<h3>Step 2 <small>Enter the detail of class and students</small></h3>
<hr>
<div id="classDetail" class="container">
<div class="row btn-row class-detail-row">
<div class="col-xs-6 col-sm-3">
<input type="text" class="form-control class-name" placeholder="Class Name">
</div>
<div class="col-xs-6 col-sm-2">
<input type="text" class="form-control section-name" placeholder="Section Name" data-text-type="">
</div>
<div class="col-xs-3 col-sm-2">
<input type="number" class="form-control student-count" placeholder="No. of Students">
<span class="help-block">Value must be a number</span>
</div>
<div class="col-xs-3 col-sm-2">
<button class="btn btn-default add-rollno">Add Roll No.</button>
<div class="rollno-div top-layer container">
<div class="row">
<h4 class="pull-left">Add Roll No. <small>Add students roll no in order</small></h4>
<button type="button" class="close close-rollno-div" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="row">
<table class="table table-striped table-bordered table-responsive rollno-table">
<tr>
<th class="text-center">Sr.</th>
<th class="text-center">Roll No.</th>
</tr>
<tr>
<td class="text-center">1</td>
<td><input type="text" class="form-control roll-no-input" placeholder="Roll No."></td>
</tr>
</table>
</div>
</div>
</div>
<div class="col-xs-3 col-sm-2">
<button class="btn btn-primary add-btn add-class" title="Click to add section Or Ctrl+Click to add class">Add Class</button>
<button type="button" class="btn btn-danger rmv-btn rmv-class">Remove Room</button>
</div>
<div class="col-xs-3 col-sm-1">
<button type="button" class="btn btn-danger rmv-btn-cross rmv-class-cross">×</button>
</div>
</div>
</div>
<hr>
<h3>Step 3 <small>Choose the most suitable seating type for you</small></h3>
<hr>
<div class="container seatType-container">
<div class="row">
<div class="col-xs-6 col-sm-3">
<h4>Choose Classes per room</h4>
<div class="col-xs-12">
<div class="radio">
<label for="cpr2">
<input type="radio" name="cpr" id="cpr2" value="2" checked>
Two
</label>
</div>
<div class="radio">
<label for="cpr3">
<input type="radio" name="cpr" id="cpr3" value="3">
Three
</label>
</div>
<div class="radio">
<label for="cpr4">
<input type="radio" name="cpr" id="cpr4" value="4">
Four
</label>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3 pad-7">
<div class="pad-7">
<table class="table table-bordered table-condensed seating-table cpr-2">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R2</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-3">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R2</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-4">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R2</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
</table>
<div class="radio">
<label for="st-AABB" class="cpr-2"><input type="radio" name="seating_type" id="st-AABB" value="AABB" checked>AABB</label>
<label for="st-AABBCC" class="cpr-3"><input type="radio" name="seating_type" id="st-AABBCC" value="AABBCC">AABBCC</label>
<label for="st-AABBCCDD" class="cpr-4"><input type="radio" name="seating_type" id="st-AABBCCDD" value="AABBCCDD">AABBCCDD</label>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3 pad-7">
<div class="pad-7">
<table class="table table-bordered table-condensed seating-table cpr-2">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R2</th><td>B</td><td>A</td><td>B</td><td>A</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
<tr><th class="active">R4</th><td>B</td><td>A</td><td>B</td><td>A</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>A</td><td>B</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-3">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R2</th><td>B</td><td>C</td><td>A</td><td>B</td></tr>
<tr><th class="active">R3</th><td>C</td><td>A</td><td>B</td><td>C</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>C</td><td>A</td></tr>
<tr><th class="active">R5</th><td>B</td><td>C</td><td>A</td><td>B</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-4">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R2</th><td>B</td><td>C</td><td>D</td><td>A</td></tr>
<tr><th class="active">R3</th><td>C</td><td>D</td><td>A</td><td>B</td></tr>
<tr><th class="active">R4</th><td>D</td><td>A</td><td>B</td><td>C</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
</table>
<div class="radio">
<label for="st-ABAB" class="cpr-2"><input type="radio" name="seating_type" id="st-ABAB" value="ABAB">ABAB</label>
<label for="st-ABCABC" class="cpr-3"><input type="radio" name="seating_type" id="st-ABCABC" value="ABCABC">ABCABC</label>
<label for="st-ABCDABCD" class="cpr-4"><input type="radio" name="seating_type" id="st-ABCDABCD" value="ABCDABCD">ABCDABCD</label>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3 pad-7">
<div class="pad-7">
<table class="table table-bordered table-condensed seating-table cpr-2">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>A</td><td>A</td><td>B</td></tr>
<tr><th class="active">R2</th><td>A</td><td>A</td><td>A</td><td>B</td></tr>
<tr><th class="active">R3</th><td>A</td><td>A</td><td>B</td><td>B</td></tr>
<tr><th class="active">R4</th><td>A</td><td>A</td><td>B</td><td>B</td></tr>
<tr><th class="active">R5</th><td>A</td><td>A</td><td>B</td><td>B</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-3">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>A</td><td>B</td><td>C</td></tr>
<tr><th class="active">R2</th><td>A</td><td>A</td><td>C</td><td>C</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>C</td><td>C</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>C</td><td>C</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>C</td><td>C</td></tr>
</table>
<table class="table table-bordered table-condensed seating-table cpr-4">
<tr><th></th><th class="active">C1</th><th class="active">C2</th><th class="active">C3</th><th class="active">C4</th></tr>
<tr><th class="active">R1</th><td>A</td><td>A</td><td>B</td><td>C</td></tr>
<tr><th class="active">R2</th><td>A</td><td>A</td><td>C</td><td>D</td></tr>
<tr><th class="active">R3</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R4</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
<tr><th class="active">R5</th><td>A</td><td>B</td><td>C</td><td>D</td></tr>
</table>
<div class="radio">
<label for="st-AB" class="cpr-2"><input type="radio" name="seating_type" id="st-AB" value="AB">AB</label>
<label for="st-ABC" class="cpr-3"><input type="radio" name="seating_type" id="st-ABC" value="ABC">ABC</label>
<label for="st-ABCD" class="cpr-4"><input type="radio" name="seating_type" id="st-ABCD" value="ABCD">ABCD</label>
</div>
</div>
</div>
</div>
</div>
<hr>
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-success" id="btnSubmit">Create Exam Seat Map</button>
</div>
</div>
</div>
</div>
<div class="blurbox"></div>
</section>
<footer class="bg-primary">
<div class="text-center margin-auto">Made with
<span class="text-shadow-white glyphicon glyphicon-heart" aria-hidden="true"></span>
in India, <em>By a proud rural boy of Distt. Bijnor</em>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/script.js?v=1"></script>
</body>
</html>