Private
Public Access
1
0

added access to video analysis from analytics

This commit is contained in:
Sander Roosendaal
2019-11-09 16:38:28 +01:00
parent b25a8aeb23
commit 1bc3638a96
8 changed files with 550 additions and 81 deletions

View File

@@ -12,14 +12,15 @@
<h1>Recent Graphs</h1>
<ul class="main-content">
{% if graphs %}
<li class="grid_2">
<li class="grid_2">
<form id="searchform" action="."
method="get" accept-charset="utf-8">
{{ searchform }}
<input type="submit" value="GO"></input>
</form>
</li>
{% if graphs %}
<li class="grid_2">
<p>
<span>
@@ -28,7 +29,7 @@
<a href="?page=1&q={{ request.GET.q }}">
<i class="fas fa-arrow-alt-to-left"></i>
</a>
<a href="?page={{ workouts.previous_page_number }}&q={{ request.GET.q }}">
<a href="?page={{ graphs.previous_page_number }}&q={{ request.GET.q }}">
<i class="fas fa-arrow-alt-left"></i>
</a>
{% else %}
@@ -40,11 +41,11 @@
</a>
{% endif %}
{% endif %}
<span>
Page {{ graphs.number }} of {{ graphs.paginator.num_pages }}.
</span>
{% if graphs.has_next %}
{% if request.GET.q %}
<a href="?page={{ graphs.next_page_number }}&q={{ request.GET.q }}">
@@ -69,7 +70,7 @@
<li>
<p class="caption">
<a href="/rowers/graph/{{ graph.id }}/">
<img src="/{{ graph.filename }}"
<img src="/{{ graph.filename }}"
onerror="this.src='/static/img/rowingtimer.gif'"
alt="{{ graph.filename }}" width="120" height="100">
</a>
@@ -90,4 +91,4 @@
{% block sidebar %}
{% include 'menu_workouts.html' %}
{% endblock %}
{% endblock %}