25 lines
1.0 KiB
PHP
25 lines
1.0 KiB
PHP
@extends('layouts.app')
|
||
@section('title', 'ISO-Upload')
|
||
@section('heading', 'Eigene ISO hochladen')
|
||
|
||
@section('content')
|
||
<div class="hexahost-card mb-6 max-w-xl p-6">
|
||
<p class="mb-4 text-sm opacity-80">Max. {{ config('hosting.iso_upload.max_per_customer') }} ISO, {{ config('hosting.iso_upload.max_size_mb') }} MB, {{ config('hosting.iso_upload.retention_hours') }}h Aufbewahrung.</p>
|
||
<form method="POST" action="{{ route('iso-uploads.store') }}" enctype="multipart/form-data" class="space-y-4">
|
||
@csrf
|
||
<input type="file" name="iso" accept=".iso" required class="w-full text-sm">
|
||
<button class="hexahost-btn-primary px-4 py-2 text-sm">Hochladen</button>
|
||
</form>
|
||
</div>
|
||
<div class="hexahost-card p-6">
|
||
<h2 class="mb-4 font-semibold">Aktive Uploads</h2>
|
||
<ul class="space-y-2 text-sm">
|
||
@forelse($uploads as $u)
|
||
<li>{{ $u->filename }} – läuft ab {{ $u->expires_at->format('d.m.Y H:i') }}</li>
|
||
@empty
|
||
<li class="opacity-60">Keine Uploads.</li>
|
||
@endforelse
|
||
</ul>
|
||
</div>
|
||
@endsection
|