Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-06-02 17:52:46 +02:00
parent 2fcd9902bb
commit b6c0b03c39
2 changed files with 51 additions and 15 deletions

View File

@@ -3,11 +3,9 @@
{% load rowerfilters %}
{% load tz %}
{% block scripts %}
{% include "monitorjobs.html" %}
{% endblock %}
{% block title %}Comment Session {% endblock %}
{% block title %}Follow Virtual Challenge{% endblock %}
{% block main %}
@@ -15,17 +13,6 @@
<ul class="main-content">
<li class="grid_2">
{% for c in comments %}
<p>
{{ c.created }}
<b>{{ c.user.first_name }} {{ c.user.last_name }}</b>
<div class="talk-bubble tri-right left-top">
<div class="talktext">
{{ c.comment }}
</div>
</div>
</p>
{% endfor %}
<form enctype="multipart/form-data" method="post">
<table width=100%>
{{ form.as_table }}

View File

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