-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
434 lines (396 loc) · 12.9 KB
/
index.html
File metadata and controls
434 lines (396 loc) · 12.9 KB
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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Nova OS</title>
<meta name="description"
content="NovaOS is the open-source, stable, fully-local web desktop system, made for every modern browser and device.">
<meta property="og:image" content="https://adthoughtsglobal.github.io/assets/novass.png" />
<script src="scripts/readwrite.js" defer></script>
<script src="scripts/system32.js" defer></script>
<link rel="stylesheet" href="nova.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/webp" href="n.png">
<!--NovaOS scripts-->
<script src="scripts/utility.js"></script>
<script src="scripts/script.js" defer></script>
<!--PWA Manifest-->
<link href="webmanifest.json" rel="manifest">
<!--Google Icons-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MSQVF245Z2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-MSQVF245Z2');
</script>
</head>
<body>
<div id="main">
<div class="container2">
<div id="bgimage">
<img id="bgimage1" class="bgimage" />
<img id="bgimage2" class="bgimage" />
</div>
<div id="snappingIndicator">
<div class="topsnappingind"></div>
<div class="leftsnappingind"></div>
<div class="rightsnappingind"></div>
</div>
<dialog id="loginmod" class="scalableui">
<img id="wallbgpreview">
<div class="loginscontain">
<div class="userselect">
<h1 id="loginusselctime">00:00</h1>
<div class="usersselector">
<div id="userschooser">
</div>
<div class="divider"></div>
<div class="user" tabindex="0" onclick="setandinitnewuser()"><span class="icon"><span
class="user_pfp material-symbols-rounded">
add
</span></span>
<div class="name">New</div>
</div>
</div>
</div>
<div class="logincard">
<span class="logincardwelt">Welcome Back!</span>
<div id="loginform">
<input placeholder="Enter your password" id="loginform1" type="password">
<button onclick="checkifpassright()">
<span class="material-symbols-rounded">
chevron_right
</span>
</button>
</div>
<div class="backbtnscont">
<button class="backbtnuserspg" onclick="loginscreenbackbtn()">
<span class="material-symbols-rounded">
arrow_circle_left
</span> Login to a different account</button>
<button class="backbtnuserspg" onclick="removeUser()">
<span class="material-symbols-rounded">
delete
</span>
Remove</button>
</div>
</div>
</div>
</dialog>
<dialog id="edison">
<div class="edisonrl">
<img src="n.png" alt="NovaOS Logo">
<div class="progress-container">
<div class="progress-bar" id="progress-bar"></div>
</div>
<div id="startupterms">Loading NovaOS scripts</div>
<small class="erase-everything"><a>x </a><a onclick="erdbsfull()">Erase Everything</a></small>
</div>
</dialog>
<script>
gid("edison").showModal();
document.querySelector('.progress-container').style.width = "50%";
function gid(x) {
return document.getElementById(x);
}
</script>
<noscript>
<h1>I can't even know what time is it now.<br>Blame your browser for it.</h1>
<p>Well your browser seems to be messing around saying you turned off JS. Javascript is required for the functioning of the modern web. </p>
<b>If you have set JS to be disabled:</b>
<p>Nova OS requires JS to run.
<li>You can always <b><a href="https://www.larimer.gov/it/enable-javascript" style="color:white;"> turn JS back on</a>.</b>
</li>
<li>Or try a different browser.
</li>
</ul>
</p>
</noscript>
<div class="layer44 ctxAvail" id="desktop">
<span class="deskloadspan">Welcome back!</span>
</div>
</div>
<div id="notification">
<div class="notifnav">
<span id="notifappName">App Name</span>
<span class="material-symbols-rounded wincl"
onclick="document.getElementById('notification').style.display = 'none';">close</span>
</div>
<h2 id="notifTitle">...</h2>
<p id="notifappDesc">...</p>
</div>
<div id="toastdiv">
<div class="toastInner">
<div id="toasticon"></div>
<div id="toastdivtext">
</div>
</div>
</div>
<div id="workspace">
<div id="windowscont">
</div>
<div id="maxappscontainer">
</div>
<nav id="novanav" class="scalableui">
<div class="flodiv">
<quicks navobj id="dock">
</quicks>
<your navobj onclick="openn()">
<biv draggable="true" class="app-shortcut tooltip adock sizableuielement">
<span ic class="material-symbols-rounded" id="mm">N
</span>
</biv>
</your>
<your navobj onclick="opensearchpanel()">
<biv draggable="true" class="app-shortcut tooltip adock sizableuielement">
<span ic class="material-symbols-rounded searchbtnac directxicons">
search
</span>
</biv>
</your>
<info navobj>
<div id="panels">
</div>
<div id="batterydisdiv" class="navmalobj">
<span id="battery-p-display">
</span>
<span id="battery-display" class="material-symbols-rounded">
p ic
</span>
</div>
<div class="navmalobj">
<hitbx class="hitbox" title="time" id="draggable-time" draggable="true">
<span id="time-display">...</span>
<span id="date-display"></span>
</hitbx>
</div>
</info>
<info navobj id="nowrunninapps">
</info>
</div>
</nav>
</div>
<dialog id="appdmod" class="scalableui onramcloseable navWindows">
<div class="appdmodestuff">
<div id="appsindeck">
</div>
<div class="strtsearcont">
<div class="neweles" id="bobthedropdown">
<div class="novamenusearchinpbtn"
onclick="document.getElementById('appdmod').close(); opensearchpanel();">
<input id="novamenusearchinp" placeholder="Search"></span>
<span class="material-symbols-rounded">
search
</span>
</div>
<div class="toolspart">
<button class="tooltip " onclick="location.reload()">
<span class="tooltiptext">Restart</span>
<span class="material-symbols-rounded">
restart_alt
</span>
</button>
<button class="tooltip " onclick="document.getElementById('sleepwindow').showModal()">
<span class="tooltiptext">Sleep</span>
<span class="material-symbols-rounded">
bedtime
</span>
</button>
<button class="tooltip " onclick="launchbios()">
<span class="tooltiptext">Nova Setup</span>
<span class="material-symbols-rounded">
power
</span>
</button>
<button class="tooltip " onclick="closeallwindows()">
<span class="tooltiptext">Close all windows</span>
<div class="checkbox-wrapper-44">
<label class="toggleButton">
<input type="checkbox" id="closeallwinsbtn">
<div>
<svg viewBox="0 0 44 44">
<path
d="M14,24 L21,31 L39.7428882,11.5937758 C35.2809627,6.53125861 30.0333333,4 24,4 C12.95,4 4,12.95 4,24 C4,35.05 12.95,44 24,44 C35.05,44 44,35.05 44,24 C44,19.3 42.5809627,15.1645919 39.7428882,11.5937758"
transform="translate(-2.000000, -2.000000)"></path>
</svg>
</div>
</label>
</div>
</button>
<button class="tooltip " style="margin-left: auto;" onclick="logoutofnova()">
<span class="tooltiptext">Sign Out</span>
<span class="material-symbols-rounded">
logout
</span>
</button>
</div>
</div>
</div>
</div>
</dialog>
<dialog id="miscapplistmod" class="scalableui onramcloseable navWindows">
<h1 id="miscapptitle"></h1>
<div id="miscappslist">
</div>
</dialog>
<dialog id="bios" class="scalableui onramcloseable">
<span class="material-symbols-rounded closebtn" onclick="gid('bios').close()">
close
</span>
<small>Welcome to NovaOS Setup,</small>
<h1 id="novasetupusernamedisplay"></h1>
<div class="buttongroup-grid">
<button onclick="gid('terminal').showModal();gid('bios').close();">
<span class="material-symbols-rounded">
developer_mode
</span>
Terminal
</button>
<button onclick="location.reload();gid('bios').close();">
<span class="material-symbols-rounded">
power_settings_new
</span>
Restart
</button>
<button onclick="installdefaultapps();gid('bios').close();">
<span class="material-symbols-rounded">
auto_fix_high
</span>
Fix default apps
</button>
<button onclick="logoutofnova()">
<span class="material-symbols-rounded">
logout
</span>
Sign out
</button>
<button onclick="backupsdia()">
<span class="material-symbols-rounded">
fast_rewind
</span>
Backups
</button>
<button onclick="removeUser()">
<span class="material-symbols-rounded">
person_off
</span>
Remove user
</button>
<button onclick="erdbsfull()">
<span class="material-symbols-rounded">
restart_alt
</span>
Reset NovaOS
</button>
</div>
</dialog>
<dialog id="sleepwindow" class="scalableui onramcloseable">
<div class="sleepwincon">
<h1 id="sleeptimer">00:00</h1>
<p id="sleepmessage"></p>
<div id="sleepbtns">
<div>
<button onclick="startTimer(1)">60s</button>
<button onclick="startTimer(5)">5m</button>
<button onclick="startTimer(10)">10m</button>
<button onclick="startTimer(60)">1h</button>
</div>
<br>
<button onclick="setMessage()">Display a message</button>
<br>
</div>
<span class="material-symbols-rounded"
onclick="document.getElementById('sleepwindow').close(); clearInterval(countdown);clearInterval(countdown2);document.getElementById('sleeptimer').textContent = '00:00';document.getElementById('sleepbtns').style.display = 'block';">close</span>
</div>
</dialog>
<dialog id="terminal" class="scalableui onramcloseable">
<div class="containerterm">
<textarea id="termoutput"></textarea>
<script>
async function termrun() {
const inputValue = gid("terminput").value;
let result;
try {
result = await eval(inputValue);
} catch (error) {
result = error.message;
}
const outputElement = gid("termoutput");
if (typeof result === "object") {
outputElement.value += ">>> " + inputValue + "\n";
outputElement.value += JSON.stringify(result) + "\n";
} else {
outputElement.value += result + "\n";
}
}
</script>
<div class="btnc">
<input placeholder=">>>" id="terminput"> <button onclick="termrun()">run</button>
</div>
</div>
</dialog>
<dialog id="searchwindow" class="scalableui onramcloseable navWindows">
<div class="searchwincont">
<div class="searchside">
<div class="searchinputcont">
<span class="material-symbols-rounded" id="searchiconthingy">search</span>
<input placeholder="Search files..." id="strtsear" onkeyup="strtappse(event)">
</div>
<div class="strtappsugs" id="strtappsugs">
</div>
<div class="notiflist">
<div class="notiflistnav">
<span>Notifications</span>
<span class="material-symbols-rounded" onclick="displayNotifications('clear');">close</span>
</div>
<div id="notiflist">
No new notifications
</div>
</div>
</div>
<div class="previewsside">
<div id="seapppreview">
<div id="seprw-icon"></div>
<a id="seprw-appname"></a>
<button id="seprw-openb">Open</button>
</div>
<div id="partrecentapps">
<span class="smalltitl">Recently opened</span>
<div id="serrecentapps">
</div>
</div>
</div>
</div>
</dialog>
<dialog id="appgrpmodal" class="onramcloseable realmodal">
<div class="modal-items">
<h1 id="appgrp_name"></h1>
<div id="appgrp_list"></div>
<span class="material-symbols-rounded modal_close_btn" onclick="gid('appgrpmodal').close()">
close
</span>
</div>
</dialog>
<dialog id="AppInstDia" class="naviconf-dial realmodal onramcloseable">
<div class="modal-items">
<div class="app_inst_dia_nav">
<div id="app_inst_dia_icon"></div>
<p>
<small>Installing</small>
<span id="app_inst_mod_app_name"></span></p>
</div>
<ul id="app_inst_mod_li">
</ul>
<div class="button-container" style="display: flex;">
<button id="app_inst_mod_agbtn">Agree</button>
<button id="app_inst_mod_nobtn">Later</button>
</div>
</div>
</dialog>
</div>
</body>
</html>