multicompare view line 330 urls.py
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
|
||||
hidden.hide();
|
||||
|
||||
|
||||
if (modality.val() == 'water') {
|
||||
hidden.show();
|
||||
}
|
||||
|
||||
// Setup an event listener for when the state of the
|
||||
// checkbox changes.
|
||||
@@ -68,12 +70,25 @@
|
||||
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_4">
|
||||
<p>Select two or more workouts on the left, set your plot settings,
|
||||
and press submit</p>
|
||||
<p>
|
||||
You can use the date and search forms to search through all
|
||||
workouts from this team.
|
||||
</p>
|
||||
<p>
|
||||
TIP: Agree with your team members to put tags (e.g. '8x500m')
|
||||
in the notes section of
|
||||
your workouts. That makes it easy to search.
|
||||
</p>
|
||||
</li>
|
||||
<li class="grid_2 maxheight">
|
||||
{% if workouts %}
|
||||
<form enctype="multipart/form-data" action="/rowers/multi-compare" method="post">
|
||||
{% if workouts %}
|
||||
|
||||
<input type="checkbox" onClick="toggle(this)" /> Toggle All<br/>
|
||||
|
||||
|
||||
<table width="100%" class="listtable">
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
@@ -83,54 +98,42 @@
|
||||
{% endif %}
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
<p>
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ chartform.as_table }}
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<input name="chartform" class="button green" type="submit" value="Submit">
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
{% if team %}
|
||||
<form enctype="multipart/form-data"
|
||||
action="/rowers/team-compare-select/team/{{ team.id }}"
|
||||
method="post">
|
||||
{% else %}
|
||||
<form enctype="multipart/form-data"
|
||||
action="/rowers/team-compare-select/"
|
||||
method="post">
|
||||
{% endif %}
|
||||
<table>
|
||||
{{ dateform.as_table }}
|
||||
</table>
|
||||
<table>
|
||||
{{ modalityform.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
{{ chartform.as_table }}
|
||||
</table>
|
||||
</p>
|
||||
<p>
|
||||
<input name='workoutselectform' class="button green" type="submit" value="Submit">
|
||||
<input name='modalityform' class="button green" type="submit" value="Submit">
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
{% if team %}
|
||||
<form enctype="multipart/form-data" action="/rowers/team-compare-select/team/{{ team.id }}/" method="post">
|
||||
{% else %}
|
||||
<form enctype="multipart/form-data" action="/rowers/team-compare-select/" method="post">
|
||||
{% endif %}
|
||||
<table>
|
||||
{{ dateform.as_table }}
|
||||
</table>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
{% csrf_token %}
|
||||
<input name='daterange' class="button green" type="submit" value="Submit">
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
{% if team %}
|
||||
<form enctype="multipart/form-data" action="/rowers/team-compare-select/team/{{ team.id }}/" method="post">
|
||||
{% else %}
|
||||
<form enctype="multipart/form-data" action="/rowers/team-compare-select/" method="post">
|
||||
{% endif %}
|
||||
<table>
|
||||
{{ modalityform.as_table }}
|
||||
</table>
|
||||
</li>
|
||||
<li>
|
||||
{% csrf_token %}
|
||||
<p>
|
||||
<input name='modalityform' class="button green" type="submit" value="Submit">
|
||||
</p>
|
||||
</form>
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
{% if team %}
|
||||
<form id="searchform" action="/rowers/team-compare-select/team/{{ team.id }}/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}"
|
||||
<form id="searchform" action=""
|
||||
method="get" accept-charset="utf-8">
|
||||
{% else %}
|
||||
<form id="searchform" action="/rowers/team-compare-select/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}"
|
||||
@@ -142,19 +145,6 @@
|
||||
</button>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
<p>Select two or more workouts on the left, set your plot settings below,
|
||||
and press submit</p>
|
||||
<p>
|
||||
You can use the date and search forms above to search through all
|
||||
workouts from this team.
|
||||
</p>
|
||||
<p>
|
||||
TIP: Agree with your team members to put tags (e.g. '8x500m')
|
||||
in the notes section of
|
||||
your workouts. That makes it easy to search.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user