-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
71 lines (50 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script defer type="module" src="./main.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="main">
<div class="taimer-box" id="taimer-box">
<h2 id="taimerStatus"> </h2>
<div class="taimer" id="taimer"> </div>
<div id="controls">
<button data-action="startTimer">старт</button>
<button data-action="stopTimer">стоп</button>
<button data-action="resetTimer">перезапустить</button>
<button data-action="skipIteration">пропустить</button>
<button data-action="restartTimer">сбросить</button>
<button id="openSettings">настройки</button>
</div>
<br>
</div>
<div id="settings" class="settings">
<h2>Настройки <span class="close-settings" id="closeSettings">❌</span></h2>
<label for="">
<span id="valueTimer"></span>
- Время работы
</label>
<input min="1" max="90" id="inputTimer" type="range">
<label for="">
<span id="valueShortBreak"></span>
- Короткий перерыв
</label>
<input min="1" max="90" id="inputShortBreak" type="range">
<label for="">
<span id="valueLongBreak"></span>
- Длинный перерыв
</label>
<input min="1" max="90" id="inputLongBreak" type="range">
<label for="">
<span id="valueRounds"></span>
- Количество итераций
</label>
<input min="1" max="90" id="inputRounds" type="range">
</div>
</main>
</body>
</html>