stroke angles only for water workouts
This commit is contained in:
@@ -395,10 +395,12 @@ function copyText() {
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'stroke' in metricsgroups %}
|
{% if 'stroke' in metricsgroups %}
|
||||||
|
{% if workout.workouttype == 'water' %}
|
||||||
<li class="grid_2" style="height:500px">
|
<li class="grid_2" style="height:500px">
|
||||||
<div style="width:100%;height:70%;" id="stroke_angles"></div>
|
<div style="width:100%;height:70%;" id="stroke_angles"></div>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@@ -474,9 +476,11 @@ function copyText() {
|
|||||||
set_athlete();
|
set_athlete();
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'stroke' in metricsgroups %}
|
{% if 'stroke' in metricsgroups %}
|
||||||
|
{% if workout.workouttype == 'water'}
|
||||||
anglesoptions.PieStartAngle = 90+catch_now;
|
anglesoptions.PieStartAngle = 90+catch_now;
|
||||||
set_stroke();
|
set_stroke();
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
// cookie reader
|
// cookie reader
|
||||||
function createCookie(name,value,days) {
|
function createCookie(name,value,days) {
|
||||||
|
|||||||
Reference in New Issue
Block a user