This commit is contained in:
Aritra Banik 2024-05-25 21:20:28 +05:30
parent 1e60c3eb50
commit 99483089be
3 changed files with 33 additions and 3 deletions

View file

@ -7,3 +7,9 @@ pub fn (mut app App) faculty_login() vweb.Result {
return $vweb.html()
}
@['/faculty'; get]
pub fn (mut app App) faculty_admin() vweb.Result {
return $vweb.html()
}

View file

@ -1,3 +0,0 @@
module main
import vweb

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Faculty Admin</title>
@css '/templates/style.css'
</head>
<body>
<header>
<h1>Faculty Admin Panel</h1>
</header>
<main>
<section class="admin-options">
<h2>Welcome, [Faculty Name]!</h2>
<ul>
<li><a href="#">View Class Schedule</a></li>
<li><a href="#">Take Attendance</a></li>
<li><a href="#">Record Grades</a></li>
<li><a href="#">View Student Information</a></li>
<li><a href="#">Send Announcements</a></li>
<li><a href="#">Logout</a></li>
</ul>
</section>
</main>
</body>
</html>