-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome-students.html
283 lines (269 loc) · 12 KB
/
home-students.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous" />
<link rel="stylesheet" href="./assets/css/teachers_home.css" />
<title>Student Home</title>
<link href="assets/img/favicon.png" rel="icon" />
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon" />
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
</head>
<body>
<!-- Floating Action Buttons -->
<div class="fab">
<button class="btn btn-primary" id="add-class" style="font-size: 8px; vertical-align: text-bottom;
align-items: center; border-radius: 10%;" data-toggle="modal" data-target="#createclass">
+ </button>
</div>
<!-- Navbar -->
<section id="navigation">
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-lg sticky-top">
<a class="navbar-brand ml-3 text-white h1 mt-3" href="#">Webin-AR</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02"
aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ml-auto">
<li class="nav-item mt-3 mr-3">
<a href="StudentPortal.html">
<button
class="btn btn-outline-primary text-white border-white"
id="classbtn"
>
Join Meet
</button>
</a>
</li>
<li class="nav-item mt-3 mr-3">
<button class="btn btn-outline-primary text-white border-white" id="logout">
Logout
</button>
</li>
</ul>
</div>
</nav>
</section>
<!-- Classes -->
<section id="classes">
<div class="container mt-5" id="classes-container">
<!-- Default fallback when no classes are added -->
<div class="row" id="empty-classes">
<img data-aos="fade-up" src="./assets/img/home/empty_class.jpg" class="img-fluid mx-auto"
alt="Empty classroom image" id="classes-img" />
<p style="font-family: 'Baloo Tammudu 2', cursive; font-size: 20px;" data-aos="fade-up" data-aos-delay="200" id="no_classes" class="mx-auto mt-4 text-danger text-center">
You have not created any classes yet. Click the Plus icon at the
bottom and get started.
</p>
</div>
<!-- <div class="row">
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card" style=" box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;"
data-aos="fade-up" data-aos-delay="400">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div><div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3 col-md-4 mb-4">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div> -->
<!-- <div class="col-sm-6 col-xl-3 col-md-4 mb-3">
<div class="card"
data-aos="fade-up" data-aos-delay="400"
style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border-radius: 10px; border-width: 2px;">
<div class="card-body">
<h5 class="card-title">Subject</h5>
<p class="card-text">This is a card for section xxx</p>
<a href="#" class="btn btn-primary stretched-link"
>Open classroom</a
>
</div>
</div>
</div> -->
</div>
</section>
</div>
</section>
<!-- Modals -->
<div class="modal fade" id="createclass" tabindex="-1" role="dialog" aria-labelledby="Modal to create class"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="createclasstitle">Join Classroom</h5>
<button type="button" id="closeBtn" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="subject-code">Subject Code</label>
<input type="text" id="classCode" class="form-control" id="subject-code" aria-describedby="subject"
placeholder="xxxxxx" />
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" id="join" class="btn btn-primary">Join</button>
</div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="./assets/js/studentsHome.js" defer></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"></script>
<script src="assets/vendor/jquery/jquery.min.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
<script src="assets/vendor/counterup/counterup.min.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/venobox/venobox.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.21.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.21.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.21.0/firebase-firestore.js"></script>
<script>
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "AIzaSyDlvtfuPKGuuK9O0JSSrbPpx6mD_mkpm3Q",
authDomain: "webin-ar-1095c.firebaseapp.com",
databaseURL: "https://webin-ar-1095c.firebaseio.com",
projectId: "webin-ar-1095c",
storageBucket: "webin-ar-1095c.appspot.com",
messagingSenderId: "227270577042",
appId: "1:227270577042:web:349af7d441b70b13380f4b",
measurementId: "G-4HZ8NY76VD",
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
const auth = firebase.auth();
const db = firebase.firestore();
</script>
<script src="assets/js/main.js"></script>
</body>
</html>