MVP in-stroke analysis comparison
This commit is contained in:
@@ -6,16 +6,37 @@
|
||||
|
||||
{% block main %}
|
||||
|
||||
{{ js_res | safe }}
|
||||
{{ css_res| safe }}
|
||||
|
||||
<script src="https://cdn.pydata.org/bokeh/release/bokeh-2.2.3.min.js"></script>
|
||||
<script src="https://cdn.pydata.org/bokeh/release/bokeh-widgets-2.2.3.min.js"></script>
|
||||
<script async="true" type="text/javascript">
|
||||
Bokeh.set_log_level("info");
|
||||
</script>
|
||||
|
||||
{{ the_script |safe }}
|
||||
|
||||
<h1>In-Stroke Analysis for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||
|
||||
|
||||
<form enctype="multipart/form-data" method="post">
|
||||
<ul class="main-content">
|
||||
{% if the_div %}
|
||||
<li class="grid_4">
|
||||
<div id="theplot" class="flexplot">
|
||||
{{ the_div|safe }}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if analyses %}
|
||||
{% for analysis in analyses %}
|
||||
<li class="grid_4 divlines" id="analysis_{{ analysis.id }}">
|
||||
{{ analysis.date }}
|
||||
<div><h3>{{ analysis.name }}</h3></div>
|
||||
<div class="analysiscontainer">
|
||||
<div class="workoutelement">
|
||||
<input type="checkbox" name="analyses" value="{{ analysis.id }}" id="analyses_{{ analysis.id }}">
|
||||
</div>
|
||||
<div class="workoutelement">
|
||||
<a class="small" href="/rowers/workout/{{ analysis.workout.id|encode }}/instroke/interactive/{{ analysis.id }}/"
|
||||
title="Edit">
|
||||
@@ -57,6 +78,9 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% csrf_token %}
|
||||
<input name='instroke_compare' type="submit" value="Compare Selected">
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user