-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
354 lines (328 loc) · 19.3 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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Google Fonts (Ubuntu) -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"
rel="stylesheet">
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/imgs/logo.png">
<title>Zone Manager | Organise your international calls and meetings in one place.</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
</head>
<body>
<div class="container">
<!-- Modals -->
<div id="modalBackground" class="modal-background element-hidden"></div>
<div id="modalContainer" class="modal-container element-hidden">
<button id="closeModalBtn" class="close-modal-btn">
<i class="close-modal-btn--icon icon-blue fa-solid fa-xmark"></i>
</button>
<div id="modalHeader" class="modal-header">My Profile</div>
<!-- User Modal -->
<div id="userModal" class="modal-body element-hidden">
<div class="user-modal-inner small-screen-align-center">
<div class="modal-box">
<h3 class="modal-box-header">Image</h3>
<div class="modal-box-content">
<div id="modalImageContainer" class="modal-box-content--top">
<div class="profile-box--image-circle">
<div class="profile-box--image-circle-inner">
<i class="image-circle-inner--icon fa-solid fa-user"></i>
</div>
</div>
</div>
<div class="modal-box-content--bottom btn-container profile-img-btn-container">
<input class="choose-profile-img-btn" id="file" type="file" name="uploadImage"
accept="image/*">
<!-- <button id="changeImageBtn" class="btn-dark modal-inner-btn">Update</button> -->
<button id="changeImageBtn" class="background-btn modal-inner-btn">
<label class="modal-btn-label btn-dark" for="file">Update</label>
</button>
<button id="deleteImageBtn"
class="btn-dark modal-inner-btn btn-negative element-hidden">Delete</button>
</div>
</div>
</div>
<div class="modal-box">
<h3 class="modal-box-header">Information</h3>
<div class="modal-box-content">
<div class="modal-box-content--option">
<p class="option-title">Name:</p>
<input id="nameInput" class="option-input" type="text" placeholder="e.g. Jane Smith"
autocomplete="no">
<div class="option-icon-box">
<i id="nameIcon"
class="option-icon option-icon-negative fa-solid fa-triangle-exclamation"></i>
</div>
</div>
<div class="modal-box-content--option">
<p class="option-title">City:</p>
<input id="cityInput" class="option-input" type="text" placeholder="e.g. London"
autocomplete="no">
<div class="option-icon-box">
<i id="cityIcon"
class="option-icon option-icon-negative fa-solid fa-triangle-exclamation"></i>
</div>
</div>
<div class="modal-box-content--option">
<p class="option-title">Country:</p>
<input id="countryInput" class="option-input" type="text" placeholder="e.g. UK"
autocomplete="no">
<div class="option-icon-box">
<i id="countryIcon"
class="option-icon option-icon-negative fa-solid fa-triangle-exclamation"></i>
</div>
</div>
<div class="modal-box-content--option flex">
<button id="submitInfoBtn" class="btn-dark modal-inner-btn">Update</button>
</div>
</div>
</div>
<div class="modal-box">
<h3 class="modal-box-header">Time</h3>
<div class="modal-box-content">
<div class="modal-box-content--top">
<div class="clock-face">
<div class="clock-center"></div>
<div id="clockFingerHours" class="clock-finger clock-finger--hours"></div>
<div id="clockFingerMinutes" class="clock-finger clock-finger--minutes"></div>
<div id="clockFingerSeconds" class="clock-finger clock-finger--seconds"></div>
</div>
</div>
<div class="modal-box-content--bottom">
<p id="dateText" class="date-text">Wednesday 30 September, 2022.</p>
<p id="timeText" class="time-text">00:00:00</p>
</div>
</div>
</div>
<div class="modal-box">
<h3 class="modal-box-header">Weather</h3>
<div class="modal-box-content">
<div class="modal-box-content--top">
<div class="weather-icon-box">
<i id="weatherIcon" class="weather-icon-box--icon fa-solid fa-cloud"></i>
<p id="weatherText" class="weather-text">Clouds</p>
</div>
</div>
<div class="modal-box-content--bottom">
<div class="city-text"><span id="cityText" class="text-emphasis">London</span> is
currently:
</div>
<div id="temperatureText" class="temperature-text">14°C</div>
</div>
</div>
</div>
</div>
</div>
<!-- Time Modal -->
<div id="timeModal" class="modal-body element-hidden">
<p class="modal-description">Search for the current time from around the world.</p>
<div class="time-modal--input">
<p class="modal-search-text">Search City:</p>
<input id="getTimeInput" class="modal-search-input" type="text" placeholder="e.g. London"
autocomplete="no">
<button id="getTimeBtn" class="btn-dark modal-inner-btn">Search</button>
</div>
<div class="time-modal">
<!-- Empty Box: -->
<div class="time-modal--box">
<div class="search-weather-placeholder">
<i class="placeholder-icon fa-solid fa-magnifying-glass"></i>
<p class="placeholder-text">Nothing to report...</p>
<p class="placeholder-text">Try searching for a city...</p>
</div>
</div>
<!-- User Search Box: -->
<div class="time-modal--box element-hidden">
<h3 class="time-modal--title">Tokyo</h3>
<h4 class="time-modal--subtitle">Japan</h4>
<div class="time-modal--results">
<!-- CLOCK -->
<div class="modal-box-content--top">
<div class="clock-face">
<div class="clock-center"></div>
<div id="searchClockFingerHours" class="clock-finger clock-finger--hours"></div>
<div id="searchClockFingerMinutes" class="clock-finger clock-finger--minutes"></div>
<div id="searchClockFingerSeconds" class="clock-finger clock-finger--seconds"></div>
</div>
</div>
<div class="modal-box-content--bottom">
<p id="searchDateText" class="date-text">Wednesday 30 September, 2022.</p>
<p id="searchTimeText" class="time-text">00:00:00</p>
</div>
</div>
</div>
<!-- User Location Box: -->
<div class="time-modal--box">
<h3 class="time-modal--title">London</h3>
<h4 class="time-modal--subtitle">UK</h4>
<div class="time-modal--results">
<!-- CLOCK -->
<div class="modal-box-content--top">
<div class="clock-face">
<div class="clock-center"></div>
<div id="userClockFingerHours" class="clock-finger clock-finger--hours"></div>
<div id="userClockFingerMinutes" class="clock-finger clock-finger--minutes"></div>
<div id="userClockFingerSeconds" class="clock-finger clock-finger--seconds"></div>
</div>
</div>
<div class="modal-box-content--bottom">
<p id="userDateText" class="date-text">Wednesday 30 September, 2022.</p>
<p id="userTimeText" class="time-text">00:00:00</p>
</div>
</div>
</div>
</div>
</div>
<!-- Weather Modal -->
<div id="weatherModal" class="modal-body element-hidden">
<p class="modal-description">Search for weather reports from around the world.</p>
<div class="weather-modal--input">
<p class="modal-search-text">Search City:</p>
<input id="getWeatherInput" class="modal-search-input" type="text" placeholder="e.g. London"
autocomplete="no">
<button id="getWeatherBtn" class="btn-dark modal-inner-btn">Search</button>
</div>
<div class="weather-modal">
<!-- Empty Box: -->
<div id="weatherSearchPlaceholderBox" class="weather-modal--box">
<div class="search-weather-placeholder">
<i class="placeholder-icon fa-solid fa-magnifying-glass"></i>
<p class="placeholder-text">Nothing to report...</p>
<p class="placeholder-text">Try searching for a city...</p>
</div>
</div>
<!-- User Search Box: -->
<div id="userWeatherSearchBox" class="weather-modal--box element-hidden">
<h3 id="getWeatherCity" class="weather-modal--title">Tokyo</h3>
<h4 id="getWeatherCountry" class="weather-modal--subtitle">Japan</h4>
<div class="weather-modal--results">
<div class="weather-modal--results-box">
<i id="getWeatherIcon" class="weather-modal--icon fa-solid fa-cloud"></i>
<p id="getWeatherWeather" class="weather-modal--text">Clear</p>
</div>
<div class="weather-modal--results-box">
<p id="getWeatherTemperature" class="weather-modal--text-large">28°C</p>
</div>
<div class="weather-modal--results-box">
<i class="weather-modal--icon fa-solid fa-wind"></i>
<p id="getWeatherWindSpeed" class="weather-modal--text">10km/h</p>
</div>
<div class="weather-modal--results-box">
<p id="getWeatherHumidity" class="weather-modal--text-large">49%</p>
<p class="weather-modal--text">Humidity</p>
</div>
</div>
</div>
<!-- User Location Box: -->
<div class="weather-modal--box">
<h3 id="currentLocationCity" class="weather-modal--title">London</h3>
<h4 id="currentLocationCountry" class="weather-modal--subtitle">UK</h4>
<div class="weather-modal--results">
<div class="weather-modal--results-box">
<i id="currentLocationWeatherIcon" class="weather-modal--icon fa-solid fa-cloud"></i>
<p id="currentLocationWeather" class="weather-modal--text">Cloudy</p>
</div>
<div class="weather-modal--results-box">
<p id="currentLocationTemperature" class="weather-modal--text-large">15°C</p>
</div>
<div class="weather-modal--results-box">
<i class="weather-modal--icon fa-solid fa-wind"></i>
<p id="currentLocationWindSpeed" class="weather-modal--text">12km/h</p>
</div>
<div class="weather-modal--results-box">
<p id="currentLocationHumidity" class="weather-modal--text-large">28%</p>
<p class="weather-modal--text">Humidity</p>
</div>
</div>
</div>
</div>
</div>
<!-- Contact Modal -->
<div id="contactModal" class="modal-body element-hidden">
CONTACT MODAL
</div>
<!-- Group Modal -->
<div id="groupModal" class="modal-body element-hidden">
GROUP MODAL
</div>
</div>
<!-- Navigation -->
<nav class="nav">
<div class="nav-title">
<i class="nav-title--icon fa-solid fa-earth-asia"></i>
<div class="nav-title--name">
<h2 class="nav-title--name-left">Z<i class="nav-title--inner-icon fa-solid fa-clock"></i>ne</h2>
<h2 class="nav-title--name-right">Manager</h2>
</div>
</div>
<div class="nav-user">
<button id="openUserProfileBtn" class="nav-user-btn btn-dark btn-round">
<i id="openUserProfileIcon" class="btn-icon fa-solid fa-user"></i>
<div id="notificationIndicator" class="notification-indicator"></div>
</button>
<div id="profileNotificationBubble" class="nav-notification">
<div class="nav-notification--pointer"></div>
<p class="nav-notification--text">Get started by updating your personal information here.</p>
<button id="closeProfileNotificationBtn" class="btn-dark btn-small btn-black">Got It!</button>
</div>
</div>
</nav>
<!-- Main -->
<main class="main">
<div id="boxContainer" class="box-container">
<div class="box-container--box box-container--time">
<!-- <button class="info-btn">
<i class="icon-blue fa-solid fa-circle-info"></i>
</button> -->
<h2 class="box-container-header-small">Time</h2>
<i class="box-container-icon fa-solid fa-clock"></i>
<button id="timeBtn" class="btn-dark box-container-btn">Get Time</button>
</div>
<div class="box-container--box box-container--weather">
<!-- <button class="info-btn">
<i class="icon-blue fa-solid fa-circle-info"></i>
</button> -->
<h2 class="box-container-header-small">Weather</h2>
<i class="box-container-icon fa-solid fa-cloud"></i>
<button id="weatherBtn" class="btn-dark box-container-btn">Get Weather</button>
</div>
<div class="box-container--box box-container--contacts">
<!-- <button class="info-btn">
<i class="icon-blue fa-solid fa-circle-info"></i>
</button> -->
<h2 class="box-container-header-large">Contacts</h2>
<div class="box-container-circle">
<i class="box-container-circle-icon fa-solid fa-user-plus"></i>
</div>
<button id="addContactBtn" class="btn-dark box-container-btn">View Contacts</button>
</div>
<div class="box-container--box box-container--groups">
<!-- <button class="info-btn">
<i class="icon-blue fa-solid fa-circle-info"></i>
</button> -->
<h2 class="box-container-header-large">Groups</h2>
<div class="box-container-circle">
<i class="box-container-circle-icon fa-solid fa-users"></i>
</div>
<button id="createGroupBtn" class="btn-dark box-container-btn">View Groups</button>
</div>
</div>
</main>
<!-- Footer -->
<footer class="footer">
<p class="footer-text">Copyright © Daniel Healy, <span id="currentYear">2022</span>.</p>
</footer>
</div>
</body>
</html>