-
Piers Williams authoredPiers Williams authored
index.html 902 B
{% extends "_base.html" %}
{% block content %}
{% for (key, data) in assignments.items() %}
<h2>{{key}}</h2>
<table class="table table-striped">
<thead>
<tr>
<th>Session</th>
<th>Topic</th>
<th>Downloads</th>
</tr>
</thead>
<tbody>
{% for session in data %}
<tr>
<th>{{ session.name }}</td>
<td>{{ session.topic }}</td>
<td>
<ul class="list-inline">
{% for (title, link) in session.links.items() %}
<li class="list-inline-item">
{% if link == "GEN" %}
{% for (pretty_name, name) in slide_types.items() %}
<a href="{{slides_prefix}}{{title}}.{{name}}.pdf">{{title}}-{{pretty_name}}</a>
{% endfor %}
{% else %}
<a href="{{link}}">{{title}}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endblock %}