mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 04:34:17 +00:00
update file tree view
This commit is contained in:
parent
0b77a5d171
commit
5c4e949269
@ -2,16 +2,18 @@
|
|||||||
{% import _self as self %}
|
{% import _self as self %}
|
||||||
{% for key, value in tree %}
|
{% for key, value in tree %}
|
||||||
{% if value is iterable %}
|
{% if value is iterable %}
|
||||||
<div class="padding-l-8-px cursor-default">
|
<div class="padding-x-4-px margin-b-4-px cursor-default line-height-20-px word-break">
|
||||||
<div class="padding-y-4-px">
|
{{ key }}
|
||||||
{{ key }}
|
</div>
|
||||||
</div>
|
<div class="padding-l-8-px">
|
||||||
{{ self.recursive_file_tree(value) }}
|
{{ self.recursive_file_tree(value) }}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default word-break">
|
<div class="row padding-x-4-px margin-b-4-px cursor-default background-color-hover-night-light word-break">
|
||||||
{{ key }}
|
<div class="column width-80 line-height-20-px">
|
||||||
<div class="float-right padding-x-8-px">
|
{{ key }}
|
||||||
|
</div>
|
||||||
|
<div class="column width-20 line-height-20-px text-right">
|
||||||
{{ value | format_bytes }}
|
{{ value | format_bytes }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user