it now at least does a basic view page successfully, with name, size, hash
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<h3 class="offset-lg-2">{{page_title}} -- {{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</th><th>Hash</th></tr></thead><tbody>
|
||||
<thead><tr class="thead-light"><th>Name</th><th>Size (MB)</th><th>Hash</th></tr></thead><tbody>
|
||||
{% for obj in file_list %}
|
||||
<tr><td>
|
||||
{% if obj.type=="Directory" %}
|
||||
@@ -15,7 +15,8 @@
|
||||
{% else %}
|
||||
<i class="fas fa-question-circle"></i>
|
||||
{% endif %}
|
||||
{{obj.name}}</td></td><td>{{obj.size}}</td><td>{{obj.hash}}</tr>
|
||||
{{obj.name}}
|
||||
</td></td><td>{{obj.size_MB}}</td><td>{{obj.hash}}</tr>
|
||||
{% endfor %}
|
||||
</tbody></table>
|
||||
</div class="row">
|
||||
|
||||
Reference in New Issue
Block a user