grid.html 371 Bytes
Newer Older
fred's avatar
fred committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}

{% block content %}

<h2>Grille</h2>

<table border=1>
{% for time_cells in grid %}
<tr>
  <td>ti:me</td>
  {% for cell in time_cells %}
  <td {% if cell.w > 1 %}colspan="{{cell.w}}"{% endif %}
      {% if cell.h > 1 %}rowspan="{{cell.h}}"{% endif %}>{{ cell }}</td>
  {% endfor %}
  <td>ti:me</td>
</tr>
{% endfor %}
</table>


{% endblock %}