Revised JSON design a bit

Closes #63
This commit is contained in:
Simon Willison 2017-11-11 14:20:00 -08:00
commit e9e1def4c0
5 changed files with 22 additions and 12 deletions

View file

@ -18,8 +18,8 @@
<h1 style="padding-left: 10px; border-left: 10px solid #{{ database_hash[:6] }}">{{ table }}</h1>
{% if total_rows != None %}
<h2>{{ "{:,}".format(total_rows) }} total row{% if total_rows == 1 %}{% else %}s{% endif %} in this table</h2>
{% if table_rows != None %}
<h2>{{ "{:,}".format(table_rows) }} total row{% if table_rows == 1 %}{% else %}s{% endif %} in this table</h2>
{% endif %}
<table>