-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (137 loc) · 8.24 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<!--Bootstrap-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<h1 id = "til">Cardiorespiratory Fitness Predictor</h1>
<div class="container-fluid">
<div class="row content">
<div class="col-sm-6 form-wrapper">
<form id="calc" class = "col-lg-12">
<!--If formula wanna be use uncomment this and substitute -->
<div class="marginDown ">
<!--input and output elements-->
<div class="form-item">
<h4 id="systemType"><b>Please Choose Measuring System</b></h4>
<div class="section-header-underline"></div>
<div>
<input id="radio-1" class="radio-custom" name="system" value="0" type="radio" checked onclick = "updateSystemType()">
<label for="radio-1" class="radio-custom-label">Metric System</label>
<input id="radio-2" class="radio-custom" name="system" value="1" type="radio" onclick = "updateSystemType()">
<label for="radio-2" class="radio-custom-label">Imperial System</label>
</div>
</div>
<div class="form-item">
<label>Height</label>
<input class="inputs" name="h" type="number" placeholder="N/A"/>
<label id="altura"> Centimeters</label>
</div>
<div class="form-item">
<label>Weight</label>
<input class="inputs" name="w" type="number" placeholder="N/A" />
<label id="peso"> Kilograms</label>
</div>
<div class="form-item">
<label>Age </label>
<input class="inputs" name="a" type="number" placeholder="N/A" />
<label> Years</label>
</div>
<div>
<h4><b>Please Choose Your Gender</b></h4>
<div>
<input id="radio-3" class="radio-custom" name="sex" value="1" type="radio" checked>
<label for="radio-3" class="radio-custom-label">Male</label>
<input id="radio-4" class="radio-custom" name="sex" value="0" type="radio">
<label for="radio-4" class="radio-custom-label">Female</label>
</div>
</div>
<div class="form-item">
<h4><b>Heart rate at rest</b></h4>
<label>P1</label>
<input class="inputs" name="P1" type="number" placeholder="N/A"/>
</div>
<div class="form-item">
<h4><b>Heart rate immediately at the end of the Ruffier test</b></h4>
<label>P2</label>
<input class="inputs" name="P2" type="number" placeholder="N/A" />
</div>
<div class="form-item">
<h4><b>Heart rate one minute after</b></h4>
<div class="section-header-underline"></div>
<label>P3</label>
<input class="inputs" name="P3" type="number" placeholder="N/A"/>
</div>
</div>
</form>
</div>
<div class="col-sm-4">
<div class="timerContainer">
<div class="circle">
<svg width="300" viewBox="0 0 220 220" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(110,110)">
<circle r="100" class="e-c-base"/>
<g transform="rotate(-90)">
<circle r="100" class="e-c-progress"/>
<g id="e-pointer">
<circle cx="100" cy="0" r="8" class="e-c-pointer"/>
</g>
</g>
</g>
</svg>
</div>
<div class="controlls">
<div class="display-remain-time">00:45</div>
<button class="play" id="pause"></button>
</div>
</div>
<!-- Rest and Cal Buttons -->
<div class="marginDown">
<br><br>
<h3><b>Rest Period</b></h3>
<button class="button1" name="startRest" type="button" onclick="startTimerF()">Start Rest</button>
<button class="button2" name="stopRest" type="button" onclick="stopTimerF()">Reset Rest</button>
<h3 ><b>Time left : <label id="timer"></label><span> min</span></b></h3>
</div>
<div class="marginDown">
<div class="row col-lg-12 col-md-12">
<button class="button3 col-lg-6 col-md-6" name="calcVO2Max" type="button" onclick="calcVO2max()">Calc VO2max</button>
<h2 class="result col-lg-6 col-md-6">= <label id="result"></label></h2>
</div>
</div>
</div>
</div>
</div>
<footer class="container-fluid">
<center>
<h5>® reserved HOP 2018</h5>
</center>
</footer>
<script src="js/vendor/modernizr-3.5.0.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-3.2.1.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="js/main.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Google Analytics: change UA-XXXXX-Y to be your site's ID. -->
<script>
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
</body>
</html>