Added XenForo route system and custom menu render.

This commit is contained in:
2026-05-21 13:20:16 +02:00
parent 95f0b4ff01
commit 7cd6dfddda
13 changed files with 310 additions and 14 deletions

View File

@@ -0,0 +1,33 @@
<div class="modal-overlay"
x-data
x-cloak
x-show="$wire.open"
x-transition.opacity
@click.self="$wire.close()"
@keydown.escape.window="$wire.close()"
@modal:opened.window="refreshIcons($el)"
>
<div class="modal-window" x-transition x-show="$wire.open">
<div class="modal-header">
<span class="modal-title">Download files</span>
<button type="button" class="modal-close" @click="$wire.close()">
<i data-lucide="x" size="20"></i>
</button>
</div>
<div class="modal-body">
<div class="file-list">
@forelse( $files as $file )
<div class="file-item">
<div class="file-info">
<span class="file-name">{{ $file->filename }}</span>
<span class="file-meta">{{ $file->filesize }} - 0 downloads</span>
</div>
<a href="{{ route('fs.download', ['entry_id' => $entryId, 'file' => $file->file_uuid] ) }}" class="btn primary"><i data-lucide="download"></i> Download</a>
</div>
@empty
No files found
@endforelse
</div>
</div>
</div>
</div>