Private
Public Access
1
0
Files
rowsandall/rowers/templates/multicompare.html
2020-11-09 10:34:44 +01:00

56 lines
1.0 KiB
HTML

{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}View Comparison {% endblock %}
{% block main %}
<script src="https://cdn.pydata.org/bokeh/release/bokeh-2.2.3.min.js"></script>
<script async="true" type="text/javascript">
Bokeh.set_log_level("info");
</script>
{{ interactiveplot |safe }}
<h1>Interactive Comparison</h1>
<form enctype="multipart/form-data" action="" method="post">
<ul class="main-content">
<li class="grid_4">
<div>
{{ the_div|safe }}
</div>
</li>
<li class="grid_2">
{% csrf_token %}
<table>
{{ chartform.as_table }}
</table>
</li>
<li class="grid_2">
<table>
{{ form.as_table }}
</table>
<p>
<input name='workoutselectform' class="button" type="submit" value="Submit">
</p>
</li>
</ul>
</form>
{% endblock %}
{% block sidebar %}
{% if active == 'nav-racing' %}
{% include 'menu_racing.html' %}
{% else %}
{% include 'menu_workouts.html' %}
{% endif %}
{% endblock %}