-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
173 lines (147 loc) · 10.4 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<style>@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');</style>
</head>
<body id="wallpaper" style="background-image:url(bliss.jpeg); background-size:cover; margin:0; width:100vw; height:100vh; overflow-y: hidden; font-family: 'Roboto Mono', monospace">
<div class="sysNavBar" style="display:flex; margin: 0; justify-content:space-between; gap:32px; align-items:center; width:100vw; position:fixed; background-color:rgba(0,0,0,0.5); backdrop-filter: blur(10px); height:5%">
<p id="welcomeopen" style="cursor: pointer; box-shadow: 1px 1px 5px purple, -1px -1px 4px cyan; background-color:rgba(255,255,255,0.2); border-radius:3px; padding:2px 8px; margin-left:12px;">
System Settings ⚙️
</p>
<p id="sysTime" style="background-color:rgba(255,255,255,0.2); border-radius:3px; padding:2px 8px; margin-right:12px;">
Loading...
</p>
</div>
<div id="welcome" class="window" style="background-color: #bbbbbb; border:solid; border-radius:12px; position:absolute; top:50%;left:50%; transform: translate(-50%, -50%); height:80%; overflow:hidden; width:600px; display:flex;flex-direction:column;">
<div id="notesopen" style="display:flex;">
<p id="welcomeheader" style="cursor: grab; background-color: rgba(255,255,255,0.4); margin: 0; padding: 0 250px; height:25px; text-align: center;">Settings</p>
<p style="cursor: pointer; margin:0; background-color:rgba(255,12,12,0.8); padding:0 20px 0 7px; height:25px;" id="welcomeclose">x</p>
</div>
<div style="overflow:scroll;margin:0 4px;box-shadow:0 1px black">
<h1 style="text-align: center;margin-bottom:0;padding-bottom:0;">welcome to BlissOS v2K</h1>
<p style="text-align:center;margin-bottom:1px;padding-bottom:1px;">A highly-customizable, browser-based, clutter-free OS designed for all facets of daily life.<br></p>
<p style="text-align: center;font-size:10px;margin-top:0px;"><i>repopen this settings page by clicking in the top left</i></p>
</div>
<div id="settingsMenu">
<div class="segment" style="display:flex; justify-content: space-between;">
<form id="changeWallpaper" enctype="multipart/form-data">
<label>Wallpaper
<input type="file" name="picture" id="fileInput" accept="image/*" required/>
</label>
<span style="margin-left:165px;">
<button type="submit" style="cursor:pointer">Save</button>
</span>
</form>
</div>
<div class="segment">
Date & Time
</div>
<div class="segment">
Desktop Icons<button onclick="changeDesktopAlignment()" style="margin-left:16px;">Switch Alignment</button>
</div>
<div class="segment" id="userOS" style="margin-top:20px;">
System Info:
</div>
<div class="segment">
<a href="mailto:[email protected]?subject=cOS%20Feature%20Suggestion">Feature Suggestions</a>
</div>
</div>
</div>
<div id="desktopApps" style="padding-top: 64px; padding-left: 16px;float:left;display:inline">
<div class="icon" id="notesicon">
<img src="./notebook.jpeg" style="width: 64px; height: 64px; border-radius:3px;">
<p style="margin: 0px; color: #fff;">Notepad</p>
</div>
<div class="icon" id="musicicon">
<img src="./music.jpeg" style="width: 64px; height: 64px; border-radius:3px;">
<p style="margin: 0px; color: #fff;">Music</p>
</div>
<div class="icon" id="photosicon">
<img src="./photos.png" style="width: 64px; height: 64px; border-radius:3px;">
<p style="margin: 0px; color: #fff;">Photos</p>
</div>
<div class="icon" id="cameraicon">
<img src="./camera.jpeg" style="width: 64px; height: 64px; border-radius:3px;">
<p style="margin: 0px; color: #fff;">Camera</p>
</div>
<div class="icon" id="clockicon">
<img src="./timer.jpg" style="width: 64px; height: 64px; border-radius:3px;">
<p style="margin: 0px; color: #fff;">Clock</p>
</div>
</div>
<div class="window" id="notes" style="display:none; background-color: lightgray; height:80%; width:500px; overflow-y:scroll; overflow-x: hidden; flex-direction:column;">
<div style="display:flex;">
<p id="notesheader" style="cursor: grab; background-color: rgba(255,255,255,0.4); margin: 0; padding: 0 40.85%; height:25px; text-align:center;">Notepad</p>
<p id="notesclose" style="cursor: pointer; margin:0; background-color:rgba(255,12,12,0.8); padding:0 20px 0 7px; height:25px;" >x</p>
</div>
<div style="background-color: #fff; margin: 6px; border-radius: 12px; width: 420; height: 85%; padding: 16px; display:flex;">
<div id="sidebar" style="background-color: #F9F9F9; text-align:left; width: 80px !important; overflow:scroll; padding:12px; border-radius: 16px;">
</div>
<div id="notesContent" style="padding-left:12px"></div>
</div>
<p style="size:10px;justify-content: center;text-align: center;"><i>add more pages in script.js content array</i></p>
</div>
<div class="window" id="music" style="display:none; overflow:hidden; background-color: olive; border:solid; position:absolute; top:50%;left:50%; transform: translate(-50%, -50%); height:55%; width:530px;display:none;flex-direction:column;">
<div style="display:flex;position:sticky;">
<p id="musicheader" style="cursor: grab; text-align:center; background-color: rgba(255,255,255,0.5); margin: 0; padding:0 230px; height:25px;">Music</p>
<p id="musicclose" style="cursor: pointer; margin:0; background-color:rgba(255,12,12,0.8); padding-left:7px; padding-right:20px;height:25px;" >x</p>
</div>
<div style="overflow:scroll;padding-right:8px;">
<p style="margin:1px">Currently on repeat 🎧</p>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/70L6nHORQsblY813yNqUR3?utm_source=generator&theme=0" width="100%" height="352" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<p style="margin:1px">Study 📚</p>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/0Iq9QuMnxnZ5SvP2ZMJ3pM?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/7ne2hzW4jaU5tacaCI4kJH?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<p style="margin:1px">Walks 🌙</p>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/37i9dQZF1EIehW84no4iVk?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
<iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/0M5yumtF6X3h5ruL24VfNi?utm_source=generator" width="100%" height="152" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
</div>
</div>
<div class="window" id="photos" style="display:none; background-color: #bfafbf; border:solid; border-radius:12px; position:absolute; top:50%;left:50%; overflow:hidden; transform: translate(-50%, -50%); height:90%; width:1200px; display:none;flex-direction:column;">
<div style="display:flex;position:sticky;right:1190px;">
<p id="photosheader" style="cursor: grab; background-color: rgba(255,255,255,0.4); margin: 0; padding:0 558px; height:25px; text-align:center;justify-content:center;position:sticky;">Photos</p>
<p id="photosclose" style="cursor: pointer; margin:0; padding: 0 20px 0 10px; background-color:rgba(255,12,12,0.8); height:25px; " >x</p>
</div>
<div id="photosContent" style="overflow:scroll;display:flex;flex-direction:row;margin-bottom:8px;">
</div>
</div>
<div class="window" id="camera" style="display:none; background-color:#545454; border:solid; height:92%; width:810px; flex-direction:column;">
<div style="display:flex;position:sticky;right:1190px;">
<p id="cameraheader" style="cursor: grab; background-color: rgba(255,255,255,0.4); margin: 0; padding:0 362px; height:25px; text-align:center;justify-content:center;position:sticky;">Camera</p>
<button id="startCamera" style="position:absolute;transform: translate(3px, 2px)">Enable Video</button>
<p id="cameraclose" style="cursor: pointer; margin:0; padding: 0 20px 0 10px; background-color:rgba(255,12,12,0.8); height:25px; " >x</p>
</div>
<div style="display:flex;flex-direction: column;">
<video id="cameraFeed" style="transform: scaleX(-1); width:800px; display:block; margin:5px auto 0" autoplay playsinline></video>
<button id="captureButton" style="justify-content:center;background-color:rgba(0,0,0,0.2);border:0;margin:2px;display:none;cursor:pointer" ><img src="capture2.png" width="75px" height="auto"></button>
</div>
</div>
<div class="window" id="clock" style="display:none; background-color:#545454; border:solid; height:30%; width:300px; flex-direction:column;">
<div style="display:flex;position:sticky;right:1190px;">
<p id="clockheader" style="cursor: grab; background-color: rgba(255,255,255,0.4); margin: 0; padding:0 110px; height:25px; text-align:center;justify-content:center;position:sticky;">Clock</p>
<p id="clockclose" style="cursor: pointer; margin:0; padding: 0 20px 0 10px; background-color:rgba(255,12,12,0.8); height:25px; " >x</p>
</div>
<div style="display:flex;flex-direction:column; padding: 0 4px;">
<h1>Timer</h1>
<label for="duration">Enter duration in seconds:</label>
<input type="number" id="duration" min="1" value="60">
<div style="flex-direction:row">
<button style="width:200px;background-color: green;" onclick="startTimer()">Start Timer</button>
<button style="flex-grow:1;background-color: red;" onclick="stopTimer()">Stop Timer</button>
</div>
<span style="font-size:30px"><div id="countdown">00:00</div></span>
</div>
</div>
<div>
<audio id="shutterSound">
<source src="shutter.mp3" type="audio/mpeg">
</audio>
<audio id="timerSound">
<source src="bells.wav" type="audio/mpeg">
</audio>
</div>
<script src="script.js"></script>
</body>
</html>