Implemented cursor-based pagination for table view

Closes #5
This commit is contained in:
Simon Willison 2017-11-10 12:41:14 -08:00
commit 21c9c04310
4 changed files with 72 additions and 18 deletions

View file

@ -34,5 +34,8 @@ td {
</tr>
{% endfor %}
</table>
{% if after_link %}
<p><a href="{{ after_link }}">Next page</a></p>
{% endif %}
{% if took_ms %}<small>Took {{ took_ms }}</small>{% endif %}
{% endblock %}