lots of ui changes
This commit is contained in:
@@ -9,13 +9,14 @@
|
||||
<h1>Planned Sessions for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||
|
||||
<p>
|
||||
<a href="/rowers/sessions/create/?when={{ timeperiod }}"> <i class="far fa-calendar-plus fa-fw"></i> Add Session
|
||||
<a href="/rowers/sessions/create/?when={{ timeperiod }}"> <i class="fas fa-calendar-plus fa-fw"></i> Add Session
|
||||
</a>
|
||||
{% if request.user|user_teams %}
|
||||
<a href="/rowers/sessions/teamcreate/?when={{ timeperiod }}">
|
||||
<i class="fas fa-whistle fa-fw"></i> Add Group Session
|
||||
</a>
|
||||
{% endif %}
|
||||
<a href="/rowers/sessions/library/"><i class="fas fa-books fa-fw"></i> Add Session from Library</a>
|
||||
</p>
|
||||
|
||||
<ul class="main-content">
|
||||
@@ -40,8 +41,7 @@
|
||||
<li class="grid_4">
|
||||
{% if plannedsessions %}
|
||||
<p>
|
||||
Click on session name to view, edit to change the session and on the
|
||||
traffic light symbol to add workouts to the session
|
||||
Click on the session name to view, on the circle to attach workouts to the session.
|
||||
</p>
|
||||
<table width="90%" class="listtable shortpadded">
|
||||
<thead>
|
||||
@@ -53,6 +53,8 @@
|
||||
<th align="left">Type</th>
|
||||
<th align="left">Mode</th>
|
||||
<th align="left">Edit</th>
|
||||
<th align="left">Clone</th>
|
||||
<th align="left">Delete</th>
|
||||
<th align="left">Planned</th>
|
||||
<th align="left">Actual</th>
|
||||
<th align="left"> </th>
|
||||
@@ -106,6 +108,22 @@
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if ps.manager == request.user %}
|
||||
<a class="small"
|
||||
href="/rowers/sessions/{{ ps.id }}/clone/user/{{ rower.user.id }}/?when={{ timeperiod }}"><i class="fas fa-clone fa-fw"></i></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if ps.manager == request.user %}
|
||||
<a class="small"
|
||||
href="/rowers/sessions/{{ ps.id }}/deleteconfirm"><i class="fas fa-trash-alt fa-fw"></i></a>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</td>
|
||||
<td> {{ ps.sessionvalue }} </td>
|
||||
<td> {{ actualvalue|lookup:ps.id }}</td>
|
||||
|
||||
Reference in New Issue
Block a user