-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
127 lines (112 loc) · 5.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Workout Generator - Inspiration for busy people" />
<meta name="author" content="Seb Hulse" />
<meta name="generator" content="Hugo 0.82.0" />
<title>Fitness</title>
<link rel="canonical" href="https://sebhulse.com/fitness/web" />
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/index.js"></script>
<script src="js/view.js"></script>
<link href="css/bootstrap.min.css" rel="stylesheet" />
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>
</head>
<body>
<main>
<div class="container">
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
<a href="/index.html" class="d-flex align-items-center col-md-3 mb-2 mb-md-0 text-dark text-decoration-none">
<h1>Fitness</h1>
</a>
<ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0">
<li>
<a href="/guide.html" class="nav-link px-2 link-dark">What is this?</a>
</li>
<li>
<a href="/data.html" class="nav-link px-2 link-dark">Data</a>
</li>
<li>
<a href="/api.html" class="nav-link px-2 link-dark">API</a>
</li>
<li>
<a href="/disclaimer.html" class="nav-link px-2 link-dark">Disclaimer</a>
</li>
<li>
<a href="/support.html" class="nav-link px-2 link-dark">Support</a>
</li>
</ul>
</header>
</div>
<div id="selections" class="container-sm">
<h2 class="text-center">Create Your Workout</h2>
<form>
<div class="form-group text-center">
<h4>Duration</h4>
<div class="row justify-content-center">
<div class="col-md-6" accesskey="">
<input type="range" class="form-range" min="10" max="50" step="1" id="durationrange" oninput="changeLiveDuration(this.value)" />
</div>
</div>
</form>
<p><span class="badge rounded-pill bg-primary" id="durationValue">30</span> mins</p>
<div class="container text-center">
<h4>Type</h4>
<div id="btntypecontainer" class="btn-group" role="group">
<input type="radio" class="btn-check" name="btntype" id="btnTypestrength" autocomplete="off" value="strength" checked />
<label class="btn btn-outline-primary" for="btnTypestrength">Strength</label>
<input type="radio" class="btn-check" name="btntype" id="btnTypecardio" autocomplete="off" value="cardio" />
<label class="btn btn-outline-primary" for="btnTypecardio">Cardio</label>
</div>
<p></p>
<h4>Target Area</h4>
<div id="btnareacontainer" class="btn-group" role="group">
<input type="radio" class="btn-check" name="btnarea" id="btnAreafull" autocomplete="off" value="full" checked />
<label class="btn btn-outline-primary" for="btnAreafull">Full Body</label>
<input type="radio" class="btn-check" name="btnarea" id="btnArealower" autocomplete="off" value="lower" />
<label class="btn btn-outline-primary" for="btnArealower">Lower Body</label>
<input type="radio" class="btn-check" name="btnarea" id="btnAreaupper" autocomplete="off" value="upper" />
<label class="btn btn-outline-primary" for="btnAreaupper">Upper Body</label>
<input type="radio" class="btn-check" name="btnarea" id="btnAreacore" autocomplete="off" value="core" />
<label class="btn btn-outline-primary" for="btnAreacore">Core</label>
</div>
<p></p>
<h4>Intensity</h4>
<div id="btnintensitycontainer" class="btn-group" role="group">
<input type="radio" class="btn-check" name="btnintensity" id="btnIntensitybeginner" autocomplete="off" value="beginner" checked />
<label class="btn btn-outline-primary" for="btnIntensitybeginner">Beginner</label>
<input type="radio" class="btn-check" name="btnintensity" id="btnIntensityintermediate" autocomplete="off" value="intermediate" />
<label class="btn btn-outline-primary" for="btnIntensityintermediate">Intermediate</label>
<input type="radio" class="btn-check" name="btnintensity" id="btnIntensityadvanced" autocomplete="off" value="advanced" />
<label class="btn btn-outline-primary" for="btnIntensityadvanced">Advanced</label>
</div>
</div>
<p></p>
<div id="buttonContainer" class="container">
<button type="button" class="btn m-2 btn-primary btn-lg d-inline" id="generateBtn" onclick="return getWorkout()">Generate Workout
</button>
</div>
<button type="button" class="btn m-2 btn-danger btn-sm d-inline" id="resetBtn" onclick="resetOptions()">Reset Options
</button>
</div>
</main>
</body>
<script type="text/javascript">
window.onload = indexPageLoad();
</script>
</html>