-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
415 lines (402 loc) · 21.9 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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
<!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">
<title>Windows Home</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css" media="all">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" media="all" />
<link rel="stylesheet" href="index.css">
</head>
<body class="light" id="body" tabindex="-1">
<audio src="sounds/Windows Startup Sound.m4a" class="stratup-audio" type="audio/x-m4a" id="startup-sound"></audio>
<div id="preloader">
<img loading="eager" src="image/loading-windows.gif" alt="loading..." height="auto" width="auto">
<p class="pre-text">Please Wait</p>
</div>
<div class="rotate-screen">
<p>Rotate your screen</p>
</div>
<div id="video" tabindex="-1">
<video class="video" autoplay muted loop disablePictureInPicture preload="none" >
<source defer src="image/wallpaper-live-dark.mp4" type="video/webm">
</video>
</div>
<dialog id="myModal">
<div class="modal-content">
<button id="close-modal-button"><i class="bi bi-x-lg"></i></button>
<p>Enter Fullscreen Mode for a better experience</p>
<p style="color: gray;">(Ctrl + Enter)</p>
<button id="fullscreen-button">Go Fullscreen</button>
</div>
</dialog>
<div class="desktop" tabindex="-1">
<div class="desk-icon-div" id="this-pc" title="Shows the disk drives and hardwares connected to this computer">
<img class="desk-icon" tabindex="1" src="image/this-pc.png">
<p class="icon-text">This PC</p>
</div>
<div class="desk-icon-div" title="Contains the files and folders that you have deleted">
<img class="desk-icon" tabindex="2" src="image/recycle-bin.png">
<p class="icon-text">Recycle Bin</p>
</div>
<div class="desk-icon-div" title="Browse the web">
<img class="desk-icon" tabindex="3" src="image/microsoft-edge.png">
<p class="icon-text">Microsoft Edge</p>
</div>
<div class="desk-icon-div" id="chrome" title="Access the Internet">
<img class="desk-icon" tabindex="4"src="image/chrome.png">
<p class="icon-text">Google Chrome</p>
</div>
<div id="camera" class="desk-icon-div" title="Camera" ><img class="desk-icon" tabindex="5"
src="image/camera.png">
<p class="icon-text">Camera</p>
</div>
<div id="notepad" class="desk-icon-div" title="Notepad" style="grid-column: 2/3;">
<img class="desk-icon" tabindex="6" src="image/notepad.png">
<p class="icon-text">Notepad</p>
</div>
<div id="calculator" class="desk-icon-div" title="Calculator" style="grid-column: 2/3;">
<img class="desk-icon" tabindex="7" src="image/calculator.png">
<p class="icon-text">Calculator</p>
</div>
<div id="canvas-container" draggable="true" class="canvas-container">
<div id="canvas-head">
<h3></h3>
<button id="canvas-close-btn" class="canvas-close-btn"><i class="bi bi-x-lg"></i></button>
</div>
</div>
<div class="start-box" id="startmenu-box" tabindex="-1">
<div class="search">
<input class="searchbar" id="searchbar" type="text" placeholder="Type here to search"
style="border-bottom: 2px solid cyan;">
</div>
<div class="start-frame" id="start-frame">
<div class="start-item-title">
<span class="pinned">Pinned</span><button class="start-all-apps" onclick="showAllApps()">All apps
<i class="bi bi-chevron-right"></i></button>
</div>
<div class="start-item">
<div class="start-icon-div"><img class="start-icon" title="Microsoft Store"
src="image/microsoft-store-light.png" id="microsoft-store2">Microsoft Store</div>
<div class="start-icon-div"><img class="start-icon" title="Setting"
src="image/settings.png">Settings
</div>
<div class="start-icon-div"><img class="start-icon" title="Adobe Photoshop"
src="image/adobe-photoshop.png">Adobe Photoshop</div>
<div class="start-icon-div"><img class="start-icon" title="Calculator"
src="image/calculator.png">Calculator</div>
<div class="start-icon-div" id="camera-start"><img class="start-icon" title="Camera" src="image/camera.png">Camera
</div>
<div class="start-icon-div" id="chrome-start"><img class="start-icon" title="Google Chrome"
src="image/chrome.png">Google
Chrome</div>
<div class="start-icon-div" id="file-explorer-start-icon"><img class="start-icon" title="File Explorer"
src="image/file-explorer.png">File Explorer</div>
<div class="start-icon-div"><img class="start-icon" title="Github" src="image/github.png">Github
</div>
<div class="start-icon-div"><img class="start-icon" title="Tips" src="image/microsoft-tips.png">Tips
</div>
<div class="start-icon-div"><img class="start-icon" title="Todo" src="image/microsoft-todo.png">Todo
</div>
<div class="start-icon-div"><img class="start-icon" title="VS Code"
src="image/visual-studio-code.png">VS Code</div>
<div class="start-icon-div"><img class="start-icon" title="Microsoft Edge"
src="image/microsoft-edge.png">Microsoft Edge</div>
<div class="start-icon-div" id="notepad-start"><img class="start-icon" title="Notepad" src="image/notepad.png">Notepad
</div>
</div>
<div class="rec-title">
<span class="pinned">Recommended</span><button class="start-all-apps">More <i
class="bi bi-chevron-right"></i></button>
</div>
<div class="rec-div">
<ul class="rec-list">
<li class="rec-item"><img class="rec-icon" src="image/chrome.png">
<div>Chrome<br>
<p class="rec-txt">Recent tabs</p>
</div>
</li>
<li class="rec-item"><img class="rec-icon" src="image/visual-studio-code.png">
<div>VS Code<br>
<p class="rec-txt">Recent file</p>
</div>
</li>
<li class="rec-item"><img class="rec-icon" src="image/image-file.png">
<div>joy.png<br>
<p class="rec-txt">image file</p>
</div>
</li>
</ul>
<ul class="rec-list">
<li class="rec-item"><img class="rec-icon" src="image/adobe-photoshop.png">
<div>New Pics<br>
<p class="rec-txt">adobe file</p>
</div>
</li>
<li class="rec-item"><img class="rec-icon" src="image/image-file.png">
<div>my image.jpg<br>
<p class="rec-txt">Image file</p>
</div>
</li>
<li class="rec-item"><img class="rec-icon" src="image/icons8-java-48.png">
<div>Java new<br>
<p class="rec-txt">Java file</p>
</div>
</li>
</ul>
</div>
</div>
<div id="all-apps" class="all-apps">
<div class="start-item-title">
<span class="pinned">All apps</span><button class="start-all-apps" onclick="backAllApps()"><i class="bi bi-chevron-left"></i> Back</button>
</div>
<ul class="all-apps-list" style="list-style-type:none;">
<li class="start-list-item start-list-alphabet">A</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/adobe-photoshop.png">Adobe Photoshop</li>
<li class="start-list-item start-list-alphabet">C</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/calculator.png">Calculator</li>
<li class="start-list-item" id="camera-all-apps"><img class="all-apps-list-icon" src="image/camera.png">Camera</li>
<li class="start-list-item start-list-alphabet">F</li>
<li class="start-list-item" id="file-explorer-all-apps"><img class="all-apps-list-icon" src="image/file-explorer.png">File Explorer</li>
<li class="start-list-item start-list-alphabet">G</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/github.png">Git Desktop</li>
<li class="start-list-item" id="chrome-all-apps"><img class="all-apps-list-icon" src="image/chrome.png">Google Chrome</li>
<li class="start-list-item start-list-alphabet">J</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/icons8-java-48.png">Java</li>
<li class="start-list-item start-list-alphabet">M</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/microsoft-edge.png">Microsoft Edge</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/microsoft-store-light.png">Microsoft Store</li>
<li class="start-list-item start-list-alphabet">N</li>
<li class="start-list-item" id="notepad-all-apps"><img class="all-apps-list-icon" src="image/notepad.png">Notepad</li>
<li class="start-list-item start-list-alphabet">R</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/recycle-bin.png">Recycle Bin</li>
<li class="start-list-item start-list-alphabet">V</li>
<li class="start-list-item"><img class="all-apps-list-icon" src="image/visual-studio-code.png">VS Code</li>
</ul>
</div>
<div class="start-bottom">
<div class="profile">
<button class="user-btn"><img src="image/account.png">User Desktop</button>
</div>
<button class="power-btn"><i class="bi bi-power"></i></button>
</div>
</div>
</div>
<div class="sett-nav" id="sett-nav" tabindex="-1">
<div id="nav-grid" class="nav-grid">
<div class="nav-items">
<div style="border-radius: 5px;">
<button id="wifi-click" class="wifi-btn"><i class="bi bi-wifi"></i></button>
<button class="wifi-bt-mor" id="wifi-mor"><i class="bi bi-chevron-right"></i></button>
</div>
WiFi
</div>
<div class="nav-items">
<div style="display: flex;border-radius: 5px;">
<button class="bt-btn" id="bt-click"><span class="material-symbols-outlined">bluetooth</span></button>
<button class="wifi-bt-mor" id="bt-mor"><i class="bi bi-chevron-right"></i></button>
</div>
Bluetooth
</div>
<div class="nav-items">
<button id="air-btn" class="nav-icon-div"><i class="bi bi-airplane"></i></button>Airplane mode
</div>
<div class="nav-items">
<button id="batt-save" class="nav-icon-div"><span class="material-symbols-outlined"
style="font-size: 19px;transform: rotate(90deg);">battery_saver</span></button>Battery saver
</div>
<div class="nav-items">
<button id="night" class="nav-icon-div"><i class="bi bi-moon-stars-fill"></i></button>Night theme
</div>
<div class="nav-items">
<button id="access" class="nav-icon-div"><i class="bi bi-universal-access"><i
class="bi bi-chevron-right"></i></i></button>Accessibility
</div>
</div>
<div id="nav-slider" class=" slider">
<div class="slide-item">
<i id="brightness-icon" class="bi bi-brightness-low"
style="font-size: 16px;"></i> <input id="brightness" class="range slider-progress"
type="range" min="0" max="100">
</div>
<div class="slide-item">
<i id="volume-icon" class="bi bi-volume-up tools-icon"></i> <input id="volume"
class="range slider-progress" type="range" min="0" max="100">
<i class="bi bi-speaker" style="font-size: 14px;transform: rotate(180deg);"></i> <i
class="bi bi-chevron-right"></i>
</div>
</div>
<div id="wifi-menu" class="wifi-menu hide-wifi-menu">
<div class="wifi-menu-head">
<div class="back-wifi">
<i id="back-wifi" class="bi bi-arrow-left-short" style="font-size: 26px;"></i>
<span>Wi-Fi</span>
</div>
<label for="wifi-toggle-btn" class="toggle-switch-wraper">
<input type="checkbox" id="wifi-toggle-btn">
<span class="toggle-switch"></span>
</label>
</div>
<div class="wifi-menu-body">
<div class="wifi-list">
<ul style="list-style: none;">
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-wifi"></i> <span>Test Network 1</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-wifi-2"></i> <span>Test Network 2</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-wifi-2"></i> <span>Test Network 3</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-wifi-1"></i> <span>Test Network 4</span></li>
</ul>
</div>
<div class="wifi-off-disp">
<h2>Wi-Fi is off</h2><br><br>
<p>Turn on WiFi to connect to an avalable WiFi network.</p>
</div>
</div>
</div>
<div id="bt-menu" class="bt-menu hide-bt-menu">
<div class="bt-menu-head">
<div class="back-bt">
<button id="back-bt" class="bi bi-arrow-left-short" style="font-size: 26px;"></button>
<span>Bluetooth</span>
</div>
<label for="bt-toggle-btn" class="toggle-switch-wraper">
<input type="checkbox" id="bt-toggle-btn">
<span class="toggle-switch"></span>
</label>
</div>
<div class="bt-menu-body">
<div class="bt-list">
<ul style="list-style: none;">
<li class="bt-devices"> <span>Your devices</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-headphones"></i> <span>Test Bluetooth Headphones</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-headset"></i> <span>Test Bluetooth Headset</span></li>
<li class="wifi-list-item"><i class="wifi-list-icon bi bi-earbuds"></i> <span>Test Bluetooth Earbuds</span></li>
</ul>
<hr style="opacity: 0.4;">
<p class="bt-devices">New devices</p>
</div>
<div class="bt-off-disp">
<h2>Bluetooth is off</h2><br><br>
<p>Connect to nearby Bluetooth devices by turning on your Bluetooth using the toggle above.</p>
</div>
</div>
</div>
<div class="nav-bottom">
<div class="nav-batt nav-bottom-icon"><i id="battery-icon" class="bi bi-battery-half"></i><span
class="battery-level">50</span>%
</div>
<div class="nav-edit"><i class="bi bi-pencil nav-bottom-icon"></i><i class="bi bi-gear nav-bottom-icon"></i>
</div>
</div>
</div>
<div class="right-notification-calendar-panel" id="right-notification-panel">
<div class="notification-tab">
<div class="notification-head">
<span>Notifications</span>
<button class="notification-snoze-btn"><i class="bi bi-bell-slash"></i></button>
</div>
<div class="notification-body">no new notifications</div>
</div>
<div class="calendar-tab">
<div class="calendar-head">
<span id="calendar-head-date"></span>
<button class="calendar-show-btn"><i id="calendar-show-btn" class="bi bi-chevron-down"></i></button>
</div>
<div id="calendar-body" class="calendar-body">
<div class="calendar-body-month">
<span class="month-and-year"></span>
<span>
<button id="calendar-month-up" class="calendar-month-btn"><i class="bi bi-caret-up-fill"></i></button>
<button id="calendar-month-down" class="calendar-month-btn"><i class="bi bi-caret-down-fill"></i></button>
</span>
</div>
<div class="calendar-body-weekdays">
<div>Su</div>
<div>Mo</div>
<div>Tu</div>
<div>We</div>
<div>Th</div>
<div>Fr</div>
<div>Sa</div>
</div>
<div id="calendar-body-dates" class="calendar-body-dates"></div>
</div>
<div class="calendar-footer">
<span>
<button class="focus-btn"><i class="bi bi-dash"></i></button>
30 mins
<button class="focus-btn"><i class="bi bi-plus"></i></button>
</span>
<button class="focus-btn"><i class="bi bi-play-fill"></i> Focus</button>
</div>
</div>
</div>
<!-- <div class="left-weather-widget-panel" id="left-panel">
<div class="widget-head">
<div class="left-part">11 Sept <br> Good Morning</div>
<div class="right-part">
<i class="bi bi-arrow-clockwise"></i>
<i class="bi bi-arrows-angle-expand"></i>
<i class="bi bi-gear"></i>
</div>
</div>
<div class="widget-body">
<div class="widget-card">
<p>Widget Card</p>
<p>Widget Card</p>
<p>Widget Card</p>
<p>Widget Card</p>
<p>Widget Card</p>
</div>
<div class="news-card">
<p>News Card</p>
<p>News Card</p>
<p>News Card</p>
<p>News Card</p>
<p>News Card</p>
</div>
</div>
</div> -->
<div class="taskbar">
<div id="weather-widget" class="weather" title="29℃" tabindex="1">
<img id="weather-icon" class="weather-icon" src="image/weather.png">
<div class="temp-display"> <span id="temp-display">29</span>℃ <br>
<p id="weather-txt" class="weather-txt">Feels Good</p>
</div>
</div>
<div class="task-icon" id="task-icon">
<img class="task-icon-item start-btn" title="Start" src="image/start.png" id="start-btn">
<img class="task-icon-item" title="Search" src="image/start-search-light.png" id="search-btn">
<img class="task-icon-item" title="Task View" src="image/task-view.png" alt="Task View">
<img class="task-icon-item" title="Microsoft Store" src="image/microsoft-store-light.png"
alt="Microsoft Store" id="microsoft-store1">
<img class="task-icon-item" id="file-explorer-task-icon" title="File Explorer" src="image/file-explorer.png" alt="File Explorer">
<img class="task-icon-item" title="Microsoft Edge" src="image/microsoft-edge.png">
</div>
<div class="taskbar-tools">
<div class="sett" id="sett-btn">
<i class="bi bi-wifi tools-icon" title="Internet access"></i>
<i id="task-volume-icon" class="bi bi-volume-up tools-icon" title="Speaker: 100%"></i>
<i id="task-battery-icon" class="bi bi-battery-half tools-icon"
title="Battery status: 50% remaining"></i>
</div>
<div class="time" id="dnt">
<p class="dnt"><span id="time"> </span><br><span id="date"></span></p>
</div>
</div>
</div>
<script defer src="index.js"></script>
<script>
var loader = document.getElementById('preloader');
window.addEventListener('load', function () {
loader.style.display = 'none';
});
const video = document.getElementById("video");
video.addEventListener("loadedmetadata", function () {
loader.style.display = "none";
});
</script>
</body>
</html>