This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (64 loc) · 2.55 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="mij">
<title>Calculate flexi + toil</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-datetimepicker.min.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/jquery-ui.css">
</head>
<body>
<div id="wrapper">
<h2>Calculate flexi + toil</h2>
<div class="well">
<h4>Start of the day:</h4>
<div id="start" class="input-append">
<input data-format="hh:mm" type="text" id="start_val"></input>
<span class="add-on">
<i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
</span>
</div>
</div>
<div class="well">
<h4>End of the day:</h4>
<div id="finish" class="input-append">
<input data-format="hh:mm" type="text" id="end_val"></input>
<span class="add-on">
<i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
</span>
</div>
</div>
<div class="well">
<h4>Minutes for lunch:</h4>
<div id="finish" class="input-append">
<input data-format="hh:mm" type="text" id="lunch"></input>
</div>
</div>
<button type="button" class="btn btn-primary btn-lg" id="calculateTime">Calculate Time</button>
<div id="results">
<div id="slider-percentages">
<h4>Standard hours</h4>
<span id="flexi-standard">Flexi 0 hours</span> -
<span id="toil-standard">Toil 0 hours</span>
<h4>Decimal hours</h4>
<span id="flexi-decimal">Flexi 0 hours</span> -
<span id="toil-decimal">Toil 0 hours</span>
</div>
<div id="slider"></div>
<div id="total"></div>
</div>
<div id="error">
<h4>Wait! ... where's the time?</h4>
<img src='img/error.gif' width='' />
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script><style type="text/css"></style>
<script type="text/javascript" src="js/jquery-ui.min.js"></script><style type="text/css"></style>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>