-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (83 loc) · 2.94 KB
/
index.html
File metadata and controls
89 lines (83 loc) · 2.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Automatic Timetable Generator</title>
<link rel="icon" href="assets/favicon.ico"/>
<link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"/>
<link rel="stylesheet" href="css/style.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"/>
</head>
<body>
<div class="wizard-container">
<h1 class="title">Automatic Timetable Generator</h1>
<div class="progress-bar" data-step="1">
<div class="step active" data-step="1">Enter Courses</div>
<div class="step" data-step="2">Preview</div>
<div class="step" data-step="3">Generate</div>
<div class="step" data-step="4">View</div>
</div>
<!-- Step 1: Enter Courses -->
<section id="step1" class="step-section active">
<h2>Enter Your Course Details</h2>
<div id="courseContainer"></div>
<div class="button-row">
<button id="addCourseBtn" class="btn secondary icon">
<i class="fas fa-plus"></i> Add Course
</button>
<button id="toPreview" class="btn primary icon">
Next <i class="fas fa-arrow-right"></i>
</button>
</div>
</section>
<!-- Step 2: Preview -->
<section id="step2" class="step-section">
<h2>Review Your Courses</h2>
<table id="previewTable">
<thead>
<tr>
<th>Course Code</th>
<th>Duration (hrs)</th>
<th>Sessions/Week</th>
<th>Action</th>
</tr>
</thead>
<tbody></tbody>
</table>
<div class="button-row">
<button id="backToEntry" class="btn secondary icon">
<i class="fas fa-arrow-left"></i> Back
</button>
<button id="toGenerate" class="btn primary icon">
Generate <i class="fas fa-wand-magic-sparkles"></i>
</button>
</div>
</section>
<!-- Step 3: Generating -->
<section id="step3" class="step-section">
<h2>Creating Your Timetable</h2>
<div class="loader-container">
<div class="loader"></div>
<p class="progress-text">Optimizing your schedule...</p>
</div>
</section>
<!-- Step 4: View Timetable -->
<section id="step4" class="step-section">
<h2>Your Weekly Schedule</h2>
<div id="timetableGrid" class="grid-section"></div>
<div class="button-row">
<button id="restartBtn" class="btn secondary icon">
<i class="fas fa-redo"></i> New Schedule
</button>
<button id="printBtn" class="btn primary icon">
<i class="fas fa-print"></i> Print
</button>
</div>
</section>
</div>
<script src="js/app.js"></script>
<script src="js/form.js"></script>
<script src="js/timetable.js"></script>
</body>
</html>