@extends('admin.layouts.app') @section('panel')
@forelse($storages as $k=>$storage) @empty @endforelse
@lang('Name') @lang('Stroge Type') @lang('Available Space') @lang('Status') @lang('Action')
{{ __($storage->name) }} @php echo $storage->storageType; @endphp {{ $storage->available_space }} MB @php echo $storage->statusBadge; @endphp
@php $url = '#'; if (@$storage->type == Status::WASABI_SERVER) { $url = route('admin.storage.wasabi.form', @$storage->id); } elseif (@$storage->type == Status::DIGITAL_OCEAN_SERVER) { $url = route('admin.storage.digital.ocean.form', @$storage->id); } elseif (@$storage->type == Status::FTP_SERVER) { $url = route('admin.storage.ftp.form', @$storage->id); } @endphp @lang('Edit') @if ($storage->status == Status::DISABLE) @else @endif
{{ __($emptyMessage) }}
@endsection @push('breadcrumb-plugins') @endpush @push('script') @endpush