Private
Public Access
1
0

next steps in training plan/target

- delete cycles
- change user
This commit is contained in:
Sander Roosendaal
2018-09-10 15:10:43 +02:00
parent 2c4c0030b4
commit 357193c9c8
7 changed files with 219 additions and 52 deletions

View File

@@ -15,7 +15,23 @@
}
</style>
<div class="grid_12">
<div class="grid_12 alpha">
{% if user.is_authenticated and user|is_manager %}
<div class="grid_2 prefix_8 dropdown">
<button class="grid_2 alpha button green small dropbtn">
{{ rower.user.first_name }} {{ rower.user.last_name }}
</button>
<div class="dropdown-content">
{% for member in user|team_members %}
<a class="button green small" href="/rowers/createplan/{{ member.id }}">{{ member.first_name }} {{ member.last_name }}</a>
{% endfor %}
</div>
</div>
{% endif %}
</div>
<div class="grid_12 alpha">
<div id="targets_table" class="grid_8 alpha">
<h1>Training Targets</h1>
@@ -64,8 +80,8 @@
</div>
<div class="grid_12">
<div class="grid_12 alpha">
<div id="courses_table" class="grid_8 alpha">
<h1>Plans</h1>