Initial working proof of concept

This commit is contained in:
Simon Willison 2017-10-22 17:41:19 -07:00
commit de04d7a854
5 changed files with 74 additions and 0 deletions

20
templates/index.html Normal file
View file

@ -0,0 +1,20 @@
<style>
td {
white-space: pre;
vertical-align: top;
border-top: 1px solid #666;
padding: 2px 4px;
}
</style>
<table>
<tr>
{% for header in headers %}<th scope="col">{{ header }}</th>{% endfor %}
</tr>
{% for row in rows %}
<tr>
{% for td in row %}
<td>{{ td }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>