2017-05-06 03:24:17 +02:00
|
|
|
<style>
|
|
|
|
.talk-grid {
|
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.talk-grid > thead th:first-child {
|
|
|
|
max-width: 5em;
|
|
|
|
}
|
|
|
|
td.talk {
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<table class="talk-grid">
|
|
|
|
<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] %}
|
|
|
|
{% if talk == None %}
|
|
|
|
<td></td>
|
|
|
|
{% elif talk != 'skip' %}
|
|
|
|
<td class="talk" rowspan="{{talk.duration // timestep}}">
|
|
|
|
<a href="#talk-{{talk.id}}"> {{talk.title}}</a>
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{# vim: set ft=jinja: #}
|