55 lines
1.2 KiB
HTML
55 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% load staticfiles %}
|
|
|
|
{% block title %}Planned Sessions{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="grid_12 alpha">
|
|
{% include "planningbuttons.html" %}
|
|
|
|
</div>
|
|
<div id="left" class="grid_6 alpha">
|
|
<p>Placeholder text</p>
|
|
</div>
|
|
<div id="right" class="grid_6 omega">
|
|
<h1>Plan</h1>
|
|
<p>
|
|
Click on session name to view
|
|
</p>
|
|
<table class="listtable shortpadded">
|
|
<thead>
|
|
<tr>
|
|
<th>After</th>
|
|
<th>Before</th>
|
|
<th>Name</th>
|
|
<th>Value</th>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for ps in plannedsessions %}
|
|
<tr>
|
|
<td> {{ ps.startdate|date:"Y-m-d" }} </td>
|
|
<td> {{ ps.enddate|date:"Y-m-d" }} </td>
|
|
<td>
|
|
{% if ps.name != '' %}
|
|
<a class="small"
|
|
href="/rowers/sessions/{{ ps.id }}">{{ ps.name }}</a>
|
|
{% else %}
|
|
<a class="small"
|
|
href="/rowers/sessions/{{ ps.id }}">Unnamed Session</a>
|
|
{% endif %}
|
|
</td>
|
|
<td> {{ ps.sessionvalue }} </td>
|
|
<td> {{ ps.sessionunit }} </td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
{% endblock %}
|