standards_view and standard_view
This commit is contained in:
84
rowers/templates/list_standards.html
Normal file
84
rowers/templates/list_standards.html
Normal file
@@ -0,0 +1,84 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Rowsandall Course Standards List{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<style>
|
||||
#mypointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<h1>Standards Collections</h1>
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_3">
|
||||
{% if standards %}
|
||||
<p>
|
||||
<table width="100%" class="listtable shortpadded">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> Name</th>
|
||||
<th> Maintainer</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for standard in standards %}
|
||||
<tr>
|
||||
<td>{{ standard.name }} </td>
|
||||
<td>{{ standard.manager.first_name }} {{ standard.manager.last_name }}</td>
|
||||
<td>
|
||||
{% if standard.manager == user %}
|
||||
<a href="/rowers/standards/{{ standard.id }}/">{{ standard.name }}</a>
|
||||
{% else %}
|
||||
<a href="/rowers/standards/{{ standard.id }}/">{{ standard.name }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
{% else %}
|
||||
<p> No standards found </p>
|
||||
{% endif %}
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<form id="searchform" action="/rowers/list-standards/"
|
||||
method="get" accept-charset="utf-8">
|
||||
{{ searchform }}
|
||||
<input type="submit" value="GO"></input>
|
||||
</form>
|
||||
</p>
|
||||
<p>
|
||||
<a href="/rowers/standards/upload/">Add Standards</a>
|
||||
</p>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="grid_4">
|
||||
<h2>How-to</h2>
|
||||
<p>
|
||||
A set of Course Standard Times allows you to calculate a score for
|
||||
each participant on how well they have done against the course
|
||||
standard time for their category. This allows for comparison
|
||||
and competition between the different categories.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_racing.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user