@extends('layouts.admin') @section('title', 'Download assets — '.config('app.name')) @section('page_title', 'Download assets') @section('breadcrumbs') @endsection @section('content')
Add a file

Upload a new file, or register a path that is already in the downloads folder.

@can('content.manage') Media URLs @endcan Path ACL @can('downloads.reports') Activity @endcan
@csrf
@include('admin.partials.file-drop', [ 'id' => 'asset_file', 'name' => 'file', 'required' => false, 'hint' => 'Optional if the file is already on disk', ])
@error('relative_path')
{{ $message }}
@enderror

Use product/version/filename. Choosing a file fills in the filename.

@foreach ($categories as $cat) @endforeach
Download groups @if ($groups->isEmpty())

No groups yet. Path ACL still controls access.

@else
@foreach ($groups as $group) @endforeach
@endif
Library
@forelse ($assets as $asset) @empty @endforelse
Name Path Category Groups Size Status
{{ $asset->displayName() }} {{ $asset->relative_path }} {{ $asset->category ?: '—' }} {{ $asset->groups->pluck('name')->join(', ') ?: '—' }} {{ $asset->humanSize() ?: '—' }} @if (! $asset->is_active) Inactive @elseif ($asset->is_internal) Internal @else Active @endif
No assets. Import with systronics:import-legacy --only=downloads.
{{ $assets->links() }}
@endsection @push('scripts') @endpush