-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
290 lines (266 loc) · 10.6 KB
/
index.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
284
285
286
287
288
289
290
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Log In to your ZeoFlow Account.">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quest Mode</title>
<!-- Disable tap highlight on IE -->
<meta name="msapplication-tap-highlight" content="no">
<!-- Web Application Manifest -->
<link rel="manifest" href="manifest.json">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="ZeoFlow">
<meta name="theme-color" content="#ffffff">
<link href="https://fonts.googleapis.com/css?family=PT+Sans&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link rel="stylesheet" href="assets/style/cookieConsent.css" type="text/css">
<link rel="stylesheet" href="assets/style/material.css" type="text/css">
<link rel="stylesheet" href="assets/style/toolbar.css" type="text/css">
<script src="assets/script/cookieConsent.js" type="text/javascript"></script>
<style>
/* Body Style */
body {
margin: 0;
background-color: #f5f5f5;
}
.unselectable {
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}
a {
text-decoration:none
}
/* Prevent Resizing on Padding */
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* Website Content Holder */
.contentHolder {
padding-top: 90px;
padding-bottom: 30px;
width: 100%;
position: absolute;
}
.contentleftSubolder {
padding-left: 160px;
padding-right: 160px;
}
.leftHolder {
float: left;
width: 70%;
}
.leftSubolder {
margin: 20px;
padding: 10px;
}
.rightHolder {
float: left;
width: 30%;
margin-top: -30px;
}
.rightSubolder {
margin-left: 20px;
margin-right: 30px;
}
/* Join Game By Code */
.quizzJoinHolder {
width: 100%;
padding: 20px;
margin-top: 30px;
padding-top: 14px;
background-color: #f1f1f1;
border-radius: 20px;
-webkit-filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5));
filter: drop-shadow(0px 0px 3px rgb(92, 92, 92));
}
.quizzJoinHolder:hover {
-webkit-filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
filter: drop-shadow(0px 0px 5px rgb(102, 102, 102));
}
.quizzJoinTitle {
text-align: center;
font-weight: 900;
font-size: 18px;
font-family: 'PT Sans';
color: rgb(0, 0, 0);
}
.quizzJoinSubtitle {
padding-top: 10px;
font-size: 16px;
font-family: 'PT Sans';
color: rgb(0, 0, 0);
}
.quizzJoinBtn {
width: fit-content;
margin-top: 20px;
padding-top: 6px;
margin-bottom: 4px;
padding-bottom: 6px;
font-weight: 900;
font-size: 16px;
padding-left: 30px;
padding-right: 30px;
font-family: 'PT Sans';
color: rgb(255, 255, 255);
border-radius: 5px;
background-color: #1a008d;
-webkit-filter: drop-shadow(0px 0px 4px #1a008dc0);
filter: drop-shadow(0px 0px 4px #1a008dbe);
-moz-box-shadow: inset 0 0 10px #00000083;
-webkit-box-shadow: inset 0 0 10px #00000083;
box-shadow: inset 0 0 10px #00000083;
margin-left: 50%;
transform: translate(-50%, 0%);
}
.quizzJoinBtn:hover {
transform: translate(-50%, 0%) scale(0.95);
background-color: #3b00df;
-webkit-filter: drop-shadow(0px 0px 6px #1a008dc0);
filter: drop-shadow(0px 0px 6px #1a008dbe);
-moz-box-shadow: inset 0 0 10px #00000083;
-webkit-box-shadow: inset 0 0 10px #00000083;
box-shadow: inset 0 0 10px #00000083;
cursor: pointer;
}
</style>
</head>
<body>
<div class="toolbarHolder toolbarShadow unselectable" id="toolbar">
<div class="toolbarContent">
<div class="titleToolbar">
Quest Mode
</div>
</div>
<!-- <div class="toolbarUserSessionHolder">
<div class="toolbarUserSessionSignUp" onclick="window.open('user_session/sign_up.html', '_self');">
Sign Up
</div>
<div class="toolbarUserSessionLogIn" onclick="window.open('user_session/log_in.html', '_self');">
Log In
</div>
</div> -->
<div class="userLoggedInHolder">
<img class="userLoggedInPicture" src="https://firebasestorage.googleapis.com/v0/b/zeo-flow.appspot.com/o/ProfilePicturesLowQ%2F6jk6xzpHdrwB4kqok4xFDy2HrfobqKJeWRgOE470158261189.jpeg?alt=media" />
</div>
</div>
<div class="userLoggedInDetails hideElement" id="userLoggedInDetails">
<div class="userLoggedInDetailsHolder unselectable">
<div class="userLoggedInCover">
<img class="userLoggedInPicture2" src="https://firebasestorage.googleapis.com/v0/b/zeo-flow.appspot.com/o/ProfilePicturesLowQ%2F6jk6xzpHdrwB4kqok4xFDy2HrfobqKJeWRgOE470158261189.jpeg?alt=media" />
<div class="userLoggedInProfileHolder">
<div class="userLoggedInArcShape"></div>
<div class="userLoggedInProfileDetails">
<div class="userLoggedInViewProfile">
View Profile
</div>
</div>
</div>
<div class="profileHolder">
<div class="userLoggedInOptions">
<div class="userLoggedInOptionsItem" onclick="window.open('join_quizz.html', '_self');">
Join Quizz
</div>
<div class="userLoggedInOptionsItem">
Help & Support
</div>
<div class="userLoggedInOptionsItem">
Log Out
</div>
</div>
</div>
</div>
</div>
</div>
<div class="contentHolder">
<div class="contentSubholder">
<div class="leftHolder">
<div class="leftSubolder">
</div>
</div>
<div class="rightHolder unselectable">
<div class="rightSubolder">
<div class="quizzJoinHolder">
<div class="quizzJoinTitle">
Join Quizz
</div>
<div class="quizzJoinSubtitle">
In case that you have a quizz code from your teacher, join it faster - no registration needed!
</div>
<div class="quizzJoinBtn" onclick="window.open('join_quizz.html', '_self');">
Join
</div>
</div>
<div class="quizzJoinHolder">
<div class="quizzJoinTitle">
University Rankings by Year
</div>
<div class="quizzJoinSubtitle">
1. Name 14355 (LVL 54)
</div>
<div class="quizzJoinSubtitle">
2. Name 14355 (LVL 52)
</div>
<div class="quizzJoinSubtitle">
3. Name 14355 (LVL 23)
</div>
<div class="quizzJoinSubtitle">
...
</div>
<div class="quizzJoinSubtitle">
47. Name 143474575 (LVL 14)
</div>
</div>
<div class="quizzJoinHolder">
<div class="quizzJoinTitle">
Manage Classes
</div>
<div class="quizzJoinSubtitle">
Add students to your classes, create quizzes for classes and view statistics for them.
</div>
<div class="quizzJoinBtn" onclick="window.open('teacher/manage.html', '_self');">
Manage
</div>
</div>
<div class="quizzJoinHolder">
<div class="quizzJoinTitle">
Create Quizz
</div>
<div class="quizzJoinSubtitle">
Create a quizz for your students.
</div>
<div class="quizzJoinBtn" onclick="window.open('quizz/create.html', '_self');">
Create
</div>
</div>
</div>
</div>
</div>
</div>
<div id="myCookieConsent">
<a id="cookieButton">Understood</a>
<div>To help personalise content and provide a safer experience, we use cookies. By clicking on or navigating the site, you agree to allow us to collect information on and off Quest Mode through cookies. Learn more, including about available controls: <a href="/">Cookie Policy</a>.</div>
</div>
</body>
<script>
document.body.addEventListener("click", function (evt) {
//note evt.target can be a nested element, not the body element, resulting in misfires
var userLoggedInDetails = document.getElementById("userLoggedInDetails");
if(userLoggedInDetails != null)
{
if(evt.target.classList.contains("userLoggedInPicture")) {
if (userLoggedInDetails.classList.contains("hideElement")) {
userLoggedInDetails.classList.remove("hideElement");
} else {
userLoggedInDetails.classList.add("hideElement");
}
} else {
userLoggedInDetails.classList.add("hideElement");
}
}
});
</script>