blob: 56686824d40f1d9ba1551047803678ddca1913e5 (
plain)
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
|
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tabata timer</title>
<link rel="stylesheet" href="main.css" />
<link rel="icon" href="/icon.png">
</head>
<body>
<header class="g-Layout__Header">Tabata timer</header>
<main id="g-Layout__Main">
<form id="g-Form">
<label class="g-Form__Label">
prepare
<input id="g-Form__Prepare" class="g-Form__Input" type="number" min="0" />
</label>
<label class="g-Form__Label">
tabatas
<input id="g-Form__Tabatas" class="g-Form__Input" type="number" min="1" />
</label>
<label class="g-Form__Label">
cycles
<input id="g-Form__Cycles" class="g-Form__Input" type="number" min="1" />
</label>
<label class="g-Form__Label">
work
<input id="g-Form__Work" class="g-Form__Input" type="number" min="5" />
</label>
<label class="g-Form__Label">
rest
<input id="g-Form__Rest" class="g-Form__Input" type="number" min="5" />
</label>
<div class="g-Form__Duration">
duration
<div id="g-Form__DurationValue">8</div>
</div>
<button class="g-Form__Start">
start
</button>
</form>
<section id="g-Timer">
<button id="g-Timer__Dial">
<svg class="g-Timer__Arc" viewbox="-100 -100 200 200">
<path class="g-Timer__ArcTotal" d="M -1.745121688784978e-14 -95 A 95 95 0 1 0 5.8170722959499274e-15 -95"></path>
<path id="g-Timer__ArcProgress"></path>
</svg>
<div id="g-Timer__Step"></div>
<div id="g-Timer__Duration"></div>
</button>
<div class="g-Timer__TabataAndCycle">
<div class="g-Timer__Tabata">
<div>Tabata</div>
<span id="g-Timer__TabataCurrent"></span>
/
<span id="g-Timer__TabataTotal"></span>
</div>
<div class="g-Timer__Cycle">
<div>Cycle</div>
<span id="g-Timer__CycleCurrent"></span>
/
<span id="g-Timer__CycleTotal"></span>
</div>
</div>
<button id="g-Timer__Stop">
stop
</button>
</section>
</main>
<script src="main.js"></script>
</body>
</html>
|