khguide/templates/components/ddd/board.html

16 lines
335 B
HTML

<h2>Board</h2>
<table class="board">
<tbody>
<tr>
<td class="slot-w slot-h"></td>
{% for x in 1..board.get_size().0 + 1 %}
<td class="slot-w">{{ board.get_char(x) }}</td>
{% endfor %}
</tr>
{% for y in 1..board.get_size().1 + 1 %}
{% include "components/ddd/board-row.html" %}
{% endfor %}
</tbody>
</table>