-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoggan.html
97 lines (92 loc) · 4.03 KB
/
coggan.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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Coggan Cycling Level Calculator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<meta name="theme-color" content="#fafafa">
<!-- Latest compiled and minified CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Latest compiled JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
</head>
<body>
<script type="module" src="js/coggan.js"></script>
<!-- Add your site or application content here -->
<div class="mt-4 p-5 bg-primary text-white rounded" style="margin:10%">
<h1>Coggan Power Levels</h1>
<p>Dr. Andrew Coggan published what he thought a cyclist needed to be capable of to perform at various levels.
This is not hard fact, and can be used as a guide but does not mean anything in terms of true insights to ability,
strenghts or weaknesses.
</p>
</div>
<form onsubmit="return false" style="padding-left: 10%; padding-right: 10%" id="powerForm">
<div class="row">
<div class="col">
<input type="text" class="form-control" placeholder="Weight" name="weight" id="weight">
</div>
<div class="col">
<select class="form-select" placeholder="kg" name="units" id units>
<option>kg</option>
<option>lbs</option>
</select>
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control" placeholder="Threshold (FTP)" name="threshold" id="threshold">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control" placeholder="Five Minute Power" name="five_min" id="five_min">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control" placeholder="One Minute Power" name="one_min" id="one_min">
</div>
</div>
<div class="row">
<div class="col-6">
<input type="text" class="form-control" placeholder="Five Second Power" name="five_sec" id="five_sec">
</div>
</div>
<div class="row">
<div class="col-3 col-md-1">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="gender" id="male" value="male">
<label class="form-check-label" for="inlineRadio1">Male</label>
</div>
</div>
<div class="col-3 col-md-1">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="gender" id="female" value="female">
<label class="form-check-label" for="Female">Female</label>
</div>
</div>
</div>
<button type="submit" onclick="power_data()" class="btn btn-primary">Submit</button>
</form>
<div class="container-fluid" style="max-width: 1000px">
<div class="row" style="margin: 0 auto; float: none;">
<p id="power_results" style="text-align: center;"></p>
</div>
<div class="row" style="margin: 0 auto; float: none;">
<h3 id="table_h"></h3>
</div>
<div class="row" style="margin: 0 auto; float: none;">
<p id="table_p"></p>
</div>
<div class="row" style="margin: 0 auto; float: none;">
<table class="table table-responsive-sm table-hover" id="improvement_table"></table>
</div>
</div>
</body>
</html>