mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-13 15:10:06 -06:00
fix: hierarchy view
This commit is contained in:
@@ -94,9 +94,6 @@
|
||||
<h4 class="modal-title" id="myModalLabel">
|
||||
@lang('common.files')
|
||||
<span
|
||||
data-toggle="tooltip"
|
||||
data-placement="left"
|
||||
title="{{ $torrent->size }} B"
|
||||
class="pull-right"
|
||||
style="display: inline-block; margin-right: 24px"
|
||||
>
|
||||
@@ -127,7 +124,7 @@
|
||||
@for ($depth = \count($prevNodes); $depth > $loop->index; $depth--)
|
||||
</details>
|
||||
@endfor
|
||||
|
||||
|
||||
@for ($depth = $loop->index; $depth < $loop->count; $depth++)
|
||||
<details style="@if ($depth != 0) margin-left: 20px; @endif">
|
||||
<summary style="padding: 8px; @if ($depth != $loop->count - 1) cursor: pointer; @endif">
|
||||
@@ -141,10 +138,7 @@
|
||||
{{ $nodes[$depth] }}
|
||||
</span>
|
||||
<span
|
||||
data-toggle="tooltip"
|
||||
data-placement="left"
|
||||
style="grid-area: size; white-space: nowrap; text-align: right;"
|
||||
title="{{ $file->size }} B"
|
||||
>
|
||||
{{ $file->getSize() }}
|
||||
</span>
|
||||
@@ -169,10 +163,7 @@
|
||||
</span>
|
||||
<span
|
||||
class="text-info"
|
||||
data-toggle="tooltip"
|
||||
data-placement="left"
|
||||
style="grid-area: size; white-space: nowrap; text-align: right;"
|
||||
title="{{ $filteredFiles->sum('size') }} B"
|
||||
>
|
||||
{{ App\Helpers\StringHelper::formatBytes($filteredFiles->sum('size'), 2) }}
|
||||
</span>
|
||||
@@ -201,10 +192,7 @@
|
||||
<tr>
|
||||
<td>{{ $k + 1 }}</td>
|
||||
<td>{{ $f->name }}</td>
|
||||
<td
|
||||
data-toggle="tooltip"
|
||||
data-placement="left"
|
||||
title="{{ $f->size }} B">{{ $f->getSize() }}</td>
|
||||
<td>{{ $f->getSize() }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user