Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (86 loc) · 2.78 KB
/
Copy pathindex.html
File metadata and controls
112 lines (86 loc) · 2.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BITS BSc CS Curriculum Path Visualizer</title>
<link rel="stylesheet" href="style.css" />
</head>
<body class="theme-light">
<div id="mobile-banner" aria-live="polite">
Best on desktop.
</div>
<div id="app">
<div id="view">
<div id="view-header">
<h1>BSc Computer Science</h1>
<p>BITS Pilani Curriculum Path Visualizer</p>
<a id="view-source-link" href="https://github.com/bits-bsc-cs/pathfinder" target="_blank" rel="noopener noreferrer">view source code</a>
</div>
<div id="tree-container">
<div id="tree">
<div id="trunk-line" style="display:none;" aria-hidden="true"></div>
<div id="start-node" style="display:flex;">
<div
class="node"
role="button"
tabindex="0"
data-action="start"
style="min-width:80px; text-align:center;"
>
<div class="node-title">START</div>
</div>
</div>
</div>
</div>
<div id="continue-btn-wrapper">
<span id="continue-hint"></span>
<button id="continue-btn" disabled>Continue</button>
<p class="continue-disabled-tooltip">Complete all required courses first.</p>
</div>
</div>
<div id="sidebar">
<div id="sidebar-topbar">
<div id="sidebar-topbar-left">
<button
id="theme-toggle-btn"
data-action="toggle-theme"
aria-label="Switch to dark theme"
>[ dark ]</button>
</div>
<div id="sidebar-topbar-right">
<button
id="reset-btn-initial"
data-action="reset-btn"
>Reset Path</button>
<div id="reset-confirm" role="group" aria-label="Confirm reset">
<span class="text-sm text-muted">Are you sure?</span>
<button data-action="reset-confirm-yes">[ Yes, reset ]</button>
<button data-action="reset-confirm-cancel">[ Cancel ]</button>
</div>
</div>
</div>
<div
id="sidebar-content"
role="region"
aria-label="Course information"
aria-live="polite"
>
</div>
<div id="sidebar-spec-tracker" aria-live="polite">
</div>
<div id="sidebar-bottombar">
<span id="elective-counter"></span>
<button
id="select-btn"
data-action="select-course"
>Select</button>
</div>
</div>
</div>
<script src="data.js"></script>
<script src="state.js"></script>
<script src="render.js"></script>
<script src="app.js"></script>
</body>
</html>