-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStudentDashboard.html
154 lines (134 loc) · 5.28 KB
/
StudentDashboard.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>E-learning website</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="css/StudentDash.css">
<!-- <link rel="stylesheet" href="course.css"> -->
<!-- <link rel="stylesheet" href="css/style.css"> -->
</head>
<body>
<header>
<!-- Humburger -->
<div class="hamburger">
<i class="fa-solid fa-bars-staggered" data-visible="true"></i>
<i class="fa-solid fa-xmark" data-visible="false"></i>
</div>
<nav class="desktop-menu">
<div class="logo">
<!-- <h1>LEARN <em class="logo-Online">ONLINE</em></h1> -->
<img src="images/logoooooooooooooo.png" alt="Logo" />
</div>
<ul class="navbar">
<li><a href="index.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<div class="btn">
<div class="user-dash">aki</div>
<a href="login.html" class="signIn">Sign In</a>
<a href="registration.html" class="signUp" >Sign Up</a>
<a href="#" class="Logout" style="display: none;">Logout</a>
</div>
</nav>
<div class="mobile-menu">
<div class="logo">
<a href="index.html">
<img src="images/logoooooooooooooo.png" alt="Logo" />
</a>
</div>
<!-- right menu -->
<div class="menu-link" data-visible="false">
<div class="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="about.html">AboutUs</a></li>
<li><a href="contact.html">ContactUs</a></li>
</ul>
<div class="btn">
<div class="user-dash">aki</div>
<a href="login.html" class="signIn">Sign In</a>
<a href="registration.html" class="signUp" >Sign Up</a>
<a href="#" class="Logout" style="display: none;">Logout</a>
</div>
</div>
</div>
</div>
</header>
<div class="dashcontainer">
<div class="dashboard">
<ul>
<li><a href="#myCourses" class="links">My Courses</a></li>
<li><a href="#myAccount" class="links" id="myProfile">My Profile</a></li>
<li><a href="#help" class="links">Quick Help</a></li>
</ul>
</div>
<div class="dashDisplay">
<div id="myCourses" class="orderdetails">
<h4>My Courses</h4>
<h6>These are the courses you've enrolled in:</h6>
<div class="ordercards"></div>
</div>
<div id="myAccount" class="orderdetails" style="display: none;">
<h4>Student Profile</h4>
<!-- Display User Info -->
<div class="user-info">
<div class="user-valu-disp">
<p><strong>Full name:</strong> <span id="displayFullname">Loading...</span></p>
<p><strong>Username:</strong> <span id="displayUsername">Loading...</span></p>
<p><strong>Email:</strong> <span id="displayEmail">Loading...</span></p>
<h5>Enrolled Courses:</h5>
</div>
<div class="table-student">
<table>
<thead>
<tr>
<th>Course Name</th>
<th>Instructor</th>
<th>Price</th>
</tr>
</thead>
<tbody id="enrolledCoursesList">
</tbody>
</table>
</div>
<!-- Courses will be dynamically added here -->
</div>
</div>
<div id="help" class="orderdetails" style="display: none;">
<h4>Need any help?</h4>
<h6>Contact us for support</h6>
<!-- WhatsApp Contact -->
<div class="whatsapp-contact">
<div class="whatsapp-icon">
<p>If you need assistance, please reach out to us:</p>
<a href="https://wa.me/252613355008" target="_blank">
<img src="https://static1.anpoimages.com/wordpress/wp-content/uploads/2023/12/whatsapp-logo-with-green-background.jpg" alt="WhatsApp Logo" />
</a>
</div>
<div class="whatsapp-qr">
<p>Scan the QR code below to chat with us on WhatsApp:</p>
<a href="https://wa.me/252613355008" target="_blank">
<img src="https://preview.redd.it/3ipyc7vvofh61.png?width=392&format=png&auto=webp&s=5cd31d0bebfc7d899e80d074ac1f1900b3ccccef" alt="WhatsApp QR Code" width="150" height="150" />
</a>
</div>
</div>
</div>
</div>
</div>
<script src="js/main.js"></script>
<script src="js/menu.js"></script>
<script src="js/StudentDash.js"></script>
<script src="js/security.js"></script>
</body>
</html>