mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Show size of database file next to download link, closes #172
This commit is contained in:
parent
195a5b3634
commit
4462a5ab28
7 changed files with 37 additions and 1 deletions
|
|
@ -57,7 +57,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if config.allow_download %}
|
||||
<p>Download SQLite DB: <a href="/{{ database }}-{{ database_hash }}.db">{{ database }}.db</a></p>
|
||||
<p class="download-sqlite">Download SQLite DB: <a href="/{{ database }}-{{ database_hash }}.db">{{ database }}.db</a> <em>{{ format_bytes(size) }}</em></p>
|
||||
{% endif %}
|
||||
|
||||
{% include "_codemirror_foot.html" %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue