-
Notifications
You must be signed in to change notification settings - Fork 0
/
timer.html
174 lines (140 loc) · 7.77 KB
/
timer.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="Vendors/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="Vendors/css/sweetalert.css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css">
<title>Andrew's Brewing Tools - Timer</title>
</head>
<body>
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="index.html" class="navbar-brand">Andrew's Brewing Tools</a>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"><span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav navbar-right collapse navbar-collapse">
<li><a href="timer.html">BREW TIMER</a></li>
<li><a href="abv-calc.html">ABV CALCULATOR</a></li>
<li><a href="ibu-calc.html">IBU CALCULATOR</a></li>
</ul>
</div>
</div>
<section id="brewing-timer">
<div class="row absolute">
<h1>Brewing Timer</h1>
<div class="container">
<form class="timer-input container col-md-4 col-md-offset-4">
<p id="timer"></p>
<div class="row hops-input-row boil">
<div class="col span-1-of-2">
<label for="hopmins1">How long is your boil?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="60" id="hopmins1">
</div>
</div>
<div class="row hops-input-row">
<div class="col span-1-of-2">
<label for="hopmins2">When is your second hop addition?</label>
</div>
<div class="hop-input col span-1-of-2">
<input type="number" min="1" placeholder="50" id="hopmins2">
<i class=" icon-2 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition3">
<div class="col span-1-of-2">
<label for="hopmins3">When is your third hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="40" id="hopmins3">
<i class=" icon-3 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition4">
<div class="col span-1-of-2">
<label for="hopmins4">When is your fourth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="30" id="hopmins4">
<i class=" icon-4 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition5">
<div class="col span-1-of-2">
<label for="hopmins5">When is your fifth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="25" id="hopmins5">
<i class=" icon-5 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition6">
<div class="col span-1-of-2">
<label for="hopmins6">When is your sixth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="20" id="hopmins6">
<i class=" icon-6 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition7">
<div class="col span-1-of-2">
<label for="hopmins7">When is your seventh hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="15" id="hopmins7">
<i class=" icon-7 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition8">
<div class="col span-1-of-2">
<label for="hopmins8">When is your eighth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="10" id="hopmins8">
<i class=" icon-8 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition9">
<div class="col span-1-of-2">
<label for="hopmins9">When is your ninth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="5" id="hopmins9">
<i class=" icon-9 glyphicon glyphicon-ok"></i>
</div>
</div>
<div class="row hops-input-row" id="addition10">
<div class="col span-1-of-2">
<label for="hopmins10">When is your tenth hop addition?</label>
</div>
<div class="col span-1-of-2">
<input type="number" min="1" placeholder="1" id="hopmins10">
<i class=" icon-10 glyphicon glyphicon-ok"></i>
</div>
</div>
</form>
</div>
<div class="container col-md-4 col-md-offset-4 add-hop-btn">
<button class="inline" onclick="addAddition()">+ Hop Addition</button>
<button class="inline" onclick="removeAddition()">- Hop Addition</button>
</div>
</div>
<button class="timer-start" id="timer-start" onclick="setTimer();countDown(firstHops, secondHops);">Start Timer</button>
<button class="timer-stop" id="timer-stop">Reset Timer</button>
</section>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="Vendors/js/bootstrap.js"></script>
<script src="script.js"></script>
<script src="Vendors/js/sweetalert.min.js"></script>
</html>