-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (97 loc) · 3.85 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
<!DOCTYPE html>
<html lang="en" class="crt">
<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>OneSpark® UI</title>
<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=JetBrains+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<style>
.material-symbols-sharp {
font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 200, "opsz" 48;
vertical-align: text-bottom;
}
</style>
<link rel="stylesheet" href="/css/index.css" />
<link rel="stylesheet" href="/css/ui.css" />
<link rel="stylesheet" href="/css/patches.css" />
</head>
<body>
<header>
<span class="logo" id="main-logo">onespark ui</span>
<div class="nav">
<span class="nav-item dropdown" id="file-dropdown">
file
<div class="dropdown-options">
<a href="#">new file</a>
<a href="#">open file</a>
<a href="#" onclick="OSPrograms.launcher()">run program</a>
<a href="#" onclick="OSPrograms.clearstorage()">clear storage</a>
<a href="#" onclick="OSPrograms.exit()">exit</a>
</div>
</span>
<span class="nav-item dropdown" id="edit-dropdown">
edit
<div class="dropdown-options">
<a href="#">undo</a>
<a href="#">redo</a>
<a href="#">cut</a>
<a href="#" onclick="OSFunctions.copy()">copy</a>
<a href="#" onclick="OSFunctions.paste()">paste</a>
</div>
</span>
<span class="nav-item dropdown" id="view-dropdown">
view
<div class="dropdown-options">
<a href="#" onclick="OSFunctions.minimizeall()">hide windows</a>
<a href="#" onclick="OSFunctions.unminimizeall()">show windows</a>
</div>
</span>
<span class="nav-item dropdown" id="help-dropdown">
help
<div class="dropdown-options">
<a href="#" onclick="OSPrograms.howto()">how-to</a>
<a href="#" onclick="OSPrograms.changelog()">changelog</a>
<a href="#" onclick="OSPrograms.about()">about</a>
<a href="https://github.com/dotargz/onespark-fui">source code</a>
</div>
</span>
</div>
</header>
<main>
<!--
We use javascript to create the workspace.
This is because we want to be able to
create windows dynamically.
-->
</main>
<footer id="taskbar">
<div class="taskbar-item" id="taskbar-home">
<span class="taskbar-item-icon material-symbols-sharp">menu</span>
</div>
<!--
We use javascript to create the taskbar.
This is because we want to be able to
create windows dynamically.
-->
</footer>
<div id="contextMenu" class="context-menu">
<div class="context-menu-item" onclick="OSFunctions.copy()">copy</div>
<div class="context-menu-item" onclick="OSFunctions.paste()">paste</div>
<div class="context-menu-item" onclick="OSPrograms.launcher()">run program</div>
<div class="context-menu-item" onclick="OSPrograms.clearstorage()">clear storage</div>
<div class="context-menu-item" onclick="OSFunctions.minimizeall()">hide windows</div>
<div class="context-menu-item" onclick="OSFunctions.unminimizeall()">show windows</div>
</div>
<script src="/js/window.js"></script>
<script src="/js/errorHandler.js"></script>
<script src="/js/dropdown.js"></script>
<script src="/js/taskbar.js"></script>
<script src="/js/terminal.js"></script>
<script src="/js/programs.js"></script>
<script src="/js/boot.js"></script>
</body>
</html>