adding cpoverlay (world class)
This commit is contained in:
@@ -91,6 +91,7 @@
|
||||
var reststrokes = $("#id_includereststrokes").parent().parent();
|
||||
var piece = $("#id_piece").parent().parent();
|
||||
var cpfit = $("#id_cpfit").parent().parent();
|
||||
var cpoverlay = $("#id_cpoverlay").parent().parent();
|
||||
|
||||
|
||||
// Hide the fields.
|
||||
@@ -113,6 +114,7 @@
|
||||
spmmin.hide();
|
||||
spmmax.hide();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
|
||||
if (functionfield.val() == 'boxplot') {
|
||||
@@ -153,6 +155,7 @@
|
||||
if (functionfield.val() == 'cp') {
|
||||
cpfit.show();
|
||||
piece.show();
|
||||
cpoverlay.show();
|
||||
}
|
||||
|
||||
|
||||
@@ -182,6 +185,7 @@
|
||||
plottype.hide();
|
||||
reststrokes.show();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
}
|
||||
else if (Value=='histo') {
|
||||
@@ -202,6 +206,7 @@
|
||||
plottype.hide();
|
||||
reststrokes.show();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
|
||||
}
|
||||
@@ -223,6 +228,7 @@
|
||||
plottype.hide();
|
||||
reststrokes.show();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
|
||||
}
|
||||
@@ -244,6 +250,7 @@
|
||||
errorbars.hide();
|
||||
reststrokes.show();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
}
|
||||
else if (Value=='stats') {
|
||||
@@ -260,6 +267,7 @@
|
||||
plottype.hide();
|
||||
reststrokes.show();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
piece.hide();
|
||||
}
|
||||
else if (Value=='compare') {
|
||||
@@ -280,6 +288,7 @@
|
||||
errorbars.hide();
|
||||
piece.hide();
|
||||
cpfit.hide();
|
||||
cpoverlay.hide();
|
||||
reststrokes.show();
|
||||
|
||||
|
||||
@@ -302,6 +311,7 @@
|
||||
plottype.hide();
|
||||
reststrokes.hide();
|
||||
cpfit.show();
|
||||
cpoverlay.hide();
|
||||
piece.show();
|
||||
}
|
||||
});
|
||||
@@ -372,6 +382,126 @@
|
||||
<input name='optionsform' type="submit" value="Submit">
|
||||
</form>
|
||||
</li>
|
||||
{% if worldclass %}
|
||||
{% if age and sex != 'not specified' %}
|
||||
<li class="grid_4">
|
||||
<h2>World Records</h2>
|
||||
<p>The dashed lines are based on the
|
||||
<a href="https://log.concept2.com/rankings">Concept2</a>
|
||||
rankings for your age ({{ age }}), gender ({{ sex }})
|
||||
and weight category ({{ weightcategory }}). World class means within 5% of
|
||||
<a href="http://www.concept2.com/indoor-rowers/racing/records/world">
|
||||
World Record</a> in terms
|
||||
of power.
|
||||
The percentile lines are estimates of where the percentiles
|
||||
of the Concept2 rankings historically are for those of exactly
|
||||
your age, gender and weight class.
|
||||
</p>
|
||||
<p>
|
||||
For rowing on the water, the results are corrected for the expected
|
||||
difference in power between the Concept2 indoor rower and power
|
||||
values on the water.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<table width="100%" class="listtable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/100m/">100m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/500m/">500m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/1000m/">1000m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/2000m/">2000m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/5000m/">5000m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/6000m/">6000m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/10000m/">10000m
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a target="_"
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/21097m/">Half Marathon
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/42195m/">Full Marathon
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/1min/">1 minute
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/4min/">4 minutes
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/30min/">30 minutes
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<a
|
||||
href="/rowers/agegrouprecords/{{ sex }}/{{ weightcategory }}/60min/">1 hour
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user