2017-05-23 23:46:19 +02:00
|
|
|
<table class="talk-grid rooms-{{-rooms|length}}">
|
2017-05-06 03:24:17 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
{% for room in rooms %}
|
|
|
|
<th>{{room}}</th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for time in range (mintime, maxtime, timestep) %}
|
|
|
|
<tr>
|
2017-05-07 01:44:13 +02:00
|
|
|
<td>{{time//60}}:{{ "%02d" % (time % 60)}}</td>
|
2017-05-06 03:24:17 +02:00
|
|
|
{% for talk in times[time / timestep * timestep] %}
|
2017-05-23 23:44:15 +02:00
|
|
|
{% if not loop.first and talk.room == '*' %}
|
|
|
|
{# skip: covered by colspan #}
|
|
|
|
{% elif talk == None %}
|
2017-05-06 03:24:17 +02:00
|
|
|
<td></td>
|
2017-05-18 18:43:31 +02:00
|
|
|
{% elif not talk.skip %}
|
2017-06-09 12:11:47 +02:00
|
|
|
<td id="t-cell-{{talk.id}}" class="talk
|
2017-05-24 11:33:36 +02:00
|
|
|
{% if talk.room == '*' -%}allrooms{%-endif-%}
|
|
|
|
{% for t in talk.tags -%} tag-{{t|replace(' ', '_')}} {%endfor-%}
|
|
|
|
"
|
|
|
|
rowspan="{{talk.duration // timestep}}"
|
|
|
|
{% if talk.room == '*' %}colspan="{{rooms|length}}"{%endif%}>
|
2017-05-19 00:14:33 +02:00
|
|
|
<a href="#talk-{{talk.id}}"
|
|
|
|
title="{{talk.tags|join(",")}}"
|
|
|
|
>{{talk.title}}</a>
|
2017-05-06 03:24:17 +02:00
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{# vim: set ft=jinja: #}
|