-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (51 loc) · 2.32 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
<!DOCTYPE html>
<!--!testing buttons have been removed-->
<html>
<head>
<title>
Mock Exam Timetabling System
</title>
<link rel="stylesheet" href="examSchedulerStyles.css" type="text/css">
<script src="examSchedulerUI.js"></script>
</head>
<body>
<h1>Mock Exam Timetabling System</h1>
<div id=upload>
<p>
<h3><u>Please upload your files in <b>.csv</b> format.</u></h3>
If you have another file format(eg .xlsx) you will have to export the files as .csv file.
</p>
<div>
<p>Students and Exams File: <input type="file" id="studentsAndExams" accept=".csv" onchange="readCsvFile(this)" required/></p>
<p>Room names and capacities file: <input type="file" id="roomData" accept=".csv" onchange="readCsvFile(this)" required/></p>
<p>Exam Lengths: <input type="file" id="examLengths" accept=".csv" onchange="readCsvFile(this)" required/></p>
<p>Mock exam series start Date: <input type="date" id="startDate" onchange="getInputData(this)" required/></p>
<p>Length of mock series in whole days: <input type="number" id="mockExamSeriesLengthInDays" onchange="getInputData(this)" required></p>
<p><button onclick="processSubmit()">Upload</button></p>
</div>
</div>
<p id="output"></p>
<p id="error"></p>
<div id="timetable">
<p id="utils">Show Clashes<input id="showClashesChk" type="checkbox" onclick="toggleClashes()" Checked/>
<button onclick="printTimetable()">Print</button></p>
<div id="printable">
<table>
<thead id="days">
<tr id="headings">
</tr>
</thead>
<tr id="AMRow">
</tr>
<tr id="PMRow">
</tr>
</table>
</div>
<br/>
<button onclick="init()">Start Over</button>
</div>
</body>
<footer>
<p>Mock Exam Timetabling System v1.02 ~ Oli Sharp, Jul 2023</p>
</footer>
</html>