-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvisual.html
59 lines (55 loc) · 1.98 KB
/
visual.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PSSCMUSM Management System</title>
<link rel="stylesheet" href="styles.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body id="anr">
<!--Header with title and PSSCMUSM logo-->
<header>
<div class="logo">
<img src="images/logo.png" alt="Logo">
</div>
<h1>PSSCMUSM Management System</h1>
</header>
<div class="container">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="anr.html">Attendance & Records</a></li>
<li><a href="sdm.html">Student Data Management</a></li>
<li><a href="visual.html" class="active" >Data Visualization</a></li>
</ul>
<button class="logout-btn">Logout</button>
</nav>
</div>
<!--Navigation header inside body-->
<div class="navigation-text">
Data Visualization
</div>
<main>
<a href="visual2.html" class="box attendance">
<h2>Overall Data</h2>
<img src="images/overall.png" alt="Overall Icon">
<p><br>View overall data <br>of past class attendance</p>
</a>
<a href="individual.php" class="box records">
<h2>Individual Data</h2>
<img src="images/individual.png" alt="Individual Icon">
<p><br>View student attendance <br>records & test results</p>
</a>
</main>
<!--Referring to external JavaScript file-->
<script src="script.js" defer></script>
<script>
// Add event listener to the logout button
document.querySelector('.logout-btn').addEventListener('click', function() {
// Redirect to login.html
window.location.href = 'login.html';
});
</script>
</body>
</html>