first version analyses collection
This commit is contained in:
55
rowers/templates/instroke_analysis.html
Normal file
55
rowers/templates/instroke_analysis.html
Normal file
@@ -0,0 +1,55 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load static %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Rowsandall - Analysis {% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
<h1>In-Stroke Analysis for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||
|
||||
|
||||
<ul class="main-content">
|
||||
{% if analyses %}
|
||||
{% for analysis in analyses %}
|
||||
<li class="rounder" id="analysis_{{ analysis.id }}">
|
||||
<h2>{{ analysis.name }}</h2>
|
||||
<a class="small" href="/rowers/analyses/{{ analysis.id }}/delete/"
|
||||
title="Delete">
|
||||
<i class="fas fa-trash-alt fa-fw"></i>
|
||||
</a>
|
||||
<hr>
|
||||
<p>
|
||||
{{ analysis.notes }}
|
||||
</p>
|
||||
<p>
|
||||
Workout: {{ analysis.workout }}
|
||||
</p>
|
||||
<p>
|
||||
{{ analysis.spm_min }} - {{ analysis.spm_max }} SPM,
|
||||
{{ analysis.start_second|secondstotimestring }} - {{ analysis.end_second|secondstotimestring }}
|
||||
<p>
|
||||
<p id="date">
|
||||
<span id="date">
|
||||
{{ analysis.date }}
|
||||
</span>
|
||||
</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<li class="grid_4">
|
||||
<p>You have not saved any analyses for {{ rower.user.first_name }}</p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_analytics.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user