diff --git a/rowers/templates/workout_join_select.html b/rowers/templates/workout_join_select.html index ece4ea83..50a0d5bb 100644 --- a/rowers/templates/workout_join_select.html +++ b/rowers/templates/workout_join_select.html @@ -1,10 +1,10 @@ -{% extends "base.html" %} +{% extends "newbase.html" %} {% load staticfiles %} {% load rowerfilters %} {% block title %}Workouts{% endblock %} -{% block content %} +{% block main %} -
- {% include "teambuttons.html" with teamid=team.id team=team %} -
-
-

{{ team.name }} Team Workouts

-
-
-
- {% if team %} -
- {% else %} - - {% endif %} -
- - {{ dateform.as_table }} -
- {% csrf_token %} -
-
- -
-
- {% if team %} -
- {% else %} - - {% endif %} -
- - {{ modalityform.as_table }} -
- {% csrf_token %} -
-
- -
-
-
-
- {% if team %} -
- {% else %} - -{% endif %} -
- -
-
- -
-
-
+

{{ team.name }} Join Workouts

-
- - -
-
- - - {% if workouts %} +
    +
  • + + {% if workouts %} - Toggle All
    + Toggle All
    - - {{ form.as_table }} -
    + + {{ form.as_table }} +
    -{% else %} -

    No workouts found

    -{% endif %} -
-
-

Warning: You are on an experimental part of the site. Use at your own risk.

+ {% else %} +

No workouts found

+ {% endif %} + +
  • Select two or more workouts on the left, and press submit

    {{ joinparamform.as_table }}
    -

    - {% csrf_token %} + {% csrf_token %} +

    + +
  • +
  • + {% if team %} +
    + {% else %} + + {% endif %} + + {{ dateform.as_table }} +
    +

    + {% csrf_token %} +

    -
  • -
    -

    You can use the date and search forms above to search through all - workouts from this team.

    -
    - - + + +
  • + {% if team %} +
    + {% else %} + + {% endif %} + + {{ modalityform.as_table }} +
    +

    + {% csrf_token %} + +

    +
    +
  • +
  • + {% if team %} +
    + {% else %} + + {% endif %} + + +
    +
  • + {% endblock %} + + +{% block sidebar %} +{% include 'menu_workouts.html' %} +{% endblock %} diff --git a/rowers/views.py b/rowers/views.py index b9891aa6..97bb0b4c 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -5092,6 +5092,7 @@ def workouts_join_select(request, 'dateform':dateform, 'startdate':startdate, 'enddate':enddate, + 'active':'nav-workouts', 'team':theteam, 'form':form, 'joinparamform':joinparamform,