-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
235 lines (235 loc) · 8.55 KB
/
index.html
File metadata and controls
235 lines (235 loc) · 8.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Oficce-O-Matic</title>
<link rel="shortcut icon" href="./assets/img/favicon.png" type="image/x-icon">
<!-- reset -->
<link rel="stylesheet" href="./reset.css" />
<!-- style -->
<link rel="stylesheet" href="./style.css" />
<!-- font -->
<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=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!-- header -->
<header class="header">
<section>
<p class="author">V0.6.1</p>
</section>
<section>
<!-- main logo -->
<a class="header__logo" href="#">
<h1>Office-O-Matic</h1>
</a>
<h2 class="header__subtitle">
A collection of tools to survive the crazy office life
</h2>
</section>
<section>
<p class="author">by AEX</p>
</section>
</header>
<hr />
<!-- main -->
<main class="app">
<!-- Section 1 -->
<section class="app__section">
<article class="app__column">
<div class="date-time">
<section class="app__time"></section>
<section class="app__date"></section>
</div>
</article>
</section>
<!-- Section 2 -->
<section class="app__section">
<!-- column 1 -->
<article class="app__column">
<section class="app__component">
<!-- Pomodoro -->
<div class="pomodoro">
<h3 class="pomodoro__time"></h3>
<ul class="pomodoro__buttons-container">
<li>
<button id="pomodoro-start-btn" class="button">Start</button>
</li>
<li>
<button id="pomodoro-pause-btn" class="button">Pause</button>
</li>
<li>
<button id="pomodoro-reset-btn" class="button">Reset</button>
</li>
</ul>
<div class="pomodoro_graph-container">
<span id="pomodoro__focus1" class="pomodoro_graph"></span>
<span id="pomodoro__shortrest1" class="pomodoro_graph"></span>
<span id="pomodoro__focus2" class="pomodoro_graph"></span>
<span id="pomodoro__shortrest2" class="pomodoro_graph"></span>
<span id="pomodoro__focus3" class="pomodoro_graph"></span>
<span id="pomodoro__shortrest3" class="pomodoro_graph"></span>
<span id="pomodoro__focus4" class="pomodoro_graph"></span>
<span id="pomodoro__longrest" class="pomodoro_graph"></span>
</div>
<div>
<h3>Pomodoro #<span class="pomodoro__sets">0</span></h3>
</div>
</div>
</section>
<!-- Calendar -->
<section class="app__component">
<div id="calendar"></div>
</section>
<!-- Weather -->
<section class="app__component">
<div class="weather">
<div class="weather__title">
<h3>Weather</h3>
<h4>Santo Domingo, DO</h4>
</div>
<div class="weather__main">
<img class="weather__icon" />
<p class="weather__temp"></p>
</div>
<p class="weather__desc"></p>
<div class="weather__data">
<div class="weather__data-column">
<strong>Feels like</strong>
<p class="weather__feels"></p>
</div>
<div class="weather__data-column">
<strong>Humidity</strong>
<p class="weather__hum"></p>
</div>
<div class="weather__data-column">
<strong>Wind Speed</strong>
<p class="weather__wind"></p>
</div>
</div>
</div>
</section>
</article>
<!-- column 2 -->
<article class="app__column">
<section class="app__component">
<!-- TODO -->
<div class="todo">
<div class="todo__input">
<input
class="todo__write"
type="text"
placeholder="Write a task"
/>
<button class="todo__add button">+ Task</button>
</div>
<div class="todo__output">
<ul class="todo__list"></ul>
</div>
</div>
</section>
<!-- Calculator -->
<section class="app__component">
<div class="calculator">
<input type="text" class="calculator__input" />
<div class="calculator__digits">
<button class="digit button" onclick="cleanDigits()">C</button>
<button class="digit button" onclick="writeDigit('/')">
/
</button>
<button class="digit button" onclick="writeDigit('*')">
*
</button>
<button class="digit button" onclick="deleteDigit()">←</button>
<button class="digit button" onclick="writeDigit('7')">
7
</button>
<button class="digit button" onclick="writeDigit('8')">
8
</button>
<button class="digit button" onclick="writeDigit('9')">
9
</button>
<button class="digit button" onclick="writeDigit('-')">
-
</button>
<button class="digit button" onclick="writeDigit('4')">
4
</button>
<button class="digit button" onclick="writeDigit('5')">
5
</button>
<button class="digit button" onclick="writeDigit('6')">
6
</button>
<button class="digit button" onclick="writeDigit('+')">
+
</button>
<button class="digit button" onclick="writeDigit('1')">
1
</button>
<button class="digit button" onclick="writeDigit('2')">
2
</button>
<button class="digit button" onclick="writeDigit('3')">
3
</button>
<button class="digit button" onclick="showResults()">=</button>
<button class="digit button" onclick="writeDigit('%')">
%
</button>
<button class="digit button" onclick="writeDigit('0')">
0
</button>
<button class="digit button" onclick="writeDigit('.')">
.
</button>
</div>
</div>
</section>
</article>
<!-- column 3 -->
<article class="app__column">
<section class="app__component">
<div class="player">
<iframe
style="border-radius: 12px"
src="https://open.spotify.com/embed/playlist/1dT5nydCOnVXWPHFuj2tSt?utm_source=generator&theme=0"
width="100%"
height="152"
frameborder="0"
allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
loading="lazy"
></iframe>
</div>
</section>
<section class="app__component">
<div class="notes">
<button class="notes__add button">+ Note</button>
<div class="notes__output">
<ul class="notes__list"></ul>
</div>
</div>
</section>
</article>
</section>
</main>
<!-- footer -->
<footer class="footer">
<a target="_blank" href="https://github.com/dev-aex">GitHub</a>
<a target="_blank" href="https://dev-aex.netlify.app/">Website</a>
</footer>
<script
src="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.14/index.global.min.js"
defer
></script>
<script type="module" src="./main.js" defer></script>
<script src="./modules/calculator.js" defer></script>
</body>
</html>