-
Notifications
You must be signed in to change notification settings - Fork 4
/
dashboard.html
94 lines (94 loc) · 2.29 KB
/
dashboard.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link rel="stylesheet" href="dashboard.css" />
<title>Quizzey</title>
</head>
<body>
<div class="nav_bar">
<h2>QUIZZEY</h2>
<div class="user_name" onclick="toggle_dropdown()">
<h2 id="name">FIRST_NAME</h2>
<img
src="https://icon-library.com/images/default-user-icon/default-user-icon-4.jpg"
alt="Profile Picture"
/>
</div>
<div class="dd_wrapper" id="dropdown">
<button>Dashboard</button>
<button>Profile</button>
<hr />
<button onclick="signOut()">Sign Out</button>
</div>
</div>
<div class="root">
<div class="class_btns">
<button onclick="toggle_modal_1()">
<span class="material-icons"> add_circle_outline </span>
CREATE CLASS
</button>
<button onclick="toggle_modal_2()">
<span class="material-icons"> school </span>
JOIN CLASS
</button>
</div>
<div class="class_card_wrapper"></div>
</div>
<div class="modal-bg">
<div class="modal_1">
<h3>CREATE CLASS</h3>
<h3 onclick="toggle_modal_1()">
<span class="material-icons">close</span>
</h3>
<hr />
<form id="createClassForm">
<label>Classroom Name</label>
<input
name="class_title"
type="text"
maxlength="20"
required
/>
<label>Classroom Description</label>
<input
name="class_desc"
type="text"
maxlength="125"
required
/>
<button type="submit">ADD CLASS</button>
</form>
</div>
<div class="modal_2">
<h3>JOIN CLASS</h3>
<h3 onclick="toggle_modal_2()">
<span class="material-icons">close</span>
</h3>
<hr />
<form id="joinClassForm">
<label>Classroom Code</label>
<input
name="classCode"
type="text"
minlength="7"
maxlength="7"
required
/>
<button type="submit">JOIN CLASS</button>
</form>
</div>
</div>
<script src="./dashboard.js"></script>
</body>
</html>