-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (119 loc) · 4.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pomodoria</title>
<link rel="stylesheet" href="./style.css" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"
/>
<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=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:[email protected]&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="button-container">
<div class="musicbutton" id="musicButton">
<button id="toggleMusic">
<span class="material-symbols-outlined">music_note</span>
</button>
<button id="toggleTasks">
<span class="material-symbols-outlined">task_alt</span>
</button>
<button id="changeBackground">
<span class="material-symbols-outlined">palette</span>
</button>
<button id="customTimerButton">
<span class="material-symbols-outlined">timer</span>
</button>
<button id="fullscreenButton">
<span class="material-symbols-outlined">fullscreen</span>
</button>
</div>
</div>
<video id="backgroundVideo" autoplay muted loop>
<source src="Videos/1.mp4" type="video/mp4" />
Your Browser Doesn't Support The Video Tag
</video>
<h1 class="title">Pomodoria</h1>
<div class="app">
<div class="timer">
<span class="minutes-display">25:00</span>
<div class="progress-bar">
<div class="progress"></div>
</div>
<div class="pomodoria-buttons">
<button class="start">START</button>
<button class="stop">STOP</button>
<button class="reset">RESET</button>
</div>
</div>
<div id="cycleCounter">Focus Count : <span>0</span></div>
</div>
<div class="task-list hide" id="taskList">
<h2>Tasks</h2>
<ul id="tasks"></ul>
<input type="text" id="taskInput" placeholder="Add a new task" />
<button id="addTaskButton">
<span class="material-symbols-outlined">add_circle</span>
</button>
</div>
<div class="settings">
<button id="settingsButton">
<span class="material-symbols-outlined">settings</span>
</button>
</div>
<div class="music" id="musicBox">
<div class="spotifylink">
<input
type="text"
id="spotifyLink"
placeholder="Spotify Playlist Link"
/>
<button id="saveLink">Save</button>
</div>
<iframe
style="border-radius: 12px"
id="playlistFrame"
src="https://open.spotify.com/embed/playlist/1SFu2TrODleauORe3TdSAv"
width="425"
height="425"
frameborder="0"
allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
loading="lazy"
>
</iframe>
</div>
<div class="custom-timer hide">
<input type="number" id="customMinutes" placeholder="Minutes" />
<input type="number" id="customSeconds" placeholder="Seconds" />
<button id="setCustomTimer">Set Timer</button>
</div>
<div class="settings-box hide">
<label for="autoRestart">Auto Restart</label>
<input type="checkbox" id="autoRestart" />
<label for="notificationSound">Notification Sound</label>
<select id="notificationSound">
<option value="Music\Bell.mp3">Default</option>
<option value="Music\Bell.mp3">Bell</option>
<option value="Music\Chime.mp3">Chime</option>
</select>
</div>
<div id="currentTaskContainer">
<div id="currentTask" class="hide">
<input type="checkbox" id="currentTaskCheckbox" />
<span id="currentTaskText"></span>
</div>
</div>
<video id="pipVideo" class="hidden" width="320" height="240" muted>
<canvas id="pipCanvas" width="320" height="240"></canvas>
</video>
<script src="./app.js"></script>
</body>
</html>