/
index.html
196 lines (169 loc) · 5.34 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>WorkoutCalc</title>
<!-- HTTP stuff -->
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="apple-touch-icon-iphone.png" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:400,700"
rel="stylesheet"
type="text/css"
/>
<link
href="https://fonts.googleapis.com/css?family=Muli"
rel="stylesheet"
type="text/css"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="2015.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="workoutcalc.js"></script>
</head>
<body>
<header>
<button type="button" class="toolbar left-toolbar account-button">
<span class="fa-stack fa-lg n">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-user fa-stack-1x fa-inverse"></i>
</span>
</button>
<button type="button" class="toolbar right-toolbar help-button">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-question fa-stack-1x fa-inverse"></i>
</span>
</button>
<hgroup>
<h1 id="status">Workout Calc</h1>
</hgroup>
</header>
<div id="wrapper">
<div id="selectWorkout">
Select workout
<button type="button" class="wide-button button" id="sqBpDl">
Squat · Bench Press · Deadlift
</button>
<button type="button" class="wide-button button" id="sqSpPc">
Squat · Press · Power Clean
</button>
<p class="note"></p>
</div>
<div id="weightSelect">
Enter weight:<br />
<button type="button" class="button dec">−</button>
<input
type="text"
size="5"
pattern="\d*"
class="weightInput"
id="weightInput"
/>
<span class="units"></span>
<button type="button" class="button inc">+</button>
<p class="note"></p>
<button
type="button"
class="button default-button"
id="calculateWeightsButton"
>
GO >
</button>
</div>
<div id="workout">
<div id="weightReps"></div>
<div id="doneExercise">
<button type="button" class="button" id="backButton">
< BACK
</button>
<button type="button" class="button default-button" id="doneButton">
DONE >
</button>
</div>
</div>
<div id="nextWeightSelect">
Weight for next time:<br />
<button type="button" class="button dec">−</button>
<input
type="text"
size="5"
pattern="\d*"
class="weightInput"
id="nextWeightInput"
/>
<span class="units"></span>
<button type="button" class="button inc">+</button>
<p class="note"></p>
<button
type="button"
class="button default-button"
id="nextWeightButton"
>
OK >
</button>
</div>
<div id="doneWorkout">
<div id="displayWorkout">
<p>Done!</p>
</div>
<button type="button" class="button default-button" id="resetButton">
Reset
</button>
</div>
</div>
<div id="help" class="slider right">
<button type="button" class="toolbar right-toolbar close-button">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-times fa-stack-1x fa-inverse"></i>
</span>
</button>
<h1>About</h1>
<p>
WorkoutCalc calculates weights for the
<a
id="startingStrength"
href="http://startingstrength.wikia.com/wiki/Starting_Strength_Wiki"
target="_blank"
>Starting Strength</a
>
program created by Mark Rippetoe.
</p>
<p>There are two different workouts, each of three exercises.</p>
<p>
Input your target work weight, and your warmup weights will be
calculated and dsiplayed.
</p>
<p>After your workout, enter the weight you'd like to do next time.</p>
<p>
Your workouts will be stored in your web browser and remembered for next
time.
</p>
<p>
Version 1.5. Created by
<a id="alesh" href="http://alesh.com">Alesh Houdek</a>.
</p>
<p><a href="mailto:mail@alesh.com">Send feedback</a></p>
</div>
<div id="account" class="slider left">
<button type="button" class="toolbar left-toolbar close-button">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-times fa-stack-1x fa-inverse"></i>
</span>
</button>
<h1>Stored Workouts</h1>
<div id="pastWorkouts" class="touch-moveable"></div>
<div id="workoutButtons"></div>
</div>
</body>
</html>