-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
250 lines (226 loc) · 12.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./CSS/bootstrap.min.css">
<link rel="stylesheet" href="./CSS/bootstrap.min.css.map">
<link rel="stylesheet" href="./CSS/index.css">
<script src="./JS/bootstrap.bundle.min.js" defer></script>
<script src="./JS/index.js" defer></script>
<script src="./JS/register_student.js" defer></script>
<script src="./JS/register_school.js" defer></script>
<script src="./JS/home.js" defer></script>
<title>LOGIN</title>
</head>
<body class="bg-light ">
<header class="border border-bottom position-sticky bg-white">
<nav class=" nav navbar d-flex justify-content-between mx-5">
<div class="d-flex mb-2">
<a href="./index.html"><img src="./images/oil_lamp_yellow.png" alt="logo" class="img-fluid"
style="height:50px"></a>
<span class="text-warning fs-5 align-self-end ">Lantern Schools</span>
</div>
<div>
<a class="btn btn-warning" href="#" id="reg_school_btn">Register School</a>
<a class="btn btn-warning" href="#" id="reg_student_btn">Register Student</a>
<a class="btn btn-warning " href="#" id="login_student_btn">Login</a>
</div>
</nav>
</header>
<main class="">
<!-- Spinner -->
<div class="w-100 d-flex justify-content-center mt-5 mb-5 spinner d-none">
<div class="spinner-border text-warning mx-auto" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<!-- Success -->
<div class="w-75 mx-auto success px-5 mt-4 d-none">
<h3 class="text-white text-opacity-50 bg-success text-center py-3 rounded-top w-100">Successful!</h3>
</div>
<!-- Error -->
<div class="w-75 mx-auto error px-5 mt-4 d-none">
<h3 class="text-white text-opacity-50 bg-danger text-center py-3 rounded-top w-100">Error, Recheck!</h3>
</div>
<!-- Login -->
<div
class="row bg-white d-flex justify-content-around align-items-center mx-auto w-75 rounded-3 p-4 border mb-5 mt-5 login_div d-none">
<div class="w-50 col-lg-5">
<h3 class="w-100 text-center">Student Login</h3>
<img src="./images/register_login.png" class="img-fluid ">
</div>
<div class="w-50 col-lg-7">
<div class="mb-3 row">
<label for="inputEmail" class="col-sm-2 col-form-label me-2 ">Email</label>
<div class="col-sm-10">
<input type="email" name="email" class="form-control email" id="inputEmail">
</div>
</div>
<div class="mb-3 row">
<label for="inputPassword" class="col-sm-2 col-form-label me-2 ">Password</label>
<div class="col-sm-10">
<input type="password" name="password" class="form-control password" id="inputPassword">
</div>
</div>
<button type="button" id="student_log_btn" class="btn btn-warning mt-3">Login</button>
<!-- <p class="mt-2 text-dark already-copyright">New here? <a href="#" class="text-warning ms-1">Register</a> -->
</p>
</div>
</div>
<!-- Register Student -->
<div
class="row bg-white d-flex justify-content-around align-items-center mx-auto w-75 rounded-3 p-4 border register_student_div mt-5 mb-5 d-none">
<div class="w-50 col-lg-5 col">
<h3 class="w-100 text-center">Register Student</h3>
<img src="./images/register_login.png" class="img-fluid ">
</div>
<div class="col-lg-6 col ">
<div class="mb1">
<label for="exampleInputName1" class="form-label">First Name</label>
<input type="text" class="form-control inputErr" id="exampleInputName1"
aria-describedby="emailHelp">
<span id="FirstNameErr"></span>
</div>
<div class="mb1">
<label for="exampleInputName1" class="form-label">Last Name</label>
<input type="text" class="form-control inputErr" id="exampleInputName2"
aria-describedby="emailHelp">
<span id="LastNameErr"></span>
</div>
<div class="mb1">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" class="form-control inputErr" id="exampleInputEmail1"
aria-describedby="emailHelp">
<span id="EmailErr"></span>
</div>
<div class='mb1 mt-3'>
<!-- <label for="school_options" class="form-label">Pick School</label> -->
<select name="" id="school_options" class="form-select inputErr">
<option value="">Pick School</option>
<!-- <option value="rework academy">Rework Academy.</option> -->
</select>
<span id="SchoolErr"></span>
</div>
<div class="mb1">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control inputErr" id="exampleInputPassword1">
<span id="passwrdErr"></span>
</div>
<button type="button" id="RegStudentsubmit" class="btn btn-warning mt-3">Submit</button>
<!-- <p class="mt-2 text-dark already-copyright">Have an account? <a href="#" class="text-warning">Login</a> -->
</p>
</div>
</div>
<!-- Register School -->
<div
class="row bg-white d-flex justify-content-around align-items-center mx-auto w-75 rounded-3 p-4 border register_school_div mt-5 mb-5 d-none">
<div class="w-50 col-lg-5">
<h3 class="w-100 text-center">Register School</h3>
<img src="./images/register_login.png" class="img-fluid ">
</div>
<div class="col-lg-6 col col-sm ">
<div class="mb-3">
<label for="schoolName" class="form-label">School Name</label>
<input type="text" class="form-control " id="schoolName" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="schoolEmail" class="form-label">Email address</label>
<input type="email" class="form-control " id="schoolEmail" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="schoolAddress" class="form-label">School address</label>
<input type="text" class="form-control " id="schoolAddress" aria-describedby="textHelp">
</div>
<div class="mb-3">
<label for="schoolPassword" class="form-label">Password</label>
<input type="password" class="form-control " id="schoolPassword">
</div>
<button type="button" id="regSchoolSubmit" class="btn btn-warning mt-3">Submit</button>
<!-- <p class="mt-2 text-dark already-copyright">Have an account? <a href="#"
class="text-warning">Register</a>
</p> -->
</div>
</div>
<!-- End Register School -->
<!-- Home section -->
<section class="">
<div class=" timer-div pt-5 text-start">
<h2 class="ms-5 mt-5">Quiz ends in:</h2>
<div class="w-50 d-flex gap-3 text-center pt-5 fs-1 mb-5 ms-5">
<div>
<h2 id="timer-text">Days</h2>
<h2 class="container-day"></h2>
</div>
<div>
<h2 id="timer-text">Hours</h2>
<h2 class="container-hour"></h2>
</div>
<div>
<h2 id="timer-text">Minutes</h2>
<h2 class="container-minute"></h2>
</div>
<div>
<h2 id="timer-text">Seconds</h2>
<h2 class="container-second"></h2>
</div>
</div>
<button id="quiz_btn" class="btn btn-warning ms-5 ">Start Quiz</button>
</div>
</div>
</section>
<div class="container">
<footer class="py-5">
<div class="row">
<div class="col-2">
<h5>Links</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Home</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Features</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Pricing</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">FAQs</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">About</a></li>
</ul>
</div>
<div class="col-2">
<h5>Socials</h5>
<ul class="nav flex-column">
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Twitter</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">LinkedIn</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Instagram</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Whatsapp</a></li>
<li class="nav-item mb-2"><a href="#" class="nav-link p-0 text-muted">Email</a></li>
</ul>
</div>
<div class="col-6 offset-1">
<form>
<h5>Subscribe to our newsletter</h5>
<p>Monthly digest of whats new and exciting from us.</p>
<div class="d-flex w-100 gap-2">
<label for="newsletter1" class="visually-hidden">Email address</label>
<input id="newsletter1" type="text" class="form-control" placeholder="Email address">
<button class="btn btn-warning" type="button">Subscribe</button>
</div>
</form>
</div>
</div>
<div class="d-flex justify-content-between py-4 my-4 border-top">
<p>© 2021 Company, Inc. All rights reserved.</p>
<ul class="list-unstyled d-flex">
<li class="ms-3"><a class="link-dark" href="#"><svg class="bi" width="24" height="24">
<use xlink:href="#twitter" />
</svg></a></li>
<li class="ms-3"><a class="link-dark" href="#"><svg class="bi" width="24" height="24">
<use xlink:href="#instagram" />
</svg></a></li>
<li class="ms-3"><a class="link-dark" href="#"><svg class="bi" width="24" height="24">
<use xlink:href="#facebook" />
</svg></a></li>
</ul>
</div>
</footer>
</div>
</main>
</body>
</html>