made file_list.html better as well

This commit is contained in:
2021-01-12 17:35:42 +11:00
parent 594a4803cd
commit 86c7fbd0be

View File

@@ -2,8 +2,8 @@
<div class="container">
<h3 class="offset-lg-2">{{page_title}} -- {{file_data.view_path}}</h3>
<div class="row">
<table class="table table table-sm col-xl-12">
<thead><tr class="thead-light"><th>Name</th><th>Size (MB)</th><th>Hash</th></tr></thead><tbody>
<table class="table table-striped table-sm col-xl-12">
<thead><tr class="thead-light"><th>Name</th><th>Size (MB)</th><th>Path Prefix</th><th>Hash</th></tr></thead><tbody>
{% for obj in file_data.view_list %}
<tr><td>
{% if obj.type == "Directory" %}
@@ -32,7 +32,7 @@
<figcaption class="figure-caption">{{obj.name}}</figcaption>
</figure>
{% endif %}
</td></td><td>{{obj.size_mb}}</td><td>{{obj.hash}}</tr>
</td></td><td>{{obj.size_mb}}</td><td>{{obj.path_prefix}}</td><td>{{obj.hash}}</tr>
{% endfor %}
</tbody></table>
</div class="row">