Added Download file, play for homebrews and ZIP explorer.
This commit is contained in:
@@ -17,10 +17,13 @@
|
||||
<div class="modal-body">
|
||||
<div class="file-list">
|
||||
@forelse( $files as $file )
|
||||
@if( $file->state === 'private' )
|
||||
@continue
|
||||
@endif
|
||||
<div class="file-item">
|
||||
<div class="file-info">
|
||||
<span class="file-name">{{ $file->filename }}</span>
|
||||
<span class="file-meta">{{ $file->filesize }} - {{ $file->download_count }} downloads</span>
|
||||
<span class="file-name">@if($file->state === 'archived')<i data-lucide="archive"></i> @endif{{ $file->filename }}</span>
|
||||
<span class="file-meta">{{ $file->prettyFileSize() }} - {{ $file->download_count }} downloads</span>
|
||||
</div>
|
||||
<div style="display:flex;flex-direction:column;gap:15px;">
|
||||
<a href="{{ route('fs.download', ['entry_id' => $entryId, 'file' => $file->file_uuid] ) }}" class="btn primary"><i data-lucide="download"></i> Download</a>
|
||||
|
||||
Reference in New Issue
Block a user