adding Pro reqiurement
This commit is contained in:
55
rowers/templates/rojabo_list_import.html
Normal file
55
rowers/templates/rojabo_list_import.html
Normal file
@@ -0,0 +1,55 @@
|
||||
{% extends "newbase.html" %}
|
||||
{% load static %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}sessions{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<h1>Available on Rojabo</h1>
|
||||
{% if sessions %}
|
||||
<ul class="main-content">
|
||||
<li class="grid_4">
|
||||
<form enctype="multipart/form-data" method="post">
|
||||
{% csrf_token %}
|
||||
<input name='sessions' type="submit" value="Import selected sessions">
|
||||
<a href="/rowers/session/rojaboimport/?selectallnew=true">Select All New</a>
|
||||
<table width="70%" class="listtable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> Import </th>
|
||||
<th> Session</th>
|
||||
<th> SPM</th>
|
||||
<th> Planned Date </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for session in sessions %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if session|lookuplong:'new' == 'NEW' and checknew == 'true' %}
|
||||
<input checked type="checkbox" value={{ session|lookuplong:'id' }} name="sessionid">
|
||||
{% else %}
|
||||
<input type="checkbox" value={{ session|lookuplong:'id' }} name="sessionid">
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ session|lookuplong:'name' }}</td>
|
||||
<td>{{ session|lookuplong:'spm' }}</td>
|
||||
<td>{{ session|lookuplong:'date' }} </td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>
|
||||
No sessions found
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_plan.html' %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user