harness for showing file details in view photos
This commit is contained in:
@@ -3,9 +3,19 @@
|
|||||||
<h3 class="offset-lg-2">{{page_title}} -- {{view_path}}</h3>
|
<h3 class="offset-lg-2">{{page_title}} -- {{view_path}}</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<table class="table table table-sm col-xl-12">
|
<table class="table table table-sm col-xl-12">
|
||||||
<thead><tr class="thead-light"><th>Name</th></tr></thead><tbody>
|
<thead><tr class="thead-light"><th>Name</th><th>Size</th><th>Hash</th></tr></thead><tbody>
|
||||||
{% for obj in objects %}
|
{% for item in image_list %}
|
||||||
<tr><td>{{obj.name}}</td></td></tr>
|
<tr><td>
|
||||||
|
{% if obj.type=="Directory" %}
|
||||||
|
<i class="fas fa-folder"></i>
|
||||||
|
{% elif obj.type=="Image" %}
|
||||||
|
<i class="fas fa-file-image"></i>
|
||||||
|
{% elif obj.type=="Video" %}
|
||||||
|
<i class="fas fa-file-video"></i>
|
||||||
|
{% else %}
|
||||||
|
<i class="fas fa-question-circle"></i>
|
||||||
|
{% endif %}
|
||||||
|
{{obj.name}}</td></td><td>{{obj.size}}</td><td>{{obj.hash}}</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
</div class="row">
|
</div class="row">
|
||||||
|
|||||||
Reference in New Issue
Block a user