better time switching
This commit is contained in:
@@ -29,22 +29,22 @@
|
||||
</label>
|
||||
<ul>
|
||||
<li id="sessions-list">
|
||||
<a href="/rowers/sessions/">
|
||||
<a href="/rowers/sessions/?when={{ timeperiod }}">
|
||||
<i class="far fa-calendar-alt fa-fw"></i> Sessions
|
||||
</a>
|
||||
</li>
|
||||
<li id="sessions-link">
|
||||
<a href="/rowers/sessions/manage/">
|
||||
<a href="/rowers/sessions/manage/?when={{ timeperiod }}">
|
||||
<i class="fas fa-tasks fa-fw"></i> Link Workouts
|
||||
</a>
|
||||
</li>
|
||||
<li id="sessions-coach">
|
||||
<a href="/rowers/sessions/coach/">
|
||||
<a href="/rowers/sessions/coach/?when={{ timeperiod }}">
|
||||
<i class="fas fa-bullhorn fa-fw"></i> Coach View
|
||||
</a>
|
||||
</li>
|
||||
<li id="sessions-print">
|
||||
<a href="/rowers/sessions/print/">
|
||||
<a href="/rowers/sessions/print/?when={{ timeperiod }}">
|
||||
<i class="fas fa-print fa-fw"></i> Print View
|
||||
</a>
|
||||
</li>
|
||||
@@ -57,17 +57,17 @@
|
||||
</label>
|
||||
<ul>
|
||||
<li id="plan-session">
|
||||
<a href="/rowers/sessions/create/">
|
||||
<a href="/rowers/sessions/create/?when={{ timeperiod }}">
|
||||
<i class="far fa-calendar-plus fa-fw"></i> Add Session
|
||||
</a>
|
||||
</li>
|
||||
<li id="plan-teamsession">
|
||||
<a href="/rowers/sessions/teamcreate/">
|
||||
<a href="/rowers/sessions/teamcreate/?when={{ timeperiod }}">
|
||||
<i class="fas fa-whistle fa-fw"></i> Add Team Session
|
||||
</a>
|
||||
</li>
|
||||
<li id="plan-microcycle">
|
||||
<a href="/rowers/sessions/multicreate/">
|
||||
<a href="/rowers/sessions/multicreate/?when={{ timeperiod }}">
|
||||
<i class="fas fa-expand fa-fw"></i>Plan Microcycle
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
{% block main %}
|
||||
<h1>Create Sessions for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||
|
||||
<p>{{ timeperiod }}</p>
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_2">
|
||||
<h1>Plan</h1>
|
||||
@@ -59,7 +61,8 @@
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
<h1>New Session</h1>
|
||||
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
||||
<form enctype="multipart/form-data" action=""
|
||||
method="post">
|
||||
{% if form.errors %}
|
||||
<p style="color: red;">
|
||||
Please correct the error{{ form.errors|pluralize }} below.
|
||||
|
||||
@@ -114,7 +114,7 @@ by your coach if you are part of a team. You can create your own
|
||||
planned workouts by purchasing the "Coach" or "Self-Coach" plans.
|
||||
{% endif %}
|
||||
<p>
|
||||
<a class="grid_2 button gray"
|
||||
<a
|
||||
href="/rowers/sessions/print/user/{{ rower.user.id }}/?when={{ timeperiod }}">
|
||||
Print View</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user