-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (55 loc) · 1.79 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Time Calculator</title>
</head>
<body>
<div id="app">
<h1>Time Calculator</h1>
<div id="apps">
<div id="timeCalculator">
<h2>Work Time Calculator</h2>
<div class="row" id="required">
<label for="requiredTime">Required time</label>
<input type="time" value="08:24" id="requiredTime">
</div>
<div class="row">
<div class="timeParts">
<label for="startTime">Start time</label>
<input type="time" id="startTime">
</div>
<div class="timeParts">
<label for="breakStart">Break start time</label>
<input type="time" id="breakStart">
</div>
</div>
<div class="row">
<div class="timeParts">
<label for="breakEnd">Break end time</label>
<input type="time" id="breakEnd">
</div>
<div class="timeParts">
<label for="endTime">End time</label>
<p id="endTime">--:--</p>
</div>
</div>
</div>
<div id="timeConverter">
<h2>Time Converter</h2>
<div class="row">
<label for="timeToConvert" title="Workday time is required time">Time in hours: </label>
<input type="text" placeholder="HH:mm" id="timeToConvert" title="Workday time is required time">
</div>
<div class="row">
<label for="timeConverted">Workdays:</label>
<p id="timeConverted">--</p>
</div>
</div>
</div>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>