-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
194 lines (183 loc) · 10.2 KB
/
index.html
File metadata and controls
194 lines (183 loc) · 10.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<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=Fira+Code:wght@400;600&display=swap" rel="stylesheet">
<meta name="description" content="Marin Catholic Computer Science Home Page">
<title>Marin Catholic Computer Science Club</title>
</head>
<body>
<div id="desktop">
<canvas id="desktop-canvas"></canvas>
<!-- ══ Top System Panel ══ -->
<div id="panel">
<div id="panel-left">
<div id="panel-logo">
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
<rect x="0.5" y="0.5" width="5.5" height="5.5" rx="1" fill="#3fb950" opacity=".95"/>
<rect x="8" y="0.5" width="5.5" height="5.5" rx="1" fill="#3fb950" opacity=".55"/>
<rect x="0.5" y="8" width="5.5" height="5.5" rx="1" fill="#3fb950" opacity=".55"/>
<rect x="8" y="8" width="5.5" height="5.5" rx="1" fill="#3fb950" opacity=".25"/>
</svg>
</div>
<button id="panel-brand">MC-OS</button>
<div class="panel-sep"></div>
<span id="panel-focused-title"></span>
</div>
<div id="panel-center">
<div id="panel-workspaces">
<button class="ws-btn ws-active">1</button>
<button class="ws-btn">2</button>
<button class="ws-btn">3</button>
</div>
<div class="panel-sep"></div>
<div id="panel-tasks"></div>
</div>
<div id="panel-right">
<div id="net-wrapper">
<div id="sys-net" class="sys-icon has-tooltip" data-tooltip="Network">
<svg width="16" height="13" viewBox="0 0 16 13" fill="none">
<path d="M1 3.5C3.8.8 12.2.8 15 3.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<path d="M3.2 6C5.2 3.8 10.8 3.8 12.8 6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<path d="M5.8 8.5C6.8 7.3 9.2 7.3 10.2 8.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
<circle cx="8" cy="11.5" r="1.3" fill="currentColor"/>
</svg>
</div>
<div id="net-dropdown">
<div class="net-ssid-row">can't find out ur ssid this sux</div>
</div>
</div>
<div id="vol-wrapper">
<div id="sys-vol" class="sys-icon has-tooltip" data-tooltip="Volume">
<svg width="16" height="14" viewBox="0 0 16 14" fill="none">
<path d="M1.5 5H4L7.5 2V12L4 9H1.5V5Z" fill="currentColor"/>
<path d="M9.5 4.5C11 5.5 11 8.5 9.5 9.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
<path d="M11.5 2.5C14 4 14 10 11.5 11.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
</svg>
</div>
<div id="vol-dropdown">
<div class="vol-section">
<input type="range" id="vol-slider" min="0" max="100" value="100">
</div>
<div class="vol-controls">
<button id="vol-prev-btn" class="vol-btn" title="Previous">
<svg width="13" height="13" viewBox="0 0 13 13" fill="none">
<rect x="1.5" y="1.5" width="2" height="10" rx=".5" fill="currentColor"/>
<path d="M11.5 2L4.5 6.5l7 4.5V2z" fill="currentColor"/>
</svg>
</button>
<button id="vol-play-btn" class="vol-btn vol-play-btn" title="Play/Pause">
<svg width="12" height="12" viewBox="0 0 12 12" fill="none">
<path d="M3 1.5L10.5 6 3 10.5V1.5z" fill="currentColor"/>
</svg>
</button>
<button id="vol-next-btn" class="vol-btn" title="Next">
<svg width="13" height="13" viewBox="0 0 13 13" fill="none">
<rect x="9.5" y="1.5" width="2" height="10" rx=".5" fill="currentColor"/>
<path d="M1.5 2L8.5 6.5l-7 4.5V2z" fill="currentColor"/>
</svg>
</button>
</div>
</div>
</div>
<div class="panel-sep"></div>
<div id="panel-datetime">
<span id="panel-date"></span>
<span id="panel-time"></span>
</div>
</div>
</div>
<!-- ══ Desktop Icons (absolutely positioned, draggable) ══ -->
<div class="desktop-icon" data-app="terminal" style="left:18px;top:52px">
<div class="icon-img">
<svg width="30" height="28" viewBox="0 0 30 28" fill="none">
<polyline points="5,6 15,14 5,22" stroke="#3fb950" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="17" y1="22" x2="26" y2="22" stroke="#3fb950" stroke-width="2.5" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-label">Terminal</div>
</div>
<div class="desktop-icon" data-app="projects" style="left:18px;top:142px">
<div class="icon-img">
<svg width="30" height="28" viewBox="0 0 30 28" fill="none">
<path d="M3 9h10l2.5-3.5H27a2 2 0 0 1 2 2V22a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2z" stroke="#3fb950" stroke-width="2" fill="rgba(63,185,80,.08)"/>
</svg>
</div>
<div class="icon-label">Projects</div>
</div>
<!-- ══ Desktop Context Menu ══ -->
<div id="ctx-menu">
<div class="ctx-item" data-action="open-terminal">
<svg class="ctx-icon-svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
<polyline points="2,2 7,6 2,10" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
<line x1="8" y1="10" x2="12" y2="10" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/>
</svg>
<span>Open Terminal</span>
<span class="ctx-shortcut">Ctrl+Alt+T</span>
</div>
<div class="ctx-item" data-action="open-projects">
<svg class="ctx-icon-svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
<path d="M1 4h5l1.5-2H13a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1z" stroke="currentColor" stroke-width="1.3" fill="none"/>
</svg>
<span>Open Projects</span>
</div>
<div class="ctx-sep"></div>
<div class="ctx-item" data-action="refresh">
<svg class="ctx-icon-svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
<path d="M12 6A5 5 0 1 1 7 1" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
<polyline points="7,1 10,1 10,4" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Refresh Desktop</span>
<span class="ctx-shortcut">F5</span>
</div>
<div class="ctx-item ctx-disabled" data-action="wallpaper">
<svg class="ctx-icon-svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
<rect x="1" y="1" width="12" height="10" rx="1.5" stroke="currentColor" stroke-width="1.5" fill="none"/>
<circle cx="4.5" cy="4.5" r="1.3" stroke="currentColor" stroke-width="1.2" fill="none"/>
<path d="M1 9L4 7L7 9L10 6L13 9" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>Change Wallpaper</span>
<span class="ctx-badge">soon</span>
</div>
<div class="ctx-sep"></div>
<div class="ctx-item" data-action="about">
<svg class="ctx-icon-svg" width="14" height="12" viewBox="0 0 14 12" fill="none">
<circle cx="7" cy="6" r="5" stroke="currentColor" stroke-width="1.5" fill="none"/>
<line x1="7" y1="5.5" x2="7" y2="9" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
<circle cx="7" cy="3.2" r=".8" fill="currentColor"/>
</svg>
<span>About MC-OS</span>
</div>
</div>
<!-- ══ Snap Preview Overlay ══ -->
<div id="snap-preview"></div>
<!-- ══ Command Palette (Ctrl+K) ══ -->
<div id="cmd-palette-overlay" role="dialog" aria-modal="true" aria-label="Command Palette">
<div id="cmd-palette">
<div id="cmd-palette-input-row">
<svg id="cmd-palette-icon" width="14" height="14" viewBox="0 0 14 14" fill="none">
<circle cx="6" cy="6" r="4.5" stroke="currentColor" stroke-width="1.5"/>
<line x1="9.5" y1="9.5" x2="13" y2="13" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
</svg>
<input id="cmd-palette-input" type="text" placeholder="Search commands…" autocomplete="off" spellcheck="false" aria-label="Command search"/>
</div>
<div id="cmd-palette-list" role="listbox"></div>
<div id="cmd-palette-footer">
<span class="cp-kbd">↑↓</span><span>navigate</span>
<span style="margin-left:4px" class="cp-kbd">↵</span><span>open</span>
<span style="margin-left:4px" class="cp-kbd">Esc</span><span>close</span>
<span style="margin-left:auto; opacity:.5">Ctrl+K</span>
</div>
</div>
</div>
<!-- ══ Toast Container ══ -->
<div id="toast-container" aria-live="polite" aria-label="Notifications"></div>
</div>
<script src="script.js"></script>
</body>
</html>