|
|
|
@ -2,16 +2,18 @@
@@ -2,16 +2,18 @@
|
|
|
|
|
{% import _self as self %} |
|
|
|
|
{% for key, value in tree %} |
|
|
|
|
{% if value is iterable %} |
|
|
|
|
<div class="padding-l-8-px cursor-default"> |
|
|
|
|
<div class="padding-y-4-px"> |
|
|
|
|
{{ key }} |
|
|
|
|
</div> |
|
|
|
|
<div class="padding-x-4-px margin-b-4-px cursor-default line-height-20-px word-break"> |
|
|
|
|
{{ key }} |
|
|
|
|
</div> |
|
|
|
|
<div class="padding-l-8-px"> |
|
|
|
|
{{ self.recursive_file_tree(value) }} |
|
|
|
|
</div> |
|
|
|
|
{% else %} |
|
|
|
|
<div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default word-break"> |
|
|
|
|
{{ key }} |
|
|
|
|
<div class="float-right padding-x-8-px"> |
|
|
|
|
<div class="row padding-x-4-px margin-b-4-px cursor-default background-color-hover-night-light word-break"> |
|
|
|
|
<div class="column width-80 line-height-20-px"> |
|
|
|
|
{{ key }} |
|
|
|
|
</div> |
|
|
|
|
<div class="column width-20 line-height-20-px text-right"> |
|
|
|
|
{{ value | format_bytes }} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|