Added filter for large files in stats

This commit is contained in:
Simon
2018-06-28 10:40:54 -04:00
parent 2638e47360
commit 4c9d79fdbf
4 changed files with 59 additions and 53 deletions

View File

@@ -25,7 +25,7 @@
<tr>
<td><a href="/get_export">out.csv.xz</a></td>
<td>{{ export_file_stats.st_size |filesizeformat }}</td>
<td>{{ export_file_stats.st_mtime|datetime_format }}</td>
<td>{{ export_file_stats.st_mtime|datetime_format }} UTC</td>
</tr>
{% endif %}
</tbody>

View File

@@ -10,7 +10,7 @@
{% if stats and stats["total_size"] %}
<p class="lead">{{ stats["total_count"] }} files totalling
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} website(s)</p>
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} websites</p>
{% endif %}
{% if current_websites %}
<p>Currently indexing <code>{{ current_websites }}</code><span class="vim-caret">&nbsp;</span> </p>