-
Notifications
You must be signed in to change notification settings - Fork 0
/
university.html
260 lines (247 loc) · 9.41 KB
/
university.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>University page</title>
<link rel="stylesheet" href="styles/university.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="styles/icons/icons-style.js"></script>
</head>
<body>
<div class="header">
<header>
<section class="navbar">
<nav>
<div class="navbar-container">
<div class="logo">
<h1>
<span class="university-header">University</span> Average Mark Calculation
</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 title="home">
<a href="home.html">
<i class='fas fa-home'></i>Home
</a>
</li>
<li class="active" 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>
</section>
<section class="user-log">
<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>
</section>
<section class="question">
<div class="question-container">
<div class="question">
<h2 class="start">Ready to calculate your university average mark?</h2>
<button class="start" title="calculate average mark">Let's Do It!</button>
</div>
</div>
</section>
</header>
<div class="post post-err">
<p class="post post-err">Your average mark couldn't be saved successfully!</p>
</div>
<div class="post post-success">
<p class="post post-success">Your average mark was saved successfully!</p>
</div>
</div>
<div class="row page-content">
<main>
<div class="main-container">
<section class="calculate">
<div class="calculate">
<div class="top">
<button class="add" title="add a lesson">Add New Lesson</button>
</div>
<div class="forms">
<!-- New Forms -->
</div>
<div class="bottom">
<button class="calculate-average" title="ready to calculate?">Calculate Average Mark</button>
<div class="output">
<progress hidden class="calculate" max="1" value="0"></progress>
<p hidden class="output-text">calculating...</p>
</div>
</div>
</div>
</section>
<section class="result">
<div class="result">
<p class="result">
<span class="result first">Your</span>
<span class="result second">Average</span>
<span class="result third">Mark:</span>
<span class="result final"></span>
</p>
</div>
</section>
<section class="again">
<div class="again-container">
<a href="university.html" class="again">Calculate Another Average</a>
</div>
</section>
</div>
</main>
<aside>
<div class="sidebar">
<div class="tips">
<ul class="tips-list">
<li class="tip-top">
<h3>Tips!</h3>
</li>
<li>
<i class='fas fa-exclamation-triangle'></i>
Don't leave any fields empty to calculate your average score!
</li>
<li>
<i class='fas fa-exclamation-triangle'></i>
Lesson title value cannot be less than 3 characters!
</li>
<li>
<i class='fas fa-exclamation-triangle'></i>
Lesson mark value should be a numeric value between 1-20!
</li>
<li>
<i class='fas fa-exclamation-triangle'></i>
Lesson unit value should be a numeric value between 1-5!
</li>
<li>
<i class='fas fa-exclamation-triangle'></i>
Instead of zero number value for mark input use "1"!
</li>
<li class="tip-bottom">
<h4>Don't forget to <span class="save-tip">save</span> changes for each form!</h4>
</li>
</ul>
</div>
</div>
</aside>
</div>
<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/main.js"></script>
</body>
</html>