-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (76 loc) · 4.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pomodoro Timer</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="./css/utilitaries.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
</head>
<body>
<main>
<div class="settings" id="settings-bg">
<div class="settings-container" id="settings-menu">
<div class="settings-label"><i class="bi bi-arrow-left-square-fill" id="settingsExit_B"></i>Settings
</div>
<div class="settings-duration">
<h3>Duration</h3>
<div class="focus container_I">
<label for="focusNumber_I">Focus </label>
<input type="number" id="focusNumber_I" max="60" value="25" min="1">
<input type="range" id="focusRange_I" min="5" list="values" step="5" max="60" class="range"
value="25">
</div>
<div class="break container_I">
<label for="breakDurationInput">Break</label>
<input type="number" id="breakNumber_I" max="20" value="5" min="5">
<input type="range" id="breakRange_I" min="1" list="values2" step="1" max="30" class="range">
</div>
<h4>For finer duration amounts, change the value directly on the input box.</h5>
</div>
<div class="settings-notifications"><h3>Extra</h3>
<div class="notification container_S">
<label for="modeNotificationsSwitch">Enable sound notifications </label>
<div class="checkbox-wrapper-6">
<input class="tgl tgl-light" id="modeNotificationsSwitch" type="checkbox" />
<label class="tgl-btn" for="modeNotificationsSwitch">
</div>
</div>
<div class="timer container_S">
<label for="tabTitleSwitch">Enable timer on tab title</label>
<div class="checkbox-wrapper-6">
<input class="tgl tgl-light" id="tabTitleSwitch" type="checkbox" />
<label class="tgl-btn" for="tabTitleSwitch">
</div>
</div>
<h4>Disabling these options can reduce the timer impact on battery life.</h4>
</div>
<button id="updateDuration">Save changes</button>
</div>
</div>
</div>
<header>
<div style="display: flex; gap: 6px; align-items: center;">
<h1>PoTi</h1>
</div>
<div id="settingsGear_B" class="but"><i class="bi bi-gear-fill"></i></div>
</header>
<div id="timerDisplay">25:00</div>
<div id="statusMessage">Pomodoro by Renato</div>
<div class="but-container">
<button id="start_B" class=" but"><i class="bi bi-play-fill"></i><span>Start</span></button>
<button id="stop_B" class=" but" disabled><i class="bi bi-pause-fill"></i><span>Pause</span></button>
<button id="reset_B" class=" but" disabled><i class="bi bi-arrow-clockwise"></i><span>Reset</span></button>
</div>
</main>
<script type="module" src="./dist/index.js"></script>
<audio id="focusNotificationSound" src="./assets/audio/focusnoti.mp3" preload="auto"></audio>
<audio id="breakNotificationSound" src="./assets/audio/breaknoti.mp3" preload="auto"></audio>
</body>
</html>