Private
Public Access
1
0

adding resample function

This commit is contained in:
Sander Roosendaal
2022-02-14 15:53:35 +01:00
parent be83c14a6c
commit f53770fcde
8 changed files with 138 additions and 19 deletions

View File

@@ -0,0 +1,30 @@
{% extends "newbase.html" %}
{% load static %}
{% load rowerfilters %}
{% block title %}Workout Data Resample{% endblock %}
{% block main %}
<h1>Workout Data Resample for {{ workout.name }}</h1>
<ul class="main-content">
<li class="grid_4">
<p>This functionality resamples the data to 1 second intervals. This can be useful in
case there are gaps larger than 30 seconds in the data, which prevent the creation
of a correct CP chart.
</p>
<p>
<form method="post" enctype="multipart/form-data">
{{ form.as_table }}
{% csrf_token %}
<input type="submit" value="Submit">
</form>
</p>
</li>
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_workout.html' %}
{% endblock %}