Private
Public Access
1
0

all the plumbing to let people select, drop, offer, coaching

This commit is contained in:
Sander Roosendaal
2019-02-17 10:36:59 +01:00
parent 5f8fd9315a
commit c4523ea03e
11 changed files with 193 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
{% block main %}
<ul class="main-content">
{% if teams %}
<li >
<li class="grid_2">
<h2>My Groups</h2>
<table width="100%" class="listtable">
<thead>
@@ -31,7 +31,7 @@
{% endif %}
{% if otherteams %}
<li >
<li class="grid_2">
<h2>Open Groups</h2>
<table width="100%" class="listtable">
<thead>
@@ -56,7 +56,7 @@
</li>
{% endif %}
<li >
<li class="grid_2">
<h2>Groups I manage</h2>
{% if myteams %}
<table width="100%" class="listtable">
@@ -83,7 +83,7 @@
<a class="button green" href="/rowers/team/create/">New Training Group</a>
</li>
{% if coaches %}
<li>
<li class="grid_2">
<h2>My Coaches</h2>
<table width="100%" class="listtable">
<thead>
@@ -99,7 +99,7 @@
</td>
<td>
<a class="button small red"
href="/rowers/coaches/{{ coach.id }}/dropconfirm/">Remove
href="/rowers/coaches/{{ coach.id }}/dropcoachconfirm/">Remove
</a>
</td>
</tr>
@@ -109,7 +109,7 @@
</li>
{% endif %}
{% if coachees %}
<li>
<li class="grid_2">
<h2>My Rowers</h2>
<table width="100%" class="listtable">
<thead>
@@ -125,7 +125,7 @@
</td>
<td>
<a class="button small red"
href="/rowers/coaches/{{ coach.id }}/dropconfirm/">Remove
href="/rowers/coaches/{{ coachee.id }}/dropconfirm/">Remove
</a>
</td>
</tr>
@@ -297,7 +297,7 @@
{% endif %}
</li>
{% if potentialathletes %}
<li>
<li class="grid_2">
<h2>Rowers you could coach</h2>
<table width="90%" class="listtable">
<thead>
@@ -322,7 +322,7 @@
</li>
{% endif %}
{% if potentialcoaches %}
<li>
<li class="grid_2">
<h2>Coaches who could coach you</h2>
<table width="90%" class="listtable">
<thead>