polishing
This commit is contained in:
@@ -1363,8 +1363,13 @@ def new_workout_from_file(r, f2,
|
||||
|
||||
if fileformat == 'att': # pragma: no cover
|
||||
# email attachment which can safely be ignored
|
||||
os.remove(f2)
|
||||
return (0, '', f2)
|
||||
|
||||
if fileformat == 'quiskesummary':
|
||||
os.remove(f2)
|
||||
return (0,'',f2)
|
||||
|
||||
# Get workout type from fit & tcx
|
||||
if (fileformat == 'fit'): # pragma: no cover
|
||||
workouttype = get_workouttype_from_fit(f2, workouttype=workouttype)
|
||||
|
||||
@@ -119,6 +119,9 @@ $( function() {
|
||||
|
||||
<h1>In Stroke Metrics</h1>
|
||||
<ul class="main-content">
|
||||
<li class="grid_4">
|
||||
<p>This is an experimental prototype. It's behavior is not guaranteed. Response may be slow.
|
||||
</li>
|
||||
<li class="grid_4" >
|
||||
<form id="instrokeform" enctype="multipart/form-data" action="" method="post">
|
||||
{% csrf_token %}
|
||||
@@ -139,13 +142,13 @@ $( function() {
|
||||
</form>
|
||||
</li>
|
||||
<li class="grid_4">
|
||||
<div id="dd" class="flexplot">
|
||||
{{ dd|safe }}
|
||||
<div id="id_chart" class="flexplot">
|
||||
{{ the_div|safe }}
|
||||
</div>
|
||||
</li>
|
||||
<li class="grid_4">
|
||||
<div id="id_chart" class="flexplot">
|
||||
{{ the_div|safe }}
|
||||
<div id="dd" class="flexplot">
|
||||
{{ dd|safe }}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user