-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
286 lines (266 loc) · 10.7 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home page</title>
<link rel="stylesheet" href="styles/home.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="styles/icons/icons-style.js"></script>
</head>
<body>
<header>
<nav>
<div class="navbar-container">
<div class="logo">
<h1>Average Mark Calculation Website</h1>
</div>
<div class="register" hidden>
<ul class="nav-list" id="register">
<li title="sign-in" class="sign-in">
<a href="sign-in.html">
<i class='fas fa-user-check'></i>Sign-in
</a>
</li>
<li title="sign-up" class="sign-up">
<a href="sign-up.html">
<i class='fas fa-user'></i>Sign-up
</a>
</li>
</ul>
</div>
<div class="exit" hidden>
<ul class="nav-list">
<li title="log out" class="exit">
<button class="exit">
<i class="material-icons exit">exit_to_app</i>
</button>
</li>
</ul>
</div>
<div class="menu">
<ul class="nav-list" id="menu">
<li class="active" title="home">
<a href="home.html">
<i class='fas fa-home'></i>Home
</a>
</li>
<li title="university mark calculation">
<a href="university.html">
<i class='fas fa-graduation-cap'></i>University
</a>
</li>
<li title="school mark calculation">
<a href="school.html">
<i class='fas fa-school'></i>School
</a>
</li>
<li title="more information about this page">
<a href="help.html" target="_blank">
<i class='far fa-question-circle'></i>Help
</a>
</li>
<li title="customization">
<div class="dropdown-menu">
<button class="dropdown-btn">
<i class="material-icons dropdown">view_headline
</i>
</button>
<div class="dropdown-container">
<div class="select dark customize-menu">
<input data-customize="theme" value="Theme" class="option dark customize" readonly />
<div hidden class="theme-container">
<input data-theme="dark" value="Dark" class="option dark theme" readonly />
<span class="pos dark-color">
<i class='fas fa-check-double dark-color colors'></i>
</span>
<input data-theme="light" value="Light" class="option dark theme" readonly />
<span class="pos light-color">
<i class='fas fa-check-double light-color colors'></i>
</span>
</div>
<input data-customize="navbar-color" value="Menu Color" class="option dark customize" readonly />
<div hidden class="menu-color-container">
<input data-color="yellow" value="Yellow" class="option dark color" readonly />
<span class="pos yellow-color">
<i class='fas fa-check-double yellow-color colors'></i>
</span>
<input data-color="purple" value="Purple" class="option dark color" readonly />
<span class="pos purple-color">
<i class='fas fa-check-double purple-color colors'></i>
</span>
<input data-color="blue" value="Blue" class="option dark color" readonly />
<span class="pos blue-color">
<i class='fas fa-check-double blue-color colors'></i>
</span>
<input data-color="red" value="Red" class="option dark color" readonly />
<span class="pos red-color">
<i class='fas fa-check-double red-color colors'></i>
</span>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</nav>
<div class="customize-failed">
<p class="customize-failed">
<!-- Error message -->
</p>
</div>
<div class="fail logout-failed">
<p class="fail logout-failed">Account logout is not possible at the moment!</p>
</div>
<div class="fail login-fetch-err">
<p class="fail login-fetch-err">Couldn't fetch data from the server!</p>
</div>
<div class="logout-process">
<p class="logout-process">
Logging out...
</p>
</div>
<div class="not-logged-in">
<div class="login-container">
<span class="not-logged-in">To use website features you need to login first.</span>
<a href="sign-in.html" class="not-logged-in" title="sign-in here">
Login Here
</a>
</div>
</div>
<div class="err-container" hidden>
<div class="fetch-error">
<p class="err-text">We're having some difficulties right now!</p>
<button class="close-err">
<i class="material-icons close">close</i>
</button>
</div>
</div>
</header>
<main id="main" class="page-content">
<section class="outputs">
<div class="container">
<div class="sidebar-menu theme-effective">
<div class="btn-container">
<button class="sidebar-btn theme-effective">
<i class='fas fa-angle-double-right theme-effective'></i>
</button>
</div>
<ul class="sidebar-list">
<li class="sidebar-title theme-effective">Tips</li>
<li class="theme-effective">Use "Show Activity" button to see recent average mark calculation records</li>
<li class="theme-effective">Click on each item title to edit and save any desired title you want for each
record</li>
<li class="theme-effective">Title edition updates easily happen in real time when you are typing your
desired title text</li>
<li class="theme-effective">If you need more help please contact us by sending a message for support <span
class="here">
<a href="help.html" target="_blank">here</a>
</span>
</li>
<li class="theme-effective">Note: You need to login to use website features!</li>
</ul>
</div>
<div class="main-container">
<div class="result-container university-container theme-effective">
<article class="university-results">
<header class="university-header">
<h2 class="h2-title university-title theme-effective">
University Scores
</h2>
</header>
<main class="main university">
<ul class="scores-list university-scores">
<li class="list-title">Recent Calculated Scores</li>
<li class="empty empty-university">You have no recent record on this section!</li>
<li class="list-title intro">
<div class="flex title">
<p class="title">Title</p>
</div>
<div class="flex mark">
<p class="mark">Average Mark</p>
</div>
<div class="flex count">
<p class="count">Counter</p>
</div>
</li>
<!-- New calculated data -->
</ul>
<button class="university activity" title="check recent university activity">Show Activity</button>
</main>
<footer class="result-footer university-footer">
Last calculation time:
</footer>
</article>
</div>
<div class="result-container school-container theme-effective">
<article class="school-results">
<header class="school-header">
<h2 class="h2-title school-title theme-effective">
School Scores
</h2>
</header>
<main class="main school">
<ul class="scores-list school-scores">
<li class="list-title">Recent Calculated Scores</li>
<li class="empty empty-school">You have no recent record on this section!</li>
<li class="list-title intro">
<div class="flex title">
<p class="title">Title</p>
</div>
<div class="flex mark">
<p class="mark">Average Mark</p>
</div>
<div class="flex count">
<p class="count">Counter</p>
</div>
</li>
<!-- New calculated data -->
</ul>
<button class="school activity" title="check recent school activity">Show Activity</button>
</main>
<footer class="result-footer school-footer">
<!-- Recent calculated average mark datetime -->
</footer>
</article>
</div>
</div>
<div class="msg wait-message">
<p class="msg wait-text">Wait for the other activity to complete!</p>
</div>
<div class="msg school-update-err">
<p class="msg school-update-err">School scores update was not successful!</p>
</div>
<div class="msg university-update-err">
<p class="msg university-update-err">University scores update was not successful!</p>
</div>
<div class="msg school-update">
<p class="msg school-update">School scores successfully updated</p>
</div>
<div class="msg university-update">
<p class="msg university-update">University scores successfully updated</p>
</div>
</div>
</section>
</main>
<div class="footer">
<footer>
<div class="author">
<p class="author">
Author: sina vahabi
</p>
</div>
<div class="date">
<p class="date">
<!-- Date -->
</p>
</div>
</footer>
</div>
<script src="scripts/customize.js"></script>
<script src="scripts/login-check.js"></script>
<script src="scripts/home.js"></script>
</body>
</html>