-
Notifications
You must be signed in to change notification settings - Fork 0
/
section.php
59 lines (54 loc) · 1.6 KB
/
section.php
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>Vertical Nav Bar</title>
<style>
/* Sidebar styles */
.sidebar {
position: fixed;
top: 0;
left: 0;
width: 250px;
background-color: #333;
height: 100%;
padding-top: 20px;
display: flex;
flex-direction: column;
}
.sidebar a {
padding: 15px 25px;
text-decoration: none;
font-size: 20px;
color: #fff;
display: block;
}
.sidebar a:hover {
background-color: #444;
}
/* Content styles */
.content {
margin-left: 250px;
}
iframe {
width: 100%;
height: 100vh; /* Use the full viewport height */
border: none;
}
</style>
</head>
<body>
<div class="sidebar">
<a href="graphs.php" target="contentFrame">Dashboard</a>
<a href="addfaculty.php" target="contentFrame">Add Faculty</a>
<a href="manfac.php" target="contentFrame">Manage Faculty</a>
<a href="studentlist.php" target="contentFrame">Manage Students</a>
<a href="viewfeedbacks.php" target="contentFrame">Feedbacks</a>
<a href="home.php" >Logout</a>
</div>
<div class="content">
<iframe name="contentFrame" frameborder="0" src="cards.php"></iframe>
</div>
</body>
</html>