Private
Public Access
1
0

team delete - line 349 urls.py

This commit is contained in:
Sander Roosendaal
2018-10-10 21:12:57 +02:00
parent 58cdc1edc2
commit 77d72ea60d
6 changed files with 278 additions and 196 deletions

View File

@@ -1,35 +1,32 @@
{% extends "base.html" %}
{% extends "newbase.html" %}
{% block title %}Team {% endblock %}
{% block content %}
<div class="grid_12 alpha">
{% include "teambuttons.html" with teamid=team.id team=team %}
</div>
<div class="grid_12 alpha">
<h1>{{ team.name }} Stats</h1>
<p>
Links to the cumulative statistics pages for your team's members
</p>
<table width="90%" class="listtable shortpadded">
<tbody>
{% for u in theusers %}
<tr>
<td>{{ u.first_name }} {{ u.last_name }}</td>
<td><a href="/rowers/{{ u.id }}/ote-bests">Ranking Pieces</a></td>
<td><a href="/rowers/flexall/u/{{ u.id }}">Stroke Analysis</a></td>
<td><a href="/rowers/histo/u/{{ u.id }}">Power Histogram</a></td>
<td><a href="/rowers/cumstats/u/{{ u.id }}">Stats</a></td>
<td><a href="/rowers/user-boxplot-select/user/{{ u.id }}/">Box Chart</a></td>
<td><a href="/rowers/{{ u.id }}/otw-bests">OTW Ranking Pieces</a></td>
<td><a href="/rowers/user-multiflex-select/user/{{ u.id }}/">Trend Flex</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% block main %}
<h1>{{ team.name }} Stats</h1>
<p>
Links to the cumulative statistics pages for your team's members
</p>
<table width="90%" class="listtable shortpadded">
<tbody>
{% for u in theusers %}
<tr>
<td>{{ u.first_name }} {{ u.last_name }}</td>
<td><a href="/rowers/{{ u.id }}/ote-bests">Ranking Pieces</a></td>
<td><a href="/rowers/flexall/u/{{ u.id }}">Stroke Analysis</a></td>
<td><a href="/rowers/histo/u/{{ u.id }}">Power Histogram</a></td>
<td><a href="/rowers/cumstats/u/{{ u.id }}">Stats</a></td>
<td><a href="/rowers/user-boxplot-select/user/{{ u.id }}/">Box Chart</a></td>
<td><a href="/rowers/{{ u.id }}/otw-bests">OTW Ranking Pieces</a></td>
<td><a href="/rowers/user-multiflex-select/user/{{ u.id }}/">Trend Flex</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block sidebar %}
{% include 'menu_teams.html' %}
{% endblock %}