{% extends "base.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>




{% endblock %}
