mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
a30c5b220c
commit
4b7596ee5c
4 changed files with 98 additions and 108 deletions
16
datasette/templates/_rows_and_columns.html
Normal file
16
datasette/templates/_rows_and_columns.html
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in display_columns %}<th scope="col">{{ column }}</th>{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in display_rows %}
|
||||
<tr>
|
||||
{% for cell in row %}
|
||||
<td>{{ cell.value }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue