This commit is contained in:
Aritra Banik 2024-05-25 15:50:55 +05:30
parent 1abb1f7aaf
commit 937cabb6e0
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Faculty Login</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Faculty Login</h1>
</header>
<main>
<section class="login">
<form action="#"> <label for="username">Username:</label>
<input type="text" id="username" required>
<label for="password">Password:</label>
<input type="password" id="password" required>
<button type="submit">Login</button>
</form>
</section>
</main>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Attendance</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Check Attendance</h1>
</header>
<main>
<section>
<p>Enter your Student ID:</p>
<input type="text" id="student_id">
<button onclick="checkAttendance()">Check</button>
<p id="attendance_message"></p>
</section>
</main>
<script>
function checkAttendance() {
// Simulate attendance check (replace with actual logic)
const studentId = document.getElementById('student_id').value;
const attendanceMessage = document.getElementById('attendance_message');
attendanceMessage.textContent = `Attendance data for student ID ${studentId} is not available in this demo.`;
}
</script>
</body>
</html>